Hi,
would it be possible to make a link like {cms_selflink dir="previous" label="Previous page: "} only with an image.
i have a small arrow gif i'd like to use for this purpose. If not an image would it be possible to do with just a >>> or simmilar?
[SOLVED] selflink with image
[SOLVED] selflink with image
Last edited by volcanoboy on Mon Mar 10, 2008 2:56 pm, edited 1 time in total.
Re: selflink with image
It’s all explained in the “Tags” section of your admin panel ("Extensions > Tags > cms_selflink").
You have two options: Create a regular link and put the selflink in the href as reference only
Or you can actually create an image link:
And if you want arrows as text replacement you can use HTML entities. Either > (= greater than ">") or < (= lower than "<"), or »/› (= right (single) angle quote "»") or «/‹ (= left (single) angle quote "«") – although these are actually quotes and it would probably be semantically incorrect to use them as arrows.
You have two options: Create a regular link and put the selflink in the href as reference only
Code: Select all
<a href="{cms_selflink href='page'}"><img src="…" /></a>
Code: Select all
{cms_selflink dir="next" image="next.png" text="Next" imageonly="1"}
Last edited by 10010110 on Mon Mar 10, 2008 12:35 pm, edited 1 time in total.
Re: selflink with image
ah..thanks alot. This did exactly what i needed 

Code: Select all
{cms_selflink dir="next" image="uploads/myimage.gif" text="Next" lang="0" imageonly="1"}