Hi,
How would you use the "cms_selflink page" tag for an image link?
Thanks,
{cms_selflink page="Page Alais"} question
-
jelle
Re: {cms_selflink page="Page Alais"} question
Not?
Images live in /uploads/images or whereever you have configured them to reside. Why would you need a selflink for them?
Images live in /uploads/images or whereever you have configured them to reside. Why would you need a selflink for them?
Re: {cms_selflink page="Page Alais"} question
I want to 'hyperlink' to a page when I click on an image:
For example: would bring me to the homepage.
I could put this in the source {cms_selflink page="Home_Page"} to link within CMSMS. But, I want to know how to wrap an image around that 'cms_selflink' tag?
Does that make sense, or is it just again?
For example: would bring me to the homepage.
I could put this in the source {cms_selflink page="Home_Page"} to link within CMSMS. But, I want to know how to wrap an image around that 'cms_selflink' tag?
Does that make sense, or is it just again?
-
jelle
Re: {cms_selflink page="Page Alais"} question
Aha, you want the link to be an image instead of a text.
from the help text:(optional) href - If href is used only the href value is generated (no other parameters possible). Example:
but maybe putting the <img tag in the text will work too, but be sure to use the correct quoting.
from the help text:(optional) href - If href is used only the href value is generated (no other parameters possible). Example:
but maybe putting the <img tag in the text will work too, but be sure to use the correct quoting.
Re: {cms_selflink page="Page Alais"} question
I'm real sorry, I don't understand what you mean?
When I put: , I get this in the address bar of my browser: /%7Bcms_selflink%20href= or some other messed up thing.
After you save the page with the above mentioned anchor tag, it converts it into: or some other messed up thing.

When I put: , I get this in the address bar of my browser: /%7Bcms_selflink%20href= or some other messed up thing.
After you save the page with the above mentioned anchor tag, it converts it into: or some other messed up thing.
-
jelle
Re: {cms_selflink page="Page Alais"} question
ah I see, i read that on svntest, so it will probably be in the next release, but it's not in beta2.
You will have to try the second method, put the img tag in the text='' Or maybe skip the quotes altogether.
You will have to try the second method, put the img tag in the text='' Or maybe skip the quotes altogether.

