EKM Tag: [ekm:siteusername]
The ekm:siteusername
tag is used to output your EKM username within your site. This is typically used most often within file paths to your images and scripts. Using this tag makes your websites design much more transferable should you wish to have your design copied to another account.
This is a very popular tag with the ekmWebDesign team as it allows them to replace all instances of a username with this tag, then when the design is ready to placed live on a customers shop no changes need to be made to the code, making the process as smooth and problem free as possible.
- Tag Information
- Nesting This Tag
[ekm:siteusername][/ekm:siteusername]
<img src="/ekmps/shops/[ekm:siteusername][/ekm:siteusername]/resources/Design/my-ziiiro-watch-shop-logo.png"/>
The EKM system allows for some tags to be nested within other tags.
When nesting this tag you do not need to make any changes to it. It can be inserted into other tags like below.
[ekm:element]
element_reference='promo-area-1-180';
output_default='
<img src="/ekmps/shops/[ekm:siteusername][/ekm:siteusername]/resources/Design/my-ziiiro-watch-shop-logo.png"/>
';
[/ekm:element]