You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
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 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
darren1234
Private
Private


Joined: Nov 12, 2006
Posts: 39


PostPosted: Sat Nov 11, 2006 4:41 pm Reply with quoteBack to top

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.

Image

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
Find all posts by darren1234View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12383


PostPosted: Sun Nov 12, 2006 1:33 pm Reply with quoteBack to top

Make sure the IMG tag is allowed in your config.php

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
darren1234
Private
Private


Joined: Nov 12, 2006
Posts: 39


PostPosted: Sun Nov 12, 2006 1:56 pm Reply with quoteBack to top

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);
Find all posts by darren1234View user's profileSend private message
darren1234
Private
Private


Joined: Nov 12, 2006
Posts: 39


PostPosted: Sun Nov 12, 2006 2:42 pm Reply with quoteBack to top

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 Smile
Find all posts by darren1234View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12383


PostPosted: Sun Nov 12, 2006 7:11 pm Reply with quoteBack to top

Just for reference,

2 - w/ attributes (IMG SRC="link")
1 - w/o attributes (IMG only)

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.362 Seconds - 268 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::