Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding new links in footer:-)


Retix

Recommended Posts

Posted

Hi guys

 

I need some help creating links in footer!! I hope you guys can help!!

 

the code is:

 

 

<?php

/*

$Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require(DIR_WS_INCLUDES . 'counter.php');

?>

</td>

</tr>

<tr>

<td>

<table cellpadding="0" cellspacing="0" border="0" style="height:67px; background:url(images/bot.gif)" class="footer">

<tr>

<td><?php echo tep_draw_separator('spacer.gif', '22', '1'); ?></td>

<td style="width:542px">

<br style="line-height:25px">

<strong><a href="<?php echo tep_href_link('specials.php')?>"><?php echo BOX_HEADING_SPECIALS?></a>   |   <a href="<?php echo tep_href_link('advanced_search.php')?>"><?php echo BOX_SEARCH_ADVANCED_SEARCH?></a>   |   <a href="<?php echo tep_href_link('reviews.php')?>"><?php echo BOX_HEADING_REVIEWS?></a>   |   <? if (tep_session_is_registered('customer_id')) {

?><a href="<?php echo tep_href_link('account.php')?>"><?php echo HEADER_TITLE_MY_ACCOUNT?></a><? } else

{ ?><a href="<?php echo tep_href_link('create_account.php')?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT?></a><? }

?>   |   <? if (tep_session_is_registered('customer_id')) {

?><a href="<?php echo tep_href_link('logoff.php')?>"><?php echo HEADER_TITLE_LOGOFF?></a><? } else

{ ?><a href="<?php echo tep_href_link('login.php')?>"><?php echo HEADER_TITLE_LOGIN?></a><? }

?></strong><br>

<br style="line-height:5px">

<?php echo FOOTER_TEXT_BODY?> <a href="<?php echo tep_href_link('privacy.php')?>"><?php echo BOX_INFORMATION_PRIVACY?></a><br>

</td>

<td>

</td>

<td style="width:182px"><br style="line-height:29px"><?php echo tep_image(DIR_WS_IMAGES.'p1.gif')?><br></td>

</tr>

</table>

</td>

</tr>

</table>

 

<?php

if ($banner = tep_banner_exists('dynamic', '468x50')) {

?>

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

<tr>

<td align="center"><?php /* echo tep_display_banner('static', $banner); */ ?></td>

</tr>

</table>

<?php

}

?>

Posted

Hi guys

 

I need some help creating links in footer!! I hope you guys can help!!

 

the code is:

 

There are already many links, you just copy them in the same manner as done.

 

In general a link looks like this

<a href="<?php echo tep_href_link(FILENAME_DEFAULT); ?>">Back Home</a>

 

From there on it's just a question on how to place the link into your html structure (the <table><tr> and <td>'s)

 

What links to you want to have exactly?

 

Here is an interesting topic about: How to make links in oscommerce

Posted

There are already many links, you just copy them in the same manner as done.

 

In general a link looks like this

<a href="<?php echo tep_href_link(FILENAME_DEFAULT); ?>">Back Home</a>

 

From there on it's just a question on how to place the link into your html structure (the <table><tr> and <td>'s)

 

What links to you want to have exactly?

 

Here is an interesting topic about: How to make links in oscommerce

 

Hi Mutimixer thanks for your help:-)

 

The links I want to create are

 

About us

FAQ s

Return Policy

Help

Terms of use

 

I think I have got the picture of how to create the links!! and I have created one link so far. but the problem is now that if you visit my web www.retix.biz and look in the footer I can´t write About Us in this way = (About Us) I have to write it (About_us)

 

anyways That is just a small problem the big problem is that after I have made the link and the file to the link!!! I can´t write in the page created(or I create but it will not show in the page). I think I have to create a file with the same name in the Define Language in order for it to work but I have speed 2hours looking at how to do so but I can´t so far!!! can u please help me !! thanks alot for now

 

ps thanks for the link I have not read it so far but am goona read it.. thanks alot

Archived

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

×
×
  • Create New...