Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

This is a support forum for a contrib I setup for inputting design to STS infoboxes any questions or ideas or tips&tricks to make this better for all then put em in here.

 

This is the contribution:

 

http://www.oscommerce.com/community/contributions,2224

 

I am working on modifying and also boxes in mainpage so any help is appreciated. :D

Posted

I will work on a new version soon which will include horizontal stretch also, the first verson is fixed width so you may have issues with reviews and notifications throwing the tables out.

Posted

I need help sorting out the centre tables and products to include a box any ideas or help appreciated.

Posted

Hey j0ker, i'm having a problem with your mod.

 

After following the instructions, I'm left with a "1" at the top of the category box on the left side and the cart on the right.

 

It also leaves the border around the boxes intact.

 

Help much appreciated.

Posted

Hi there, this is my first post here, been "dancing" around with osC and STS and now with your contrib, i've got the same problem as stated above, and i think the problem might be in your instructions text wich has :

 

................................................................................

..........

Optional Changes:

3) catalog/includes/boxes/categories.php - I did this because I didnt like the -> displayed in the infobox.

 

Find:

 

new infoBoxHeadingCategories($info_box_contents, true, false);

 

$categories_string = '';

 

Replace With:

 

new infoBoxHeadingCategories($info_box_contents, true, false);

 

$categories_string = '';

................................................................................

..........

 

wich seems to me could be the problem.

 

Any suggestions ?

and btw, besides this, very nice contribution, especially to a noob as myself in php, that's been learning all the way through the forum ;)

Posted

Sorry, for not being able to correct my previous post, but i figured out the problem that i was reporting...

 

where you have in your instructions :

................................................................................

..........

Optional Changes:

3) catalog/includes/boxes/categories.php - I did this because I didnt like the -> displayed in the infobox.

 

Find:

 

new infoBoxHeadingCategories($info_box_contents, true, false);

 

$categories_string = '';

 

Replace With:

 

new infoBoxHeadingCategories($info_box_contents, true, false);

 

$categories_string = '';

................................................................................

..........

 

Should be :

..........................................

Replace with :

 

//new infoBoxHeading($info_box_contents, true, false);

 

//$categories_string = '';

//$tree = array();

..........................................

;)

 

Also... this does not remove the -> sign in categories... :( any suggestions ?

 

Regarding the previous post, where i stated the appearance of that same "1" sign, it also appears in the shopping cart infobox... i'll dig a little on that file and get back here... :)

Posted

Yeah find this in catalog/includes/boxes/categories.php

 

if (tep_has_category_subcategories($counter)) {

$categories_string .= '->';

}

 

Replace with:

 

if (tep_has_category_subcategories($counter)) {

$categories_string .= '';

}

 

Hope this helps.

Posted

Regarding the "1" in the left corner placement, I am not 100% sure but try these:

 

Find in catalog/includes/modules/new_products.php:

 

$info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"',

 

'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')),

 

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

 

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

 

array('params' => 'height="14" class="infoBoxHeading"',

 

'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif')));

 

Replace with:

 

$info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"',

 

'text' => ''),

 

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

 

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

 

array('params' => 'height="14" class="infoBoxHeading"',

 

'text' => ''));

 

Maybe that helps a little more

Posted

To remove the "1" in categories and shopping cart headers comment out the lines below which will remove the header complete.

 

catalog/includes/boxes/categories.php

 

Find around line 80:

 

new infoBoxHeading($info_box_contents, true, false);

 

Replace with:

 

//new infoBoxHeading($info_box_contents, true, false);

 

Hope this helps

Posted

What if we don't want to remove the headings completely?

 

Please fix the problem and not go round it.

Posted
Please fix the problem and not go round it.

Just to confirm to you, this isnt a problem, this is a infobox image wrapper, I did this for my site, I needed header images, and I released the contrib for others, if people want to adjust it no problem go ahead.

 

Removing the headers complete was what I intended to do from the start it isnt a problem as far as I am concerned, If you require any fixes ask dont tell imo plz :( .

Posted

works perfect on my site and I have a lot of other contribs installed with it so what errors are you having? be specific dont judge because you are unable to get it working.

 

http://www.supaosc.com/supasites/supasolutions/

 

I am working on the newer version with clearer and revised txt file but I have used the instruction to install on test sites with no real problems.

Posted

The problem I had with it was that when you edited the template, you had to include every header image on every page. I thought it would have recognised that I don't need the images of 'tell a friend' and 'reviews' on the main page.

Posted

I dont quite understand but have you tried making blank image headers, for the ones you dont need?

If you dont need reviews or tell a friend infobox just delete them from the sts template html page.

  • 1 month later...
Posted

will support mutil-langage for the furture????

or add other contribution can do that???

Posted

Ok the only thing that pops to mind which could be the issue is that I have installed the category box enhancment to this infobox which also gives me the bullets, try this contrib also very simple mod 5 mins.

  • 9 months later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...