unclecurt Posted December 28, 2005 Share Posted December 28, 2005 :-" I want to know how to add a links page to my site. Help me please. Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted December 28, 2005 Share Posted December 28, 2005 well to add a link its <a href="http://yoursite.com/Page.php" target="_Blank"> What is getting linked </a> that should do it at the end of the day the code will be good Link to comment Share on other sites More sharing options...
unclecurt Posted December 28, 2005 Author Share Posted December 28, 2005 well to add a link its <a href="http://yoursite.com/Page.php" target="_Blank"> What is getting linked </a> that should do it What I meant was that I want a links page added to my site so that I can display and tradee links with other osC people, I should have been more clear but that was helpful being as I'm so new to all this. Link to comment Share on other sites More sharing options...
unclecurt Posted December 28, 2005 Author Share Posted December 28, 2005 well to add a link its <a href="http://yoursite.com/Page.php" target="_Blank"> What is getting linked </a> that should do it Oh yeah and there needs to be a link on the main page for links too but there isn't how do I do that Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted December 28, 2005 Share Posted December 28, 2005 Ok you are going to redo a box. Now it's important that you backup and protect your stuff. 1 go to catalog/includes/boxes/information.php 2. save as links.php now you have to modify this <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> so it looks like <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_Links); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_Links) . '">' . '</a>'); new infoBox($info_box_Links); ?> </td> </tr> at the end of the day the code will be good Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted December 28, 2005 Share Posted December 28, 2005 Now you are going to go to catalog/includes/filenames.php and add after define('FILENAME_ZONES', 'zones.php'); define('FILENAME_Links', 'links.php'); at the end of the day the code will be good Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted December 28, 2005 Share Posted December 28, 2005 Go to catalog/includes/english.php and at the end of the page add define('BOX_INFORMATION_Link ', 'Our partners'); you are going to repeat that in all your languages at the end of the day the code will be good Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted December 28, 2005 Share Posted December 28, 2005 Ok you are going to redo a box. Now it's important that you backup and protect your stuff. 1 go to catalog/includes/boxes/information.php 2. save as links.php now you have to modify this <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> so it looks like <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_Links); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_Links) . '">' . '</a>'); new infoBox($info_box_Links); ?> </td> </tr> That quote is incorect this is correct <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_Links); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_Links) . '">' . BOX_INFORMATION_Link . '</a>'); new infoBox($info_box_Links); ?> </td> </tr> at the end of the day the code will be good Link to comment Share on other sites More sharing options...
unclecurt Posted December 28, 2005 Author Share Posted December 28, 2005 Ok you are going to redo a box. Now it's important that you backup and protect your stuff. 1 go to catalog/includes/boxes/information.php 2. save as links.php now you have to modify this <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> so it looks like <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_Links); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_Links) . '">' . '</a>'); new infoBox($info_box_Links); ?> </td> </tr> Maybe I'm not doing this right but every time I edit that my whole page gets huge. Link to comment Share on other sites More sharing options...
unclecurt Posted December 28, 2005 Author Share Posted December 28, 2005 I must be stupid I can't get it. every time I try to change anything the whole page screws up. Sorry I waisted your time. Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 29, 2005 Share Posted December 29, 2005 :-" I want to know how to add a links page to my site. Help me please.You should use the Links Manager contribution. It will handle all of the links for you and allow others to submit links to your site. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
unclecurt Posted December 29, 2005 Author Share Posted December 29, 2005 You should use the Links Manager contribution. It will handle all of the links for you and allow others to submit links to your site. Jack does it put a "links" button on the front page? Link to comment Share on other sites More sharing options...
unclecurt Posted December 29, 2005 Author Share Posted December 29, 2005 does it put a "links" button on the front page? maybe you can change it, I sure as heck can't here it is... <?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //--> Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 29, 2005 Share Posted December 29, 2005 does it put a "links" button on the front page?It doesn't put a llinks button but it does add a Links text link. You can change it to an image if you want though. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
unclecurt Posted December 29, 2005 Author Share Posted December 29, 2005 It doesn't put a llinks button but it does add a Links text link. You can change it to an image if you want though. Jack I already installed the links contribution from the guy that has that dragons and wizards web site (sorry horrible with names) but I can't get a link to the link page in my infoprmation box without my entire site going all wonky on me. :blush: Link to comment Share on other sites More sharing options...
unclecurt Posted December 29, 2005 Author Share Posted December 29, 2005 I think I just need a link from the information box on the front page to the links page "links.php" I already have those pages but no way fore people to get to them. :-" Link to comment Share on other sites More sharing options...
unclecurt Posted December 29, 2005 Author Share Posted December 29, 2005 I DID IT, I DID IT, I DID IT, I have no idea how I did it but I put the link to the links page in my information box. AND IT WORKS!!! :P Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.