Speak to our experts today 0333 004 0333
Speak to one of our experts today
User Guides

EKM Tag: [ekm:incategorydescription]

This tag is used to output an editable area unique to each category. You can place images and text within the "in category description" like you would with an editable area.

The "in category description" is different from the "category description" in that the "in category description" is only visible within a category page and the "category description" is only viewable within a showdata and is typically much shorter.

This tag must be placed within the category page template in order to work.

  • Tag Information
  • Nesting This Tag
Basic Use
This tag must be placed on the category page in order to work. You can edit this area when in "View Shop" mode.

[ekm:incategorydescription][/ekm:incategorydescription]
                                
Full Use
This tag must be placed on the category page in order to work. You can edit this area when in "View Shop" mode.

[ekm:incategorydescription]
  output_start='<div>';
  output_end='</div>';
[/ekm:incategorydescription]
                                
Tag Attributes
Output Start
output_start='<div>';

Specify any HTML to be output before the in-category description.

Value
Description
{user defined}
Define any opening HTML or Text.
Output End
output_end='</div>';

Specify any HTML to be output after the in-category description.

Value
Description
{user defined}
Define any HTML or Text.

The EKM system allows for some tags to be nested within other tags.

Nesting This Tag

When nesting this tag you do not need to adjust the tag.


[ekm:if]
    ...
    ifvalue='[ekm:incategorydescription][/ekm:incategorydescription]';
    ...
[/ekm:if]
                                
Hiding Surrounding HTML When Empty

You may want to nest this tag to hide HTML that would typically surround the in category description when it is empty.


[ekm:if]
    iftype='EQUALS';
    ifvalue='[ekm:incategorydescription][/ekm:incategorydescription]';
    ifvalue2='';
    ifthen='This is empty';
    ifelse='<div id="incategory-description">[ekm:incategorydescription][/ekm:incategorydescription]</div>';
[/ekm:if]