[Solved] Is there a tag for the url of the current page?

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
Deak

[Solved] Is there a tag for the url of the current page?

Post by Deak »

Just what it says in the subject, really. I want to create a link at the foot of the current page to feed through to the W3C validator, appending the exact page location to the validator's page.

Thanks in advance.
Last edited by Deak on Fri Nov 09, 2007 10:58 am, edited 1 time in total.
cyberman

Re: Is there a tag for the url of the current page?

Post by cyberman »

There are existing tags name valid_xhtml and valid_css which will do that :).
Deak

Re: Is there a tag for the url of the current page?

Post by Deak »

That's very neat, thanks.

However... what I was hoping to do was create links just from the text "XHTML" and "CSS", so I'm after a code like:

XHTML

The W3C logos are quite horrible against my site's design. :)
Last edited by Deak on Fri Nov 09, 2007 9:37 am, edited 1 time in total.
cyberman

Re: Is there a tag for the url of the current page?

Post by cyberman »

Please look at tag help -  tags have a text mode too :).
Deak

[Solved] Re: Is there a tag for the url of the current page?

Post by Deak »

Superb, I'm really liking CMSMS! Inside the system I went to Extensions | Tags and found what I needed.

Here's how I did it:

{valid_xhtml image='false' text='XHTML'} | {valid_css image='false' text='CSS'}

Thanks a lot.
Locked

Return to “CMSMS Core”