cms_selflink dir='previous' with images (Solved)

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Sepp
Forum Members
Forum Members
Posts: 38
Joined: Thu Jan 28, 2010 2:43 pm

cms_selflink dir='previous' with images (Solved)

Post 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
Last edited by Sepp on Sun Aug 07, 2011 2:07 pm, edited 1 time in total.
Coldman
Power Poster
Power Poster
Posts: 318
Joined: Sun Jun 22, 2008 5:33 am

Re: cms_selflink dir='previous' with images

Post 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.
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
Sepp
Forum Members
Forum Members
Posts: 38
Joined: Thu Jan 28, 2010 2:43 pm

Re: cms_selflink dir='previous' with images

Post by Sepp »

Cool this work

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

but thanks anyway.
Post Reply

Return to “Layout and Design (CSS & HTML)”