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, 330 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - html <map> in Content Module [ ]
 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
yoip27
Nuke Cadet
Nuke Cadet


Joined: Aug 04, 2007
Posts: 8


PostPosted: Mon Jan 21, 2008 10:15 am Reply with quoteBack to top

I'm not sure if this is the appropriate forum but this is a pretty basic problem that I just can't seem to figure out.

I'm trying to set up a standard html image map in the content module. So far I have added "map"=>2 to my allowableHTML and also in my searches someone mentioned to turn off editor by placing $nuke_editor= 0; in the config so I did that but didn't see any change.

This is what I put in:
Code:
<table width="100%" border="0">
  <tr>
    <td><div align="center"><img src="http://www.chaoswarhost.com/images/conflictmap.jpg" width="760" height="520" border="0" usemap="#Map"></div></td>
  </tr>
</table>


<map name="Map"><area shape="rect" coords="43,131,148,198" href="http://www.warhammeronline.com/english/gameInfo/zoneOverviews/Nordland/NordlandOverview.php" target="_blank" alt="nordland information">
<area shape="rect" coords="225,128,320,199" href="http://www.warhammeronline.com/english/gameInfo/zoneOverviews/Ostland/OstlandOverview.php" target="_blank" alt="Ostland information">
<area shape="rect" coords="376,128,509,208" href="http://www.warhammeronline.com/english/gameInfo/zoneOverviews/Talabecland/TalabeclandOverview.php" target="_blank" alt="Talabecland information">
<area shape="rect" coords="592,20,732,73" href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=16" target="_self" alt="Altdorf information">
<area shape="rect" coords="579,108,749,174" href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=15" target="_self" alt="Reikland Information">
<area shape="rect" coords="571,239,725,298" href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=10" target="_self" alt="Praag Information">
<area shape="rect" coords="586,376,729,434" href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=18" target="_self" alt="Chaos Wastes Information">
<area shape="rect" coords="580,458,750,516" href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=17" target="_self" alt="Inevitable City Information">
<area shape="rect" coords="387,321,512,409" href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=9" target="_self" alt="High Pass Information">
<area shape="rect" coords="205,330,348,402" href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=8" target="_self" alt="Troll Country Information">
<area shape="rect" coords="48,321,147,405" href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=7" target="_self" alt="Norsca Information">
</map>


And this is what comes out:
Code:

<table width="100%" border="0">
 
<tr>
   
<td><div align="center"><img width="760" height="520" border="0" src="images/conflictmap.jpg" /></div></td>
  </tr>
</table>


Obviously it is cutting everything about the <map> out. If you could let me know how to fix this please reply. I hoping since it's the holiday more people will be around to answer this simple question!

Edit: After some more work and putting define('NO_EDITOR', true); in my content index.php file I am now getting out
Code:
<table width="100%" border="0">
  <tr>
    <td><div align="center"><img src="http://www.chaoswarhost.com/images/conflictmap.jpg" width="760" height="520" border="0" usemap="#Conflict"></div></td>
  </tr>
</table>


<map name="Conflict"><a href="http://www.warhammeronline.com/english/gameInfo/zoneOverviews/Nordland/NordlandOverview.php">
<a href="http://www.warhammeronline.com/english/gameInfo/zoneOverviews/Ostland/OstlandOverview.php">
<a href="http://www.warhammeronline.com/english/gameInfo/zoneOverviews/Talabecland/TalabeclandOverview.php">
<a href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=16">
<a href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=15">
<a href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=10">
<a href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=18">
<a href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=17">
<a href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=9">
<a href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=8">
<a href="http://www.chaoswarhost.com/modules.php?name=Content&pa=showpage&pid=7">
</map>


It looks like it is accepting map now but I'm not sure how to get the map variables working such as shape and area. Tried adding "area"=>2 but no luck. Still working on it please post if you have any ideas or solutions!
Find all posts by yoip27View user's profileSend private message
yoip27
Nuke Cadet
Nuke Cadet


Joined: Aug 04, 2007
Posts: 8


PostPosted: Thu Jan 24, 2008 4:37 pm Reply with quoteBack to top

I'm still not having any luck with <area> going through. If anyone wants to pitch in their thoughts that would be great I'm in the dark about this one. I'll keep toying with it and if I do get things working I'll be sure to post the solution.
Find all posts by yoip27View user's profileSend private message
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 - TUTTISU E-COMMERCE http://www.tuttisu.it
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.092 Seconds - 401 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::