Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Links in the Footer


smbrayton

Recommended Posts

Posted

I am looking to put the Shipping info, privacy, and sitemap links in the footer to give the site a more professional look but i have only found one contrabution on this matter. I tried it but it is rally no good for me as i use a color footer and what the contrabution did was just move the info box to the footer but that means the footer colors cannot be controled by the style sheet, as i want white letters in the footer. Here is the web link: www.licenseplatesgalore.com

Does anyone know how to put the links in the footer without moving the info box to the footer. Thank you for any help on this matter.

Posted

The site is password protected so I can't see the design but if it still uses the standard code, you just need to add the link to FOOTER_TEXT_BODY define in the includes/languages/english.php file.

 

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

Posted

In catalog/includes/footer put this code (edited for your specifics) where you want the links to be.

I put it in the same table as the FOOTER_TEXT_BODY in a TR higher

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="smallText"><a  class="smallText" href="<?php echo tep_href_link(FILENAME_SHIPPING) ?>"> Shipping and Returns  |  </a>   
 <a class="smallText" href="<?php echo tep_href_link(FILENAME_PRIVACY) ?>">Privacy Policy</a>  | 
 <a class="smallText" href="<?php echo tep_href_link(FILENAME_CONDITIONS) ?>">Conditions of Use</a>  | 
 <a class="smallText" href="<?php echo tep_href_link(FILENAME_CONTACT_US) ?>">Contact Us</a>  | 
 <a class="smallText" href="<?php echo tep_href_link(FILENAME_SITEMAP) ?>">Sitemap</a>
 </td>
</tr>

You could put the link text in the language file but for me this was just a little faster than doing those additions.

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Posted

Hi,

The site is all set now, had a glitch with 1and1 and they locked up the site for some reason. I have tried to put in the links but it comes up with an error. I will see what i can do with the other option. thank you both for your help.

Scott

Posted

Hi,

Ok i put the code in the footer, you can see it at www.licenseplatesgalore.com, but i must be missing something as i cannot change the color of the text, which was the problem i had with the contrabutin that i loaded. I think i need to put the code somewhare else but am unsure. If you could direct me that would be great. I need the text to be white, right now it is doing the same mouseover effect as it was when the info box was on the column. Thank you

Scott

Posted

I see now, maybe i did not explain myself enough. I want the links in the place where the date and vistors are, not on the very bottom by the copyright stuff. I tried that and did not like it. Thanks

Scott

Posted

Ok,

Well i am good where it is located, but the sitemap link is dead, it is ok in the info box but not on the footer. The other links are fine but the sitemap is no ggod, any ideas anyone.

Scott

Posted

Well i figured it out, i use a differant name for the site map, I use FILENAME_DYNAMIC_SITEMAP not FILENAME_SITEMAP. I would still like to know how to add these to the footer part where the date is and be able to control the color by the style sheet, tr. footer, I tried so many combinations and i can get the links there but cannot get the control out og the info box. O'well this will work fine. Than you for your help.

Scott

Posted

Ok,

I have the final product and am very happy with the outcome. I removed the line in the fotter and add the info links there so it looks clean and crisp. Thank sfor the help.

Scott

  • 7 months later...
Posted
In catalog/includes/footer put this code (edited for your specifics) where you want the links to be.

I put it in the same table as the FOOTER_TEXT_BODY in a TR higher

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="smallText"><a  class="smallText" href="<?php echo tep_href_link(FILENAME_SHIPPING) ?>"> Shipping and Returns  |  </a>   
 <a class="smallText" href="<?php echo tep_href_link(FILENAME_PRIVACY) ?>">Privacy Policy</a>  | 
 <a class="smallText" href="<?php echo tep_href_link(FILENAME_CONDITIONS) ?>">Conditions of Use</a>  | 
 <a class="smallText" href="<?php echo tep_href_link(FILENAME_CONTACT_US) ?>">Contact Us</a>  | 
 <a class="smallText" href="<?php echo tep_href_link(FILENAME_SITEMAP) ?>">Sitemap</a>
 </td>
</tr>

You could put the link text in the language file but for me this was just a little faster than doing those additions.

 

Hi! I have tried the code below and recognized three problems. :'(

1) I cant change the color of the text in one place in the css.

2) The text is spread out, with empty space in between.

3) I dont know how to get the | -bar between the strings :blush:

 

So I wonder if, I change to your code will it fix all this?

 

As a comparison, look att the header for my store

 

www.ji-fashion.com/butik

 

You can toogle between Swedish and English.

 

I would be very pleased if you have a solution

 

Regards

 

Qim

 

CODE

<tr class="footer">

<td class="footer">��<?php echo strftime(DATE_FORMAT_LONG); ?>��</td>

 

<tr>

<td align="center" colspan="2">

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

 

<td align="center">

<?php echo '<a class="boxText" href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>'; ?>

</td>

 

<td align="center">

<?php echo '<a class="boxText" href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a>'; ?>

</td>

 

<td align="center">

<?php echo '<a class="boxText" href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'; ?>

</td>

 

</tr>

</table>

</td>

</tr>

</tr>

Archived

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

×
×
  • Create New...