Guest Posted March 26, 2005 Share Posted March 26, 2005 File Name :: Add A Table/Box Author :: shop.lightspeed.net.au Category :: Minor Description A Simple mod to add a new table to your left or right columns. View File Link to comment Share on other sites More sharing options...
Guest cybermidi Posted April 1, 2005 Share Posted April 1, 2005 I cant' find subheader.inc.php or subfooter.inc.php, but I noticed the lines referenced in index.php When I added the code, the front page dissapeared. Link to comment Share on other sites More sharing options...
roban Posted April 1, 2005 Share Posted April 1, 2005 I cant' find subheader.inc.php or subfooter.inc.php, but I noticed the lines referenced in index.php When I added the code, the front page dissapeared. They're in your root directory. I just installed this hack and it works very well. The "Newest Product" box is new. Link to comment Share on other sites More sharing options...
Guest Posted April 24, 2005 Share Posted April 24, 2005 I got this error when installing this mod: Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/wandas-p/public_html/store/box1.php on line 38 Link to comment Share on other sites More sharing options...
Guest Posted April 24, 2005 Share Posted April 24, 2005 Can you post your code here for me (box1.php)? Link to comment Share on other sites More sharing options...
Guest Posted April 24, 2005 Share Posted April 24, 2005 if(!function_exists("sb")){ exit; } // start border sb("140","Test",$colour_1,$bg_colour); echo" <a href="http://wandas-ps.com/chat/" target="Live Chat" name="Live Chat" onMouseOver="window.status='Live Chat'; return true;" onMouseOut="window.status=''; return true;">Live Chat</a> "; // end border eb($bg_colour,$colour_1); ?> Link to comment Share on other sites More sharing options...
Guest Posted April 25, 2005 Share Posted April 25, 2005 I'll have to test this a little later as my fantastico's acting up at the moment, and my localhost server's not happy. :cry: Link to comment Share on other sites More sharing options...
Guest Posted April 25, 2005 Share Posted April 25, 2005 if(!function_exists('sb')){ exit; } // start border sb('140','Test',$colour_1,$bg_colour); echo" <a href='http://wandas-ps.com/chat/' target='_blank' name='Live Chat' onMouseOver='window.status='Live Chat'; return true;' onMouseOut='window.status='; return true;'>Live Chat</a> "; // end border eb($bg_colour,$colour_1); ?> Try replacing it with that Link to comment Share on other sites More sharing options...
Guest Posted April 26, 2005 Share Posted April 26, 2005 Thanks that worked. I finally can add links without errors!! ;) Link to comment Share on other sites More sharing options...
Guest Posted May 1, 2005 Share Posted May 1, 2005 I have an error now with adding a live help image in a new box. Error message is: Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/wandas-p/public_html/store/box3.php on line 40 The coding in this box is: if(!function_exists('sb')){ exit; } // start border sb('140','Live Help!',$colour_1,$bg_colour); echo" <!-- Powered by: Crafty Syntax Live Help http://www.craftysyntax.com/ --> <script type="text/javascript" src="http://wandas-ps.com/livehelp/livehelp_js.php?department=1&pingtimes=30"></script> <!-- copyright 2003 - 2005 by Eric Gerdes --> "; // end border eb($bg_colour,$colour_1); ?> Can anyone help me fix this? Thanks Russell Link to comment Share on other sites More sharing options...
Guest Posted May 1, 2005 Share Posted May 1, 2005 Remember with any code in php files (especially HTML), you MUST always place a backslash (\) before any inverted-commas (") e.g. <a href="yourdomain.com"> would become <a href=\"yourdomain.com\"> So, your code would be: if(!function_exists('sb')){ exit; } // start border sb('140','Live Help!',$colour_1,$bg_colour); echo" <!-- Powered by: Crafty Syntax Live Help http://www.craftysyntax.com/ --> <script type=\"text/javascript\" src=\"http://wandas-ps.com/livehelp/livehelp_js.php?department=1&pingtimes=30\"></script> <!-- copyright 2003 - 2005 by Eric Gerdes --> "; // end border eb($bg_colour,$colour_1); ?> Link to comment Share on other sites More sharing options...
Guest Posted May 1, 2005 Share Posted May 1, 2005 It worked thanks for your help! Thanks Russell Link to comment Share on other sites More sharing options...
Guest Posted May 1, 2005 Share Posted May 1, 2005 these ' work too...easier. Link to comment Share on other sites More sharing options...
Guest Posted May 1, 2005 Share Posted May 1, 2005 thanks ive been wondering how to do that for a while Link to comment Share on other sites More sharing options...
Recommended Posts