EKM Tag: [ekm:element]
This tag is used to output the title of an editable area. The title is defined in the title field when editing an area.
- Tag Information
- Nesting This Tag
[ekm:element]element_reference='welcome-area';[/ekm:element]
[ekm:element]
show='yes';
allowed_types='text,html';
element_reference='welcome-area';
edit_button='YES';
output_start='<div id="welcome-area"><header>[element_name]</header>';
output_end='</div>';
element_name_default='Welcome To my EKM shop';
output_default='Here is some welcome text about my EKM shop.';
[/ekm:element]
show='yes';
Specify whether, by default, the element should be set to show. If set to no the shop owner will need to turn on the element before it is visible to shop vistors.
allowed_types='text,html';
Specify the types of element interfaces that this element can be switched between.
image_width
, image_height
, image_recommended_width
and image_recommended_height
.image_width
, image_height
, image_recommended_width
and image_recommended_height
.image_width='100';
Sets the maximum width of an image when the element type is set to image.
200
which will resize images to 200px
wide.image_height='100';
Sets the maximum height of an image when the element type is set to image.
200
which will resize images to 200px
high.image_recommended_width='100';
Sets the suggested width of an image to be used in this element. This is presented in the interface but not enforced.
image_recommended_height='100';
Sets the suggested height of an image to be used in this element. This is presented in the interface but not enforced.
element_reference='welcome-area';
Specify a unique editable area reference. This will act as the ID for a specify editable area. You may also use the same ID if you wish the editable area to appear twice on a page.
logo
, welcome-area
, promo-area-1
, etc Refrain from using spaces, symbols or foreign characters.
edit_buttons='yes';
Select whether or not you wish edit buttons to display for this editable area. This can be useful if you have an editable area on a page more than once but you do not want multiple edit buttons.
output_start='<div id="welcome-area"><header>[element_name]</header>';
Define any HTML you want to surround the editable area. You can also include the [element_name]
attribute tag which allows you output the element name.
These are the attribute tags you can use within this attribute.
output_end='</div>';
Define any closing HTML tags that were opened within the output_start
attribute.
output_start
attribute.element_name_default='Welcome To my EKM shop';
When you insert an editable area into your code you can specify the content of this element without having to use the WYSIWYG editor. This is most commonly used in custom designs or templates to define content easily which will later be changed by the shop owner.
Here you can define the default name of the editable area.
output_default='Here is some welcome text about my EKM shop.';
When you insert an editable area into your code you can specify the content of this element without having to use the WYSIWYG editor. This is most commonly used in custom designs or templates to define content easily which will later be changed by the shop owner.
Here you can define the default contents of the editable area.
product='ekmpowershop, ekmsitebuilder';
Specify whether the element will output for EKM or ekmSitebuilder or both. This allows you to specify shop related elements if the account is EKM or generic site related content if the account is an ekmSitebuilder. By default the element will output for both.
The EKM system allows for some tags to be nested within other tags.
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_element]element_reference="welcome-area";[/ekm:nested_element]
';
...
[/ekm:showdata]