- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 58 guest(s) and 2 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Help with website [ ]
Author
Message
darren1234
Private
Joined: Nov 12, 2006
Posts: 39
Posted:
Sat Nov 11, 2006 4:41 pm
Hi wondered if someone could help me.
Im just opening a new PC hardware review site and needed some help with a small problem i have.
Im trying to create a new navigation block (by going to admin - blocks - add a new block)
this all works fine until i want to add an image alongside each link (e.g home, reviews etc)
when i edit the html and hit update i see a preview of what the block should look like.
when i hit the create button the block is there with all the links but no images - take a look (top left hand side)
http://www.pcfrags.com
heres the code that appears in the edit html source box:
Code:
<div align="left"><img src="themes/Creation/images/home2.gif" border="0" /> <a href="index.php">Home</a><a href="index.php"> <br />
</a><img src="themes/Creation/images/reviews2.gif" border="0" /><a href="reviews.html">Reviews</a><a href="index.php"><br />
</a><img src="themes/Creation/images/smallforums.gif" border="0" /><a href="modules.php?name=Forums">Forums</a><a href="index.php"><br />
</a><img src="themes/Creation/images/download.gif" border="0" /><a href="modules.php?name=Downloads">Downloads</a><a href="index.php"><br />
</a><img src="themes/Creation/images/submitnews.gif" border="0" /><a href="submit.html">Submit News</a><a href="index.php"><br />
</a><img src="themes/Creation/images/email.gif" border="0" /><a href="modules.php?name=Feedback">Contact Us</a><a href="index.php"><br />
</a><a href="index.php"><br />
</a></div>
any help would be greatly apreciated
thanks
Evaders99
Site Admin
Joined: Aug 17, 2003
Posts: 12383
Posted:
Sun Nov 12, 2006 1:33 pm
darren1234
Private
Joined: Nov 12, 2006
Posts: 39
Posted:
Sun Nov 12, 2006 1:56 pm
thanks for the reply.
ive checked the config.php and wanted to know in allowedhtml tags what does 1 stand for? and number 2?
1 = yes
2 = no?
or the other way around
also in my config.php there is no img tag in allowed html tags.
here is my config.php:
Code:
// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING
$prefix = empty($user_prefix) ? $prefix : $user_prefix;
$reasons = array("As Is","Offtopic","Flamebait","Troll","Redundant","Insighful","Interesting","Informative","Funny","Overrated","Underrated");
$badreasons = 4;
$AllowableHTML = array("b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);
darren1234
Private
Joined: Nov 12, 2006
Posts: 39
Posted:
Sun Nov 12, 2006 2:42 pm
Never mind - problem solved
i went to yourcodes.com and used their block creator and just inputted all the code from above - and it now works
thanks for your help anyways
Evaders99
Site Admin
Joined: Aug 17, 2003
Posts: 12383
Posted:
Sun Nov 12, 2006 7:11 pm
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