Page 1 of 1

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

Posted: Thu Nov 08, 2007 4:43 pm
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.

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

Posted: Thu Nov 08, 2007 6:23 pm
by cyberman
There are existing tags name valid_xhtml and valid_css which will do that :).

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

Posted: Fri Nov 09, 2007 9:35 am
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. :)

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

Posted: Fri Nov 09, 2007 9:47 am
by cyberman
Please look at tag help -  tags have a text mode too :).

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

Posted: Fri Nov 09, 2007 10:58 am
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.