Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing Pages


Guest

Recommended Posts

Hi guys, my store is almost ready but I have afew pages that I need to edit to get ready to sell.

 

1) I would like to change some info at the very bottom of my page and add some lines to it where do I do this? I have already tried the footer.php under includes/english but have not gotten any results

 

2) I would like to add some tracking script at the top of the page but I do not know where to add it. Please help.

 

onlinejunkie :-"

Link to comment
Share on other sites

Try includes/footer.php if you're hard coding items into the file. Just stay out of the middle of <?php ?> tags and remember that the footer is built as part of the overall table structure to build each page. I usually add bits with a table row and table divider to have them fit without breaking the layout.

 

Use includes/header.php maybe for your tracking script. It should probably go in the head of the file. It depends on the nature of the script.

Link to comment
Share on other sites

Try includes/footer.php if you're hard coding items into the file. Just stay out of the middle of <?php ?> tags and remember that the footer is built as part of the overall table structure to build each page. I usually add bits with a table row and table divider to have them fit without breaking the layout.

 

Use includes/header.php maybe for your tracking script. It should probably go in the head of the file. It depends on the nature of the script.

 

Hello sir, I just tried the pointers that you gave but I cannot see that head in the header.php and also after I added the text out of the php it did not change anything. Please tell me where I am going wrong.

 

Onlinejunkie

 

 

PS: The code for the footer.php is as follow please tell me whre I am going wrong.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<?php

/*

$Id: footer.php,v 1.1 2003/09/08 19:26:06 jhtalk Exp jhtalk $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// STS: ADD

// Get the output between column_right.php and footer.php

$sts_block_name = 'columnright2footer';

require(STS_RESTART_CAPTURE);

// STS: EOADD

 

require(DIR_WS_INCLUDES . 'counter.php');

 

// STS: ADD

$sts_block_name = 'counter';

require(STS_RESTART_CAPTURE);

// STS: EOADD

 

?>

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

<tr class="footer">

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

<td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>

</tr>

</table>

<br>

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

<tr>

<td align="center" class="smallText">

<?php

/*

The following copyright announcement can only be

appropriately modified or removed if the layout of

the site theme has been modified to distinguish

itself from the default osCommerce-copyrighted

theme.

 

For more information please read the following

Frequently Asked Questions entry on the osCommerce

support site:

 

http://www.oscommerce.com/community.php/faq,26/q,50

 

Please leave this comment intact together with the

following copyright announcement.

*/

 

?>

 

<br>

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

<tr>

<td align="center"><span class="style1">The contents of this web page are copyright ? 2004 - 2005 Royalty Fragrance. All Rights Reserved.</span></span><br>

<span class="style1">Designed and Maintained by:</span></span> </tr>

</table>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...