Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

InfoBox Config Problems


GINAG

Recommended Posts

Posted

Hi,

 

Am working through configuring my infobox's and most of them are ok with changes visible. Only problem is that the categories box and manufacturers box are not picking up the changes for some reason. I have changed the Categories text to "Browse Categories" within includes\languages\english.php but text changes are not visible:-

 

define('BOX_HEADING_CATEGORIES', 'Browse Categories');

 

 

I also changed the depth of the infoboxes within \includes\classes\boxes.php from height 14 to height 20 - all heights ok except the Categories and Manufacturers infobox - strangely enough the categories infobox did changed to a height of 20 the next day :huh: - but manufacturers stayed at height 14. I have now changed the heights again to 30 just to see if it changes all this time - now I have a categories infobox at height 20, a manufacturers infobox at height 14 and the rest and height 30 :o

 

The code I changed in boxes.php is - only changed height="30"

 

$info_box_contents[] = array(array('params' =>'height="30"

 

class="infoBoxHeading"', 'text' => $left_corner),

array('params' => 'width="100%" height="30" class="infoBoxHeading"',

 

'text' => $contents[0]['text']),

array('params' => 'height="30" class="infoBoxHeading" nowrap', 'text' =>

 

""));

 

I am using oscommerce 2.2rc2a and have installed to the root. Any help gratefully received - but please be gentle with this newbie.

 

Many thanks,

Gina

Posted

did you save the files after editing, sounds daft but it can happen!

Also make sure that you are editing the correect files especially if you have more than one site in your htdocs.

Finally reset your borwser cahce (IE & FF are CTRL + F5) it might be this.

Otherwsie you should not be having any problems.

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

did you save the files after editing, sounds daft but it can happen!

Also make sure that you are editing the correect files especially if you have more than one site in your htdocs.

Finally reset your borwser cahce (IE & FF are CTRL + F5) it might be this.

Otherwsie you should not be having any problems.

Nic

 

Hi Nic,

 

Thanks for responding.

 

Correct files used as per installation instructions, and all saved correctly - proof being that changes were reflected on all other infoboxes. If you look here http://www.thesexylingeriecompany.com/index.php you should see categories box is height 20 (and should read Browse Categories), manufacturers is 14, and all others the specified 30. Do want them all at height 20 - but have made the infoboxes extra large to highlight the problem areas - would be interested to know what you see?

 

Do not have a htdocs directory - my site runs from the root, being /public_html/ - opted for a root installation as I am not planning on adding another site to this hosting space.

 

Have reset browser multiple times - and problems showing in both IE and Firefox.

 

Any other ideas?

Posted

shop.gif

 

Goodness - thats bizarre - all the infoboxes are the same too! Its obviously a PC/Browser problem my end then - why on earth am I not seeing it?? Any ideas?

Posted

Goodness - thats bizarre - all the infoboxes are the same too! Its obviously a PC/Browser problem my end then - why on earth am I not seeing it?? Any ideas?

 

When I closed down IE and Firefox and restart - I see all the changes - then perform a refresh and it reverts back to differently sized infoboxes and incorrect text?

Posted

Browser cache i would imagine Gina.

You might need to delete all browsing history, or use another browser if you do not want to do that.

It looks like you have achieved what you intended to anyhow :-)

 

 

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Browser cache i would imagine Gina.

You might need to delete all browsing history, or use another browser if you do not want to do that.

It looks like you have achieved what you intended to anyhow :-)

 

Thanks Nic - have deleted all history so am left scratching my head right now - oh well - thanks for your help - much appreciated.

Posted

Browser cache i would imagine Gina.

You might need to delete all browsing history, or use another browser if you do not want to do that.

It looks like you have achieved what you intended to anyhow :-)

 

Can you do me one last favour Nic - open the site again and then refresh the page - I have cleared all my history - reopen browser - perfect - refresh - back to square one. I'm sure it will be fine for you - but would appreciate it if you could just check to confirm. Many thanks.

Posted

It says Categories now Gina.

looking in Fire fox it says Browse categories.

you also have an index.html file there which needs removing if you goto your site as http://www.thesexylingeriecompany.com/ you get this html page up.

How new is your domain?

Nic

 

Thanks for checking - wanted to see if it was just an error my end which obviously it isnt. The domain name is fairly new - the hosting space was only purchased last week - and I am a complete newbie to this - although do have other websites with limited back end knowledge - so NEWBIE ALERT - lol. Wondered why I was getting the hosting company page up but hadn't spent any time looking into it - have now removed the offending html file - thus solving this problem - so thanks for the tip-off. Still have the other problem though?

Posted

OK, in your configure.php (includes / configure.php) what have you for the cookie domain?

If you view your site as http://thesexylingeriecompany.com/ it is correct and does not change

if you view it as http://www.thesexylingeriecompany.com/ refreshing the page changes it, so it now points to your configure file.

If you are unsure, post it here minus any passwords usernames or database info

 

 

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

OK, in your configure.php (includes / configure.php) what have you for the cookie domain?

If you view your site as http://thesexylingeriecompany.com/ it is correct and does not change

if you view it as http://www.thesexylingeriecompany.com/ refreshing the page changes it, so it now points to your configure file.

If you are unsure, post it here minus any passwords usernames or database info

 

Hi Nic,

I have sent you a personal message in response to this.

Thanks,

Gina

Posted

Hi Gina

I replied to that, did you not get it?

I changed some of the lines in your configure.php file and returned it to you.

Nic

 

Just spotted it - will give it a go - fingers crossed.

Archived

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

×
×
  • Create New...