dotCMS - Open Source Content Management System, Ondemand CMS, and Professional Support

Document Search

Article Information

Tags: Permanent Link Trackback macros
Updated: 9/19/2008 1:19:42 PM
By: Dean Gonzalez
Doc id: 153298
Print Page: Export to PDF

Permanent Link Trackback

This macro create the RDF tracback reference in the page for a permanent link to a file, page or contentlet in the case of the contentlet it check if receive a parameter called "permalinkDetailPage" that is the inode or identifier of the content page detail. If not, check if the struture have a page default or return to the same page adding the parameter

Macro Overview:

Syntax:

#trackback(identifier)

Arguments:

  • identifier
    This is the identifier or inode of the file, page or contentlet, you want to create the RDF reference.
  • Optional Parameters:
  • permalinkDetailPage (velocity variable not a parameter)
    This is the identifier of the page that display the contentlet or inode of the file, page or contentlet, you want to create the link.

Optional Parameters:


Usage:


Examples:

Example 1: A simple example using the required fields

#trackback('12345')



Post a Comment


Add Comments

   

 
Post