Knowledgebase

This article describes the method of changing the templates used to display news articles reached from links in RSS feeds.

In most cases it is possible to change the template of news details pages by changing the default layout under CMS > Design > Site Settings.

If the default site template cant be changed (because it may affect other pages) then it is possible to amend the XSLT used to create the listing page to pass through a reflocid.

The ReflocID is the ID of a reference page form which the news details page will take it’s templates.

<xsl:element name="A">
<xsl:attribute name="href">Default.aspx.LocID-<xsl:value-of select="substring(guid,0,string-length(guid)-40)"/>.RefLocID-0ad00v001004.Lang-EN.htm</xsl:attribute>
<xsl:attribute name="class">news-link</xsl:attribute>
<xsl:attribute name="target">_self</xsl:attribute>
<xsl:attribute name="title"><xsl:value-of select="description"/></xsl:attribute>
<xsl:value-of select="title"/>
</xsl:element>

  - Change the above reflocid 0ad00v001004 to the ID of the page that the templates are to be taken from.

 - It may be neccessary to change the -40 to a different value if too much or too little truncation occurs. In almost all cases -40 is suitable.

 - The locid (location identifier) of a page can be viewed by visiting the page, viewing source, and looking for the string

<meta name="Sitekit_locid" content="08j02600y00q002" />