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

EKM Tag: [ekm:elementname]

This tag is used to output the title of an editable area. The title is defined in the title feild when editing an area.

  • Tag Information
  • Nesting This Tag
Basic Use
To use the tag you must specify the elementreference of the editable area you wish to pull the name from.

[ekm:elementname]elementreference='welcome-area';[/ekm:elementname]
                                
This outputs the following code.
Welcome To my EKM shop
Tag Attributes
Element Reference

Here you must specify the elementreference you set for a specific editable area.

Value
Description
{user defined}
Enter the elementreference of an editable area. For example logo, welcome-area, promo-area-1, etc
Output Start
output_start='<div>';

Specify any HTML to be output before the element title is output.

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

Specify any HTML to be output after the element title is output.

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 must prefix the tag name with nested_ and ensure all singal quotes ' are replaced by double quotes "


[ekm:showdata]
    ...
    output_item='
        [ekm:nested_elementname]elementreference="welcome-area";[/ekm:nested_elementname]
    ';
    ...
[/ekm:showdata]