Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 59
2 members and 57 guests
go84afcrnfhere, got2wpoap2gt9si
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > General > Site design

Reply
 
LinkBack Thread Tools Display Modes
HTML in module not coded properly
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Nov 2004
HTML in module not coded properly - 12-18-2004, 04:32 PM

Well, I'm using php-nuke 7.4 right now with fiblue3d for the theme. I created a web page using your module creator here at nukemods.com. It worked perfectly except if go to http://www.theshadowlords.com/runesh...e=Skill_Guides

(Thats the one I created) If you scroll down there is a section missing from the left part of the footer.

This is the code for that page:
Code:
<?php
#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
if (!eregi("modules.php", $PHP_SELF)) {
   die ("You can't access this file directly...");

}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
include("config.php");
$index = 0;
OpenTable();
echo"<center>"
  . "<table width=\"400\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">"
  . "<tr>"
  . "<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
  . "<tr>"
  . "<td class=\"row1\" width=\"100%\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\">"
  . "<tr>"
  . "<td><font class=\"block-title\">Skill Guides</font></td>"
  . "</tr>"
  . "</table></td>"
  . "</tr>"
  . "<tr>"
  . "<td class=\"row1\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\">"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"block-title\">RuneScape</font></td>"
  . "<td width=\"50%\"><font class=\"block-title\">RuneScape Classic</font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=agility\">Agility*</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=agility2\">Agility*</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=cooking\">Cooking</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=cooking2\">Cooking</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=combat\">Combat</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=combat2\">Combat</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=crafting\">Crafting</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=crafting2\">Crafting</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=firemaking\">Firemaking</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=firemaking2\">Firemaking</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=fishing\">Fishing</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=fishing2\">Fishing</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=fletching\">Fletching*</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=fletching2\">Fletching*</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=herblore\">Herblore*</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=herblore2\">Herblore*</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=magic\">Magic</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=magic2\">Magic</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=mining\">Mining</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=mining2\">Mining</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=prayer\">Prayer</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=prayer2\">Prayer</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=ranged\">Ranged</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=ranged2\">Ranged</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=runecrafting\">RuneCrafting</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\">N/A in RSC</font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=smithing\">Smithing</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=smithing2\">Smithing</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=theiving\">Theiving*</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=theiving2\">Theiving*</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=woodcutting\">Woodcutting</a></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><a href=\"modules.php?name=woodcutting2\">Woodcutting</a></font></td>"
  . "</tr>"
  . "<tr>"
  . "<td width=\"50%\"><font class=\"content\"><div align=\"right\">* Represents member</div></font></td>"
  . "<td width=\"50%\"><font class=\"content\"><div align=\"left\">only skills</div></font></td>"
  . "</tr>"
  . "</table></td>"
  . "</tr>"
  . "</table>";
CloseTable();
include("footer.php");

?>
Thanks
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
12-19-2004, 07:53 AM

This last bit of code you have just before the CLOSE TABLE line.

Code:
. "</tr>"
. "</table></td>"
. "</tr>"
. "</table>";

change those 4 lines to this

Code:
. "</tr>"
. "</table";
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Nov 2004
12-19-2004, 10:56 AM

Thanks, for having someone to reply but when I did what you said. The tables got even more messed up. http://www.theshadowlords.com/runesh...e=Skill_Guides
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
12-19-2004, 04:46 PM

then add more closing tags

make the fist code like this instead

Code:
. "</tr>"
. "</table></td>"
. "</tr>"
. "</table></tr></td></table>";
also, change your topic title before I lock this topic. Forum rule number 4.

This is not a problem with the theme. It is a problem with your HTML in your module code.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Nov 2004
12-19-2004, 04:52 PM

Wow thanks!! It worked!! Yipee!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
12-19-2004, 05:39 PM

Awesome!

thanks for changing your topic title too. I really appreciate that.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Nov 2004
12-19-2004, 08:18 PM

NP, I guess this can be closed now.
*Summons mods*
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
12-19-2004, 09:17 PM

Closed schmosed. :P
This topic will help others. :wink:

thank you.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HTML in reviews module Cyberkiller Nuke 7.x - Modules 19 02-22-2006 06:13 PM
HTML embedded in PHP... Can I link to an html anchor? Tabe Site design 0 06-02-2005 12:42 PM
static html module turpentyne Nuke 7.x - Modules 3 04-14-2005 04:43 PM
Content Not displaying Properly hartshill Nuke 7.x - General 0 02-16-2005 06:31 AM
HTML Module Cuthalion Nuke 7.x - Modules 4 07-20-2004 05:36 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31