PDA

View Full Version : how-to allow html on link description


boom
07-30-2006, 04:25 AM
Hey,

Is there a way to allow HTML tags on links description?


Thanks in advance,
Boom

boom
07-30-2006, 04:35 AM
BTW, if you're admin, you can add html in admin control panel, but the page "link details" doesn't recognize any html

Greg
07-30-2006, 06:08 AM
Go to admin panel:

CONFIGS
Page Navigation and Listings
Use esc_tags for link textarea fields enabled disabled

Set "Use esc_tags for link textarea fields" to disabled and it'll work.

boom
07-30-2006, 03:38 PM
Hey Greg, it is dissables, but "description" field doesn't show them

Greg
07-30-2006, 05:57 PM
Hey Greg, it is dissables, but "description" field doesn't show them

I guess some folks are still having that problem. Simon I believe is aware of this. I think it might have something to do with the server their on???
I was going to show you on the demo but the ability to edit links has been disabled due to too many foks screwing with it in the past.

But on my local server it works just fine. I placed this bit of code in the description box:
Description Goes Here: <a href="#">This is a link</a>
<br />
<br />
<table border="1" width="200" bgcolor="#eee">
<tr>
<td>here's a table</td>
</tr>
</table>

And it displays ok.
See attachment below. So that's the best I can tell you.

Loren
07-30-2006, 08:04 PM
I guess some folks are still having that problem. Simon I believe is aware of this. I think it might have something to do with the server their on???
I was going to show you on the demo but the ability to edit links has be disabled due to too many foks screwing with it in the past.

But on my local server it works just fine. I placed this bit of code in the description box:
Description Goes Here: <a href="#">This is a link</a>
<br />
<br />
<table border="1" width="200" bgcolor="#eee">
<tr>
<td>here's a table</td>
</tr>
</table>
And it displays ok.
See attachment below. So that's the best I can tell you.

Greg i think you will find that it's being stripped because it's a security risk, yes in admin okay, you have control, but you don't have control over some nasty hacker like recently been discussed. My advice..not worth it! Don't bother with it, your database and web site more important. Either that or chose to create you directory in such a way that they have to pay first, with members only.

Greg
07-30-2006, 08:42 PM
I agree Loren. :)
This was just for admin side. Not for link submitting.

boom
07-31-2006, 02:28 AM
Greg:

1.-It works with all aditional text-area fields I create but not in the "description field"

2.-It doesnt work for any of them in the "view link details" template: How can I enable HTML in this template?

Vincent Wright
09-08-2006, 06:47 AM
I have just tried it on my local copy of esc -- it worked with esc_tags turned off.

I also tried to suggest a link on your site to check it -- but didn't find the "Suggest Link" link.