Page 1 of 1

cms_selflink dir=prev remove "Previous page" notice

Posted: Wed Aug 29, 2007 12:11 pm
by Sofia1
Does anybody know where I can remove the "previous page" notice from the cms_selflink dir="prev" which appears?
Thanks,
Phil

Re: cms_selflink dir=prev remove "Previous page" notice

Posted: Wed Aug 29, 2007 12:17 pm
by RonnyK
Phil,

that is coming from the translation of the variable. In the template, it states:

Code: Select all

         {* Start relational links *}
	 <div class="hr"></div>
	 <div class="right49">
	 	<p>{anchor anchor='main' text='^ Top'}</p>
	 </div>
         <div class="left49">
            <p>{cms_selflink dir="previous" label="Previous page: "} <br />
            {cms_selflink dir="next"}</p>
         </div>
         {* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
	 {* End relational links *}
So if you want a different label there, you can give another text, to the label="XXXX". If you don't want the links at all, you can delete the relational links area at all.

Ronny