-Spazmatic- Posted December 22, 2005 Share Posted December 22, 2005 I want to put the information box (it's contents) in the footer, so I tried putting this in english.php: define('FOOTER_INFO_BODY', '<a href='www.trophyshoponline.com/catalog/shipping.php'>Shipping & Returns</a> - <a href='www.trophyshoponline.com/catalog/privacy.php'>Privacy Notice</a> - <a href='www.trophyshoponline.com/catalog/conditions.php'>Conditions Of Use</a> - <a href='www.trophyshoponline.com/catalog/contact.php'>Contact Us</a>'); And in my footer.php I added <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo FOOTER_INFO_BODY; ?></td> </tr> </table> I get this: Parse error: parse error, unexpected T_STRING in /home/content/a/w/a/awardsfor/html/catalog/includes/languages/english.php on line 323 Can you not use <a href>'s ? Link to comment Share on other sites More sharing options...
longlam Posted December 22, 2005 Share Posted December 22, 2005 yes you can. looking at your code what you need to do is: define('FOOTER_INFO_BODY', '<a href="www.trophyshoponline.com/catalog/shipping.php">Shipping & Returns</a> - <a href="www.trophyshoponline.com/catalog/privacy.php">Privacy Notice</a> - <a href="www.trophyshoponline.com/catalog/conditions.php">Conditions Of Use</a> - <a href="www.trophyshoponline.com/catalog/contact.php">Contact Us</a>'); and see if that works. there was probably a parsing error Link to comment Share on other sites More sharing options...
-Spazmatic- Posted December 22, 2005 Author Share Posted December 22, 2005 That did the trick. Funny what a couple of ' will get you :) Link to comment Share on other sites More sharing options...
-Spazmatic- Posted December 22, 2005 Author Share Posted December 22, 2005 Also, how do I put something under the "New products for December" box? I want to put the search box there, or better yet put my own search made by google. Link to comment Share on other sites More sharing options...
Wendy James Posted December 22, 2005 Share Posted December 22, 2005 Open up your index.php in an editer then add the code you want right below where it says <tr> <td class="main"><?php echo TEXT_MAIN; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> You will want to put it inside of a tr and td to keep the page working properly like this <tr><td>Your code here </td></tr> Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
-Spazmatic- Posted December 23, 2005 Author Share Posted December 23, 2005 You guys rock. Thanks. Link to comment Share on other sites More sharing options...
-Spazmatic- Posted December 23, 2005 Author Share Posted December 23, 2005 Hmm. Is there any way I could get this to work? <!-- Search Google --> <center> <FORM method=GET action=http://www.google.com/custom> <TABLE bgcolor=#FFFFFF cellspacing=0 border=0> <tr valign=top><td> <A HREF=http://www.google.com/search> <IMG SRC=http://www.google.com/logos/Logo_40wht.gif border=0 ALT=Google align=middle></A> </td> <td> <INPUT TYPE=text name=q size=31 maxlength=255 value=""> <INPUT type=submit name=sa VALUE="Google Search"> <INPUT type=hidden name=cof VALUE="S:http://www.trophyshoponline.com/catalog;AH:center;BGC:ffffff;LH:118;L:https://www.trophyshoponline.com/catalog/images/afe%20copy.jpg;LW:200;AWFID:d30c873d2eaa8157;"> <input type=hidden name=domains value="trophyshoponline.com"><br><input type=radio name=sitesearch value=""> Search WWW <input type=radio name=sitesearch value="trophyshoponline.com" checked> Search trophyshoponline.com </td></tr></TABLE> </FORM> </center> <!-- Search Google --> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.