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

EKM Tag: [ekm:social]

This tag is used to output social widgets on your website.

This tag requires the social plugins feature to be installed before it will work.

  • Tag Information
  • Nesting This Tag
Basic Use
In its basic use the social tag will simply output all widgets configured for the default group.

[ekm:social][/ekm:social]
                                
This would output something like...
Advanced Use
The advanced use of the tag allows you to specify HTML and Text to be output in and around the widgets.

[ekm:social]
    name='default';
    output_start='<div id="socialw">';
    output_widget_start='<div>';
    output_widget_end='</div>';
    output_end='</div>';
[/ekm:social]
                                
This would output something like...
Tag Attributes
Name
name='default';

Specify the name of either the default or product page groups. The product page group will output widgets specifically for sharing a product whereas the default would be used to like a general page.

Value
Description
default
The default predefined group will be used.
product page
A group to be used on a product page.
Output Start
output_start='<div id="socialw">';

Define any HTML you wish to be output before the widgets. This will only output if there are widgets to output.

Value
Description
{user defined}
Define any opening HTML or Titles to go before the widgets.
Widget Start
output_widget_start='<div>';

Define any HTML you wish to be output at the start of each widget.

Value
Description
{user defined}
Define any opening HTML or Titles to go before each widget.
Widget End
output_widget_end='</div>';

Define any HTML you wish to be output after each widget.

Value
Description
{user defined}
Define any closing HTML to go after each widget.
Output End
output_end='</div>';

Define any HTML you wish to be output after all widgets have been output.

Value
Description
{user defined}
Define any closing HTML to be displayed after all widgets are output.

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 make any alterations.


[ekm:if]
    iftype='EQUALS';
    ifvalue='1';
    ifvalue2='1';
    ifthen='[ekm:social][/ekm:social]';
    ifelse='';
[/ekm:if]