Campsite 2.3 User Guide

Campsite 2.3 User Guide

Select your language:  
    Search:   
<2.2.8. New Template Statements and "Short Name" URLs        2.2.8.2. Creating a Link to a Template>

Print / Download:
Available languages: english Last update: 2005-10-12 17:26:58

2.2.8.1. Creating Links to Issues, Sections, etc.

Use language, publication, issue, section and article arguments in order to specify the scope of the link. Suppose we are in the article template and we want to return to the last issue, current issue, section or article page.

<a href=”<!** URI language>”>text</a>

will display: <a href=”/en”>text</a>; this will redirect us to the last published issue page.


<a href=”<!** URI publication>”>text</a>

will display: <a href=”/en”>text</a>; this will redirect us to the last published issue page.

Publication argument has the same effect as language because short name URLs do not have the publication parameter in the URI. Instead, the publication is identified by the site name.


<a href=”<!** URI issue>”>text</a>

will display: <a href=”/en/may30”>text</a>; this will take us to the current issue page.


<a href=”<!** URI section>”>text</a>

will display: <a href=”/en/may30/news”>text</a>; this will take us to the current section page.


<a href=”<!** URI article>”>text</a>

will display: <a href=”/en/may30/summer_is_coming”>text</a>; this will take us to the current article page.

Language, publication, issue, section and article arguments cannot be combined.


add a note add a note User Contributed Notes
2.2.8.1. Creating Links to Issues, Sections, etc.
There are no user contributed notes for this page.

<2.2.8. New Template Statements and "Short Name" URLs 2.2.8.2. Creating a Link to a Template>

  Last update: 2005-10-12 17:26:58
Website powered by Docmint Last update: 2005-10-12 17:26:58
Total page time: 0.713689088821