| Tutorials Main Latest Tutorials Popular Tutorials Top Rated Tutorials |
| Login to See your Favorite Tutorials |
| Description: There are times when you add an image or flash to your news and they do not show up. Why you asked? Well these html tags are usually not allowed. There is good news however, there is an easy way to add them to the list of allowed html tags. This tutorial will show you how to add any html tag to the allowed list. | |
| Version: 1.0 | |
| Added on: 23 January 2008 | |
| Author: Admin | |
| Difficulty Level: Easy | |
| Views: 765 | |
| Rating: 10.0 (1 Vote) | |
Please note that you should not allow all html since some are dangerous.
Files to edit:
config.php
Steps :
1. Open config.php file and find the following codes:
| Code: |
| $AllowableHTML = array("b"=>1, |
| Code: |
|
"i"=>1, "a"=>2, "em"=>1, "br"=>1, "strong"=>1, |
| Code: |
| <b></b>
<i></i> <u></u> |
| Code: |
| <a href="http://www.yoursite.com" title="my link">
<img src="link to image" border="0" align="left" /> |
| Code: |
|
"img"=>2, "embed"=>2, "class"=>1 |