Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help figure out how to re-arrange template Information navigation bar where the Shipping & Return, Privacy Notice and so on are located.


excelconnection

Recommended Posts

There is absolutely nothing to do in the filemanager.

 

Make a local copy of all your files, find proper tools (php editor and ftp program = free o the net) make always a backup of any file before editing and always upload files, never download them, they can be damaged by a hacker or something.

 

After this all is done, go to file includes/boxes/information.php. There is the info you want

Link to comment
Share on other sites

Thank you.

 

If anyone is wondering how to arrange the Information box. Then go to boxs > information.php...

 

Re-arrange the order... I arrange mine like 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_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a>');

 

new infoBox($info_box_contents);

?>

Link to comment
Share on other sites

This box is nothing more than a collection of links.

 

If you want you can add more links to more pages. Or you can cancel the box at all and use the links directly, for example in the footer or wherever. Other idea is, instead of having the list created by <br> to make a better styling adding some <div> and css definitions

Link to comment
Share on other sites

This box is nothing more than a collection of links.

 

If you want you can add more links to more pages. Or you can cancel the box at all and use the links directly, for example in the footer or wherever. Other idea is, instead of having the list created by <br> to make a better styling adding some <div> and css definitions

Oh, so how can I add additional links? :huh:

Link to comment
Share on other sites

Just copy an existing one and change destination and text. What link to you want?

Are they not all in english p.h.p.or what ever language you use. Well thats where I changed all mine. Shipping to deliverys for example. Anything with U.S.spelling in fact.

 

Regards Mel

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...