![]() |
How to display HTML code on the site...
I'm adding in a "link to us" page using a new .tpl file of my own and I want to show html code that somebody can copy & paste into their source code. The problem is that the smarty .tpl file is just displaying the code as though it were code that I was putting in as a link.
So instead of this: Blah Blah Blah.com I get: Blah Blah Blah.com I tried making a language label for it, but that didn't work. I'm sure this is easy and I'm overlooking the obvious because it's late. Any suggestions? Thanks, Cameron |
is this not usualy done by displaying a text area with the code in there for them to copy
|
Ahhh, a text area... Good call. :-)
As I drifted off to sleep last night at 3am, that thought passed through so I'm glad you wrote and told me. Thanks, Cameron |
Or, you can try this:
<a href="www.blahblahblah.com">Blah Blah Blah.com</a> Slap that in your HTML Code and then look at it in your Browser. Some HTML Symbol Codes: < < > > " " & & So if you wanted it to say http://page.com/image.gif Then you would do: <img src="http://page.com/image.gif"> |
All times are GMT -8. The time now is 10:59 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.