Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.0
Author Message
shrug
New Member
New Member



Joined: Jul 24, 2006
Posts: 12

PostPosted: Thu May 17, 2007 7:41 am Reply with quote

Hi. I have a problem with 8.0
When I was using 7.9 I had html code in my admin messages and news stories to add photos to them.
8.0 seems to strip out all of my html code. As a consequence I have had to put my last two sites back to 7.9

Any ideas?

Thank you
 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Thu May 17, 2007 7:46 am Reply with quote

You need to allow the img tag ('img' => 2) in your AllowableHtml array in config.php. Use the search function for AllowableHTML here if you need more info.

_________________
GCalendar - An Event Calendar for PHP-Nuke
Member_Map - A Google Maps Nuke Module 
View user's profile Send private message
shrug







PostPosted: Thu May 17, 2007 8:03 am Reply with quote

Many thanks. That did the trick. It is very inconvenient and difficult to find!
 
shrug







PostPosted: Thu May 17, 2007 9:49 am Reply with quote

Is there a way to have it not strip any html code like in 7.8?
 
Gremmie







PostPosted: Thu May 17, 2007 11:37 am Reply with quote

7.8, AFAIK, has the same mechanisim as 8.0 for stripping HTML....it is that AllowableHTML array. You have to put the tags you don't want stripped into it.
 
shrug







PostPosted: Thu May 17, 2007 11:42 am Reply with quote

OK, I now see that line in my config.php however I have not changed it and it still allows tables, images, etc., with all of the attributes.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.0

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©