Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modern Template for RC2a


toyicebear

Recommended Posts

  • 1 month later...
  • Replies 100
  • Created
  • Last Reply

Top Posters In This Topic

Hi;

 

I have a problem with the category boxes. I get the following error message:

 

Warning: Invalid argument supplied for foreach() in /home/xxxxx/domains/xxxxx/public_html/includes/boxes/categories.php on line 136

 

Warning: Invalid argument supplied for foreach() in /home/xxxxx/domains/xxxxx/public_html/includes/boxes/categories.php on line 144

 

The code in these lines is:

 

$cat_subs = array();

foreach($categories_start as $key => $value) {

if(strstr($key, '_' . $parentID . '_E')) {

$cat_subs[$parentID][] = substr($key, 2, strpos($key, "_", 2) - 2);

}

}

 

// if (!isset($_GET['cPath'])) {

 

foreach ($cat_subs[$parentID] as $v) { //$categories = tep_db_fetch_array($categories_query)

$categories = $categories_start['S_' . $v . '_' . $parentID . '_E'];

 

 

I have not modified the code included in the template to have multiple categories and subcategories.

 

 

Could you help me, please?

 

Following the included instructions you should get no such errors, so do go over your modifications again.

 

Hi,

Your template is really great and easy to setup. Thx for your job.

But I have exactly the same issue when I enable the cache, whereas if it is not enabled, all is ok.

Can you please help me ?

Thx for your time

 

Glows

Edited by Glows
Link to comment
Share on other sites

  • 2 weeks later...

I've installed this skin/theme on my site but, I'm having a problem with the popup images in product info pages, when the enlarge image link is clicked all I'm getting is the site popping up in new window instead. Can you help please?

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

Your template is really great and easy to setup. Thx for your job.

But I have exactly the same issue when I enable the cache, whereas if it is not enabled, all is ok.

Can you please help me ?

Thx for your time

 

Glows

 

delete the old cache files first.

Link to comment
Share on other sites

I've installed this skin/theme on my site but, I'm having a problem with the popup images in product info pages, when the enlarge image link is clicked all I'm getting is the site popping up in new window instead. Can you help please?

 

try to do the install fresh again.

Link to comment
Share on other sites

  • 2 months later...

Hi All

 

I've installed the modernrc2a template on my site and I'm having a problem that I'm really really struggling to fix.

 

In the categories box, the background image that I am using for the infobox headings is fine, but it seems to have put this background image as the background to the actual "categories" text as well: screenshot.jpg

 

It's been driving me insane because I don't know where in the code it is doing this. I looked at the source of the page code from my browser and I could see where the problem is in the code that is outputted in the HTML:

 

 <table border="0" cellpadding="0" cellspacing="0" width="100%">
 <tbody><tr>
   <td class="infoBoxHeading" height="14"><img src="images/infobox/corner_right_left.gif" alt="" border="0" height="25" width="11"></td>
   <td class="infoBoxHeading" height="14" width="100%"><table border="0" cellpadding="0" cellspacing="0" width="100%">
 <tbody><tr>

   <td class="infoBoxHeading" width="100%">Categories</td>
 </tr>
</tbody></table>
</td>
   <td class="infoBoxHeading" nowrap="nowrap" height="14"></td>
   <td class="infoBoxHeading" nowrap="nowrap" height="14"><img src="images/pixel_trans.gif" alt="" border="0" height="14" width="11"></td>
 </tr>
</tbody></table>

 

I can see an extra table in the table that shouldn't be there.... this one:

 

<td class="infoBoxHeading" height="14" width="100%"><table border="0" cellpadding="0" cellspacing="0" width="100%">
 <tbody><tr>

   <td class="infoBoxHeading" width="100%">Categories</td>
 </tr>
</tbody></table>
</td>

 

But I can't find this extra table anywhere in my source files on my pc.

 

I have searched and searched through the files of the modernrc2a template and the css and everything and can't find where to fix this anywhere in the template or oscommerce files.

 

Please help!! Help would really very much be appreciated! Thanks!! :)

Link to comment
Share on other sites

 

 

Please help!! Help would really very much be appreciated! Thanks!! smile.gif

 

Are you using STS? If so, look in your infobox templates, specifically infobox_categories.php.html.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Are you using STS? If so, look in your infobox templates, specifically infobox_categories.php.html.

 

Hi bkellum, thanks for your quick reply! :)

 

Yes I am using STS, I just looked in infobox_categories.php.html as you suggested but the code looks normal :/

 

 <table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
   <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="25"></td>
   <td width="100%" height="14" class="infoBoxHeading">Categories</td>
   <td height="14" class="infoBoxHeading" nowrap>$right_arrow</td>
   <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
 <tr>
   <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
 <tr>
   <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
 <tr>
   <td class="boxText">$content</td>
 </tr>
 <tr>
   <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
</table>
</td>
 </tr>
</table>

 

Weird! :(

Link to comment
Share on other sites

  • 2 weeks later...

I have a heavily modded shop so I don't think i'll be able to use this template but I like the subtle changes it makes. Would it be possible to take a couple parts of this template and integrate it into my store? I want to use the top bar where it has "my account" and then below the category listing. I also would like to have my boxes look like the ones you have and the bottom footer bar as well. Would these small changes be possible to my store?

Link to comment
Share on other sites

I have a heavily modded shop so I don't think i'll be able to use this template but I like the subtle changes it makes. Would it be possible to take a couple parts of this template and integrate it into my store? I want to use the top bar where it has "my account" and then below the category listing. I also would like to have my boxes look like the ones you have and the bottom footer bar as well. Would these small changes be possible to my store?

 

Yes, you can use part of the package....

Link to comment
Share on other sites

Sorry guess I was asking more if I could and if so how could I implement the changes i'm looking for?

 

 

Click basics of osc design in my signature

Link to comment
Share on other sites

Where do I need to make a change so the image enlarge button is displayed instead of the "click to enlarge" text?

 

product_info.php

Link to comment
Share on other sites

  • 1 month later...

Howdy!

 

Thanks for the contributions!

 

I am using the STS tag $category_cssmenu for my page but I have the problem that my subcategories are longer than the size of the page the menu will stop at the bottom and won't let me scroll down to allow me to see the rest of the sub-categories.

 

This only happen on Internet Explorer 7 & 8 (where I have tested).

 

I've been looking everywhere to solve this issue with not success and my boss is on my back. Can anyone please help me??!!! :(

 

Thanks in advance!

 

Mrstech

Link to comment
Share on other sites

Howdy!

 

Thanks for the contributions!

 

I am using the STS tag $category_cssmenu for my page but I have the problem that my subcategories are longer than the size of the page the menu will stop at the bottom and won't let me scroll down to allow me to see the rest of the sub-categories.

 

This only happen on Internet Explorer 7 & 8 (where I have tested).

 

I've been looking everywhere to solve this issue with not success and my boss is on my back. Can anyone please help me??!!! :(

 

Thanks in advance!

 

Mrstech

 

Ask in the STS support tread, i am sure someone know about how to fix that issue there

Link to comment
Share on other sites

  • 7 months later...

First of all Thanks for the contribution.

 

I have a question. It is posible to change the 3 column product listing view for a 2 column listing?

In admin i find to change subcategories per row but no products per row.

 

Thanks again.

 

You can change that mnaually in these 2 files

 

 

includes/modules/products_new.php

 

and

 

includes/modules/products_listing.php (or alternatively in includes/modules/products_listing_col.php )

Link to comment
Share on other sites

  • 1 month later...

Hi, i really like your theme and have used it on my old store.. any chance i could get it to work with the new 2.3.1 version of Os?

 

Regards

 

BlairH

 

Since 2.2 and 2.3 is very different design wise it would be far easier to make a new one for 2.3 with a similar look.

Link to comment
Share on other sites

In this case i see no actual need...since 2.31 has close to the design of the grey modern template...it is centered, box headings and top line can be easily changed in the stylesheet or just via adding in a new jquery ui skin. The only thing would be to add in a second top-line with a search box.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...