Using an image for a 'go back' link, seems simple but how?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Rob_H

Using an image for a 'go back' link, seems simple but how?

Post by Rob_H »

Hi All,

I need to use an image (back.gif) as a 'go back' link. Now I've tried:

{cms_selflink page="home" image="uploads/images/back.gif"}

And I'm getting nothing (nothing appearing where it should). I also saw this (below) on the forum and had a go but the page link is missing:



I must be missing something as this is such a simple thing to do. Can anyone point me in the right direction?

Thanks

Rob
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Using an image for a 'go back' link, seems simple but how?

Post by Dee »

Code: Select all

{cms_selflink page="home" image="uploads/images/back.gif"}
or

Code: Select all

{cms_selflink dir="start" image="uploads/images/back.gif"}
should work (it does overhere).
Rob_H

Re: Using an image for a 'go back' link, seems simple but how?

Post by Rob_H »

Thanks for that. It does work only I chose to use a page alias that does not exist!!! I've been working too hard. Anyway both the methods you describle work great.
Locked

Return to “CMSMS Core”