Displaying html comments in Symphony

Jan202007 12:22AM — John

Recently I’ve been messing with Symphony, a really great CMS, but it strips comments out of your output, so it makes “IE Only” code impossible to add. The solution? <xsl:comment> and <![CDATA[]]>, so you would do something like this…

<xsl:comment>[if IE 6]><![CDATA[<link rel="stylesheet" type="text/css" href="css/ie6.css" /><![endif]]]></xsl:comment>

Advertising
TragicallyNull is looking for guest authors. Click here for details.

Recent Comments

john

Jesus christ man thanks. i think i fixed my problem. i would never ever think about nod32 could cause that stupid error thing..

joal

genious!

twinkiewonder

Thanks!

Kakaniania

Thanks man,you are the best!

dodo

thx man!!!!!!!!!!

Muthu

dude….wat can i say abt u…..u the best…holy crap i was scrwd up with this shit and finally ur idea made me sleep well……thnx a bunch dude...

dv

Well, now I have audio – still no joy for video… : {

Ady

YESSSSSSSSSSSSSSSSSSSSSS THANK YOUUUUUUUUUU!!!!!!!!!!!

PemaDyday

I’m the only one in this world. Can please someone join me in this life? Or maybe death…

Dan

man, thanx a LOT, been having this problem for about 6 months No one else has the solution. Really appreciate it.

caniveteproducoes.com
Advertising