Page 1 of 1

cms_selflink dir='previous' with images (Solved)

Posted: Sun Aug 07, 2011 12:05 pm
by Sepp
Hi
I'm trying to ad a selflink with an image as link.
No matter what I try, the linktext is still visible.

My tag loks like this:

{cms_selflink dir='previous' image='uploads/images/images/prev.png' text='prev' imageonly=1}

cmsms help says with "imageonly=1" only the image is visible. But that is not true. Does anyone know where the fault is?

thanks

Re: cms_selflink dir='previous' with images

Posted: Sun Aug 07, 2011 1:58 pm
by Coldman
What linktext? Do you mean "Previous Page"?

I did a test with

Code: Select all

{cms_selflink dir='previous' image='uploads/images/images/prev.png' text='prev' imageonly=1}
And it ended up like "Previous Page: IMAGE"

If you don't want "Previous Page" to show just add label='' in your tag.

Re: cms_selflink dir='previous' with images

Posted: Sun Aug 07, 2011 2:06 pm
by Sepp
Cool this work

But what about the tag lang=0 this should also prevent cmsms from showing "Previous Page" ?

but thanks anyway.