Posted on: 06/22/03 04:31pm
By: mikesee
I would like to be able to allow html when adding Links using the Link editor. What files do I need to modify to set this up and what code do I need to modify. I'm thinking it's the submit.php file but am not entirely sure. I would like to give it the same filtered html that is allowed for story submissions.
PS I'm using htmlarea and in it's installation notes it talks about adding htmlarea to the Link Editor which I set up according to the note and it just doesn't work as compared to htmlarea which I've also set up for story submission.
Link Editor Allowing HTML
Posted on: 06/24/03 03:01am
By: Robin
Try:
submit/submitlink.thtml
and
admin/link/linkeditor.thtml
Link Editor Allowing HTML
Posted on: 06/24/03 03:55am
By: Anonymous (Anonymous)
Thanks Robin;
I've added the htmlarea code to both of those files and it still isn't working. Yet I have also added the same code to the submit stories editstories php files and it works flawlessly. When I go to the editlink page and type in html manually it also seems to fail which is why I'm wondering if html is somehow disabled by default in the links section for the description area or what to look for if it is supposed to be turned on. I also think it's disabled because the allowed html codes that usually show up at the bottom of the textarea are also not there.
Michael
Link Editor Allowing HTML
Posted on: 06/24/03 06:09am
By: Dirk
HTML is not allowed in link submissions, hence it is being stripped out. Look for strip_tags() calls in submit.php.
bye, Dirk