selectselectselect
Call our Sales Hotline
0844 858 8580
User Guides

Show webpages

ekmTags: [ekm:show_webpages]

This tag will loop through all active web pages and display them. You can also specify a particular group of web pages to be displayed.

Full Tag

[ekm:show_webpages] [/ekm:show_webpages]

Would be displayed as...

  • About Us
  • Contact Us
  • Extra Page 1
  • Extra Page 2
  • Extra Page 3


Example Output (We are on the About Us page)
  • About Us
  • Contact Us
  • Extra Page 1
  • Extra Page 2
  • Extra Page 3

Tag Parameters

orderby
Allows you to specify how your pages are ordered. You can use any of the database field names to order by, and you can use more than one. You can also use ASC (Ascending) and DESC (Descending).

For example: orderby='Title ASC, OrderBy DESC';

Possible Values
auto Uses OrderBy
OrderBy A numeric value which is used to order the item
Title The page title/name


counterstart
Allows you to specify a start for the [counter] value (as used in the output_item parameter).
Possible Values
User Defined A numeric amount (default 1)


counterreset
Allows you to specify a limit for the [counter] value (as used in the output_item parameter). When this limit it hit the counter will reset to counterstart.
Possible Values
user defined A numeric amount (default 10000)


groups
Allows you to specify which group or groups (comma separated e.g. 1,2,6) will be displayed.
Possible Values
auto
user defined The ID's of the groups that you wish to display.


output_start
This is output at the start of the tag before any page data is shown. You can use it to open a div for example.
Possible Values
auto
user defined Any HTML Code or Plain Text


output_item
This is the default output for each item.
Possible Values
auto
<li>[link]</li>
user defined You can use any HTML or plain text code.

You can use the following tags to create the output_item...


[id]

Outputs the Pages ID.

[counter]

Counts up from the counterstart value.

[first]

Will output the counterstart value.

[last]

Will output the total number of web pages 
to be displayed.

[group_id]

Will output the ID of the group the page 
is associated with.

[group]

Will output the group name that the 
page is associated with.

[page_title]

Outputs the name of the page.

[url]

Outputs the SEO friendly URL to the page.

[link]

Outputs a link to the page with the 
page_title as the text.         

Note: You do not need to close 'non-EKM:' tags.


output_item_alternate
This is the same as the output_item, but will display every alternate page. Its primary use is for doing alternating colours in your page names.
Possible Values
auto
<li>[link]</li>
user defined Any HTML Code/Plain Text or tags from output_item


« Back