You are here: English > The Docu > Admin > Replacement Tags > Link Tags

Replacement Tags for Links

{Keyword:article keyword}

Usage:   Creates a link / linklist for a certain article keyword, for example "Tags"
Notation: {KEYWORD:Tags}
Prompt: Tags
Notice: Is the keyword available in more articles, a list will be generated.

See the example:
{KEYWORD:replacement tags}
replacement tags [1|2]
   

 

[LINK_IT] {WONG} {DIGG} {DELICIOUS} {TECHNORATI} {SPURL} {FURL} {YAHOO}[/LINK_IT]

Usage:   Creates links to the bookmark sites Mister Wong, Digg, del.icio.us, Technorati, Spurl, Furl and Yahoo
Notation: [LINK_IT] {WONG} {DIGG} {DELICIOUS}
{TECHNORATI} {SPURL} {FURL} {YAHOO} {GOOGLE} {MAGNOLIA}

{NEWSVINE}
{REDDIT}[/LINK_IT]

Prompt:

Wong It! DiggIt! Del.icio.us TechnoratiFaves Spurl! Furl It Save to Yahoo! My Web Google Bookmark Ma.gnolia Newsvine Reddit
Notice:

This replacement tag is available since version 1.2.9 and the script linkme.php has to be in template/inc_script/frontend_render.

By deleting of several bookmarktags ({WONG} {DIGG} {DELICIOUS} {TECHNORATI} {SPURL} {FURL} {YAHOO} {GOOGLE} {MAGNOLIA}  {NEWSVINE} {REDDIT}) you can decide to which service you want to make a link available.

   

 

[MAIL eMail_Adress] Text [/MAIL]

Use: Opens the visitor's standard email client, and inserts the e-mail adress in the adress field.
Notation: [MAIL [email protected]]send email[/MAIL]
Result: send email
Remark:
 

[MAILSUB eMail_adress subject] Text [/MAILSUB]

Use:  

Opens the visitor's standard email client and inserts the e-mail adress and the subject text in the relevant fields.

Notation: [MAILSUB [email protected] Subject]email and subject[/MAILSUB]
Result: [MAILSUB [email protected] Subject]email and subject[/MAILSUB]
Remark: Function could still not be reproduced!!!
 
 

[TOP] Text [/Top]

Use: Create a link to the top of the Page
Notation: [TOP]Top[/Top]
Result: Top
Alternative: You can also replace the text by an Image an example you see below.

[TOP]{IMAGE:top_link_.gif}[/Top]

{NEW:5}

Use: Create an List with the last new / edited articles of all structures, by editing the number you can choose how many entries the list should have.
Notation: {NEW:5}
Result:
Remark: The last created / edited article will shown at the top of the list.
Configuration: The selection criterion is indicated in the file "conf.template_default.inc.php" as 
$template_default['news']['sort_by']      = 'cdate';
// 'cdate' = Creation date, or 'udate' = update date, ldate = start date, kdate = end date

  • cdate: Creation date
  • udate: Update date
  • ldate: Start date
  • kdate: End date

{NEW:Number_of_Links:ID}

Use:   Create an List with the last new / edited articles of one structure, by editing the number you can choose how many entries the list should have.
Notation: {NEW:5:1}
Result:
Remark: The last edited article will be shown first..
To changet he dateformat please refer this link. Language Settings
Configuration: The selection criterion is indicated in the file "conf.template_default.inc.php" as 
$template_default['news']['sort_by']      = 'cdate';
// 'cdate' = Creation date, or 'udate' = update date, ldate = start date, kdate = end date

  • cdate: Creation date
  • udate: Update date
  • ldate: Start date
  • kdate: End date
 

{RELATED:list_count_:keyword}

Use: Creates an Articletitel list, based on custom keywords. The list count can also be customized.
Notation: {RELATED:5:edit}
Result:
Remark: For this tag you need to setup  a keyword in the article basis information. Please notice thats it's not important if you write it in upper- or lowercase but set every keyword in Asterisk in the article basis information. for example: *edit*

[EXT url] Text [/EXT]

Use: Creates an external link which opens in a new window
Notation: [EXT http://www.phpwcms.de]phpWCMS[/EXT]
Result: phpWCMS
Remark: Link itself is indicated inside opening brackets
 

[INT url] Text [/INT]

Use: Creates an 'internal' link which opens in current browser window
Notation: [INT http://www.phpwcms.de]phpWCMS[/INT]
Result: phpWCMS
Remark:

[ID integer] Text [/ID]

Use: Produces an internal link to a phpwcms article, which is indicated by its article ID.
Notation: [ID 21]Sitemap[/ID]
Result: Sitemap
Remark: The linked article (sitemap) has an article ID of 21 in this example. Article ID's can be retrieved by rolling cursor over the indicated icon in phpwcms article view (see graphic below)

[ID alias] Text [/ID]

Use: Creates an internal link to an 'aliased' site structure entry.
Notation: [ID alias]Text String[/ID]
Result: click here to view system replacement tags
Remark: Aliases are assigned in the admin site structure interface of the phpwcms backend.


Article created: Friday, 6. August 2004
Last Changes: Tuesday, 4. January 2011