Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Forum links


Passa

Recommended Posts

I have setup a forum on our webserver and want to put links to this forum on the main shop website.

 

shopbr5.jpg

 

Specifically, I want to put the Forum link after the Checkout link in the top bar, and put it in bold so it stands out. Also I want to get rid of the little images (those top 3 images) and those little helper images that appear in each category of the site (like when browsing the catalog, and on the main page there, the guy behind the counter or whatever.

 

Thanks in advance.

Link to comment
Share on other sites

I have setup a forum on our webserver and want to put links to this forum on the main shop website.

Specifically, I want to put the Forum link after the Checkout link in the top bar, and put it in bold so it stands out. Also I want to get rid of the little images (those top 3 images) and those little helper images that appear in each category of the site (like when browsing the catalog, and on the main page there, the guy behind the counter or whatever.

 

Thanks in advance.

 

First lets get rid of the images.

 

Create a bank GIF and call it by the following 3 names: header_account.gif, header_cart.gif and header_checkout.gif then simply upload these blank images to catalog/images and overwrite the existing ones.

 

Now the forum link.

 

Open file catalog/includes/header.php and look for something very similar to the following code

<tr class="headerNavigation">
<td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td>
<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>
 </tr>

In between the last 2 " " add the following

|  <a href="http://URL2forum" target="_blank"><b>FORUM</b></a>  

Please alter the link to your forum.

 

I hope this helps.

Link to comment
Share on other sites

Just add the "class" to the code:

 

|  <a href="http://URL2forum" target="_blank" class="headerNavigation"><b>FORUM</b></a>

(Note: Your "class" may be different)  

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...