Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to get table to line up


Chae

Recommended Posts

Hi Yah,

 

URL:- onlinesports.co.nz/catalog/

 

The customer wanted the default text and login blurb removed - which we have done for them but now you see the main "product" table is low on the page. Where/How can I get that to line up with the rest of the info boxes i.e. move the table up?

 

Or where can I remove the actual table code for the default text that usually goes there?

 

Many thanks in advance

 

Chae

Link to comment
Share on other sites

Hi Yah,

 

URL:- onlinesports.co.nz/catalog/

 

The customer wanted the default text and login blurb removed - which we have done for them but now you see the main "product" table is low on the page. Where/How can I get that to line up with the rest of the info boxes i.e. move the table up?

 

Or where can I remove the actual table code for the default text that usually goes there?

 

Many thanks in advance

 

Chae

 

If you peek at your source code, above that table you have this table:

          <tr>

           <td class="pageHeading"></td>

           <td class="pageHeading" align="right"><img src="images/table_background_default.gif" border="0" alt="" width="57" height="40"></td>

         </tr>

 

Did you remove the file table_background_default.gif or make it an transparent gif?

 

You might need to alter that code so that when there isn't a category or manufacture that that peice of the code doesn't draw.

 

There are 3 parts to the page.

 

If you look for HEADING_TITLE and just add a:

 

. "1"

. "2"

. "3"

 

next to it, you can see which of the 3 sections draw when to determin which you will need to edit.

Link to comment
Share on other sites

Thanks Linda,

 

Found it in the index.php...thought it might be there but wasn't 100% sure what to look for :D

 

Now to get the currency_update.php to work properly

 

Regards from New Zealand

 

Chae

Link to comment
Share on other sites

When you created your new default currency?

In the edit did you put 1.0000000 as the value and then click on update currencies button ?

and in the catalog/includes/languages/english.php around line 36

 

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used w$

 

define('LANGUAGE_CURRENCY', 'USD');

Change it to whatever you need

 

HTH

The_Bear

Link to comment
Share on other sites

Hi Yah,

 

The manual process of updating the currencies works okay...i.e pushing the button from admin :) The problem is that I have the currencies_update.php (from the Contributions List - Thank You) being called from cron and for the love of me I can't get it to work...our web hosts who we used have offered some suggestions but all have failed.

 

We've setup the cron job via cPanels Cron Manager and the hosts have jail-shell active so I'm not sure if that's the problem. Currently the file is being called through cron daily as /home/username/public_html/catalog/currencies_update.php

 

We've also tried calling it as:-

 

GET /home/username/public_html/catalog/currencies_update.php

php /home/username/public_html/catalog/currencies_update.php

also tried calling it direct as a URL http://www.userdomain/catalog/currencies_update.php

 

The file has also been chmod to 755. And if we call the file direct from a browser we don't see any error messages and the script does have the correct database name, username and password.

 

So I'm totally stumped any suggestions would be grateful

 

S'Later

 

Chae

Link to comment
Share on other sites

Hi Yah Pierre,

 

The problem is that I have the currencies_update.php (from the Contributions List - Thank You) being called from cron and for the love of me I can't get it to work...our web hosts who we used have offered some suggestions but all have failed.  

 

That's the problem the contribution script... :roll:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...