| Author |
Message |
shrug New Member


Joined: Jul 24, 2006 Posts: 12
|
Posted:
Thu May 17, 2007 7:41 am |
|
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 |
|
|
|
 |
Gremmie Moderator

Joined: Apr 06, 2006 Posts: 2368 Location: Iowa, USA
|
Posted:
Thu May 17, 2007 7:46 am |
|
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. |
|
|
|
 |
shrug New Member


Joined: Jul 24, 2006 Posts: 12
|
Posted:
Thu May 17, 2007 8:03 am |
|
Many thanks. That did the trick. It is very inconvenient and difficult to find! |
|
|
|
 |
shrug New Member


Joined: Jul 24, 2006 Posts: 12
|
Posted:
Thu May 17, 2007 9:49 am |
|
Is there a way to have it not strip any html code like in 7.8? |
|
|
|
 |
Gremmie Moderator

Joined: Apr 06, 2006 Posts: 2368 Location: Iowa, USA
|
Posted:
Thu May 17, 2007 11:37 am |
|
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 New Member


Joined: Jul 24, 2006 Posts: 12
|
Posted:
Thu May 17, 2007 11:42 am |
|
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. |
|
|
|
 |
|
|
|
|