Site Navigation Tags · 28.03.04
Under this epigraph we have some tags which make possible to quickly jump from one web section to another.
The <txp:category_list /> tag
Outputs a list of site categories.
Can takes the common attributes wraptag, label and break.
The <txp:section_list /> tag
Outputs a list of site sections.
Can takes the common attributes wraptag, label and break.
Until γ1.17b this option is not show on the TXP TAGBUILDER ASSISTANT.
Link to your home page.
You can use the tag <txp:link_to_home>Home</txp:link_to_home> to place a link to your home page enywhere on your pages. Of course, you can replace “Home” with the text or XHTML you want to show inside the link; for example, an image with your site logo, or the <txp:sitename /> tag, which will be replaced for your site name as it was set on “Admin>Preferences”.
The <txp:popup /> tag
This tag allow us to display a XHTML select, offering our site users the possibility to quickly jump to a section or category specific page. Appart of the common attributes label and wraptag, this tag takes the attribute type which can has one of the values “c” or “s”, in function of we want to show a select of site categories, or another one of site sections.
The <txp:recent_articles /> tag
As it name indicates, this tags allow us to show a list of recent articles, with some attributes which allow customization.
Apart of the common attributes label, limit, break and wraptag, this tag can also takes the attributes category, sortby and sortdir with exactly the same significance they take for the <txp:article_custom /> tag.
The <txp:recent_comments /> tag
A tag to list your site recent comments.
This tag can takes as attributes the 4 described on the common attributes section.
The <txp:related_articles /> tag
A tag to list articles related to the current one, it’s to say, articles belonging to one of our current article categories.
This tag can also takes as attributes the 4 described on the common attributes section.
The <txp:search_input /> tag
This tag offer us a fast way to place a Search Button anywhere on our page. It can also take the common attributes label and wraptag, and two special new ones:
- button: the text to place on the search button.
- size: the search input field size.
* * *

Observations?
commenting closed for this article