RocketTheme Joomla Templates
     
Home Joomla! TitleLink TitleLink documentation - Syntax
TitleLink documentation - Syntax PDF Print E-mail
Article Index
TitleLink documentation
Using TitleLink
TitleLink Syntax
TitleLink Examples
Selectors for search-<site>
All Pages

Syntax

TitleLink provides a syntax like follows. The examples use the default settings for prefix and suffix. Parameters in square brackets '' are optional, angle brackets '<' and '>' are obligatory. The vertical bar '|' tells you to choose one of the options linked together. See the examples for a less technical description.

{ln<link/phrase>]}

  • Entries in square brackets are optional.
  • nw: "new window" - open links in a new window
  • op: "keep tag open" - supress the closing "</a>"
  • css-<class>: set a css-class "<class>"
  • search-<selector>: create a link to an external site/search engine
  • append-<to append>: append to the link, useful for anchors like in http://www.example.com/index.php#anchor
  • limitstart-<page>: selects the page of an article with several pages. <page> starts with 1, which would be the first page of the article (index 0)
  • itemid-<id>: appends <id>, when TitleLink wasn't able to get an itemid by Joomla!
  • search: create a link to a site-internal search
  • google/yahoo: create link to a search by the search engine
  • wikipedia: create a search link for the english version of the wikipedia
  • em: "exact match" - disable searching for partial matches
  • rep: "replace title" - if a partial match was found and no <text to display> was given, display the complete title

Debugging

To help you (and me) debugging problems with TitleLink there are some commands available:

  • {ln:enable:false}
    To disable TitleLink in an article, use the command somewhere inside that article.
  • {ln:debug:<phrase and other options>}
    Lets TitleLink show some debug information, if no link could be built.


Last Updated on Sunday, 24 August 2008 10:34
 

Silence

more info...