PDA

View Full Version : HTML in gallery description?


Alex Souvorov
Nov-30-2007, 07:13 PM
Hi folks!
I'm new to smugmug and I'm trying to figure out how things work.

I tried to put some links into the gallery description. Looking into the resulting code I see that the system double wraps the href HTML tags. For example the line that contains a normal HTML link results in what you can see here (http://alexsouvorov.smugmug.com/gallery/3911154/1/) .

Is there any way to turn off this "smart" behavior and make the system use old plain HTML?

Thanks,
Alex

jfriend
Nov-30-2007, 07:20 PM
Hi folks!
I'm new to smugmug and I'm trying to figure out how things work.

I tried to put some links into the gallery description. Looking into the resulting code I see that the system double wraps the href HTML tags. For example the line that contains a normal HTML link results in what you can see here (http://alexsouvorov.smugmug.com/gallery/3911154/1/) .

Is there any way to turn off this "smart" behavior and make the system use old plain HTML?

Thanks,
Alex

Wrap your own HTML in the description with <*html> and <*/html> (without the asterisks which are here so dgrin will not interpret them as HTML tags). That tells Smugmug not to be smart and to leave your HTML as is. If the first thing in the description is the <*html> tag, Smugmug will just pass the description through into your page as HTML. You will then be responsible for everything including line breaks, links, etc...

Allen
Nov-30-2007, 07:23 PM
Hi folks!
I'm new to smugmug and I'm trying to figure out how things work.

I tried to put some links into the gallery description. Looking into the resulting code I see that the system double wraps the href HTML tags. For example the line that contains a normal HTML link results in what you can see here (http://alexsouvorov.smugmug.com/gallery/3911154/1/) .

Is there any way to turn off this "smart" behavior and make the system use old plain HTML?

Thanks,
Alex Try this

<html>
<i><b>Susanna</b></i>: <a href="http://www.belcantanti.com/staff/index.htm#megan">Meghan McCall</a>
</html>

Alex Souvorov
Nov-30-2007, 07:43 PM
Thanks jjfriend (http://www.dgrin.com/member.php?u=2140) and Allen! It works!

Alex