Jump to content



Photo
* * * * * 1 votes

[Addon} Theme Switcher


  • Please log in to reply
563 replies to this topic

#41 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,034 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 28 January 2011 - 04:20

Hi,
I uploaded ThemeRoller and created my own theme and I like this very much. I have one problem I cannot figure out, though. I'm not sure how to explain it, but in a category or subcategory that has more than one item, every other item the background doesn't appear - it's just white. Here's a web page you can see it...
http://www.thinkitte...php?cPath=22_25
I'm stopping short of messing with any css. I'm hoping you can help.

Also, what if I don't want the content background in these cells or tables?

That's not a bug, that's a feature. No, seriously. The background is supposed to be different on the odd and even lines. It helps the reader's eye to scan across the line. This is actually good design practice.

If you don't want it, just delete this bit of Javascript from the bottom of catalog/includes/footer.php:

<script type="text/javascript">
$('.productListTable tr:nth-child(even)').addClass('alt');
</script>

If you want to change any of the other backgrounds, header colors, etc., then you'll need to change the CSS class that triggers them. That's in far too many places to list here. I suggest using the Firebug extension in Firefox to examine the element you want to change.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Price in Cart Only/MAPP Download Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support

Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#42 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,034 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 28 January 2011 - 04:26

Hi Jim,

I can't seem to get it working either. What happens for me is that once I select the theme I want and I save it, it doesn't show up on my site. The header bars or any of the colored boxes don't show up. It only changes some of the text color. I tried doing what everyone was talking about in all of the above posts by changing the file names but maybe I'm confused. Could you possibly list all of the file names in each directory that jQuery UI would have possibly changed with their new versions so that I can compare the two and change the new jQuery UI files to what you have them set to be? Unless you don't think that is my problem. Please let me know.

Thank you! /smile.gif' class='bbc_emoticon' alt=':)' />
Joey

You should not have to change any existing files, other than the one-line deletion necessary for Theme Switcher to work. If you are talking about changing the file names in the package that you downloaded from ThemeRoller, that's all covered in the User's Manual. Read through those instructions again and make certain that you have followed every one. Don't skip any steps.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Price in Cart Only/MAPP Download Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support

Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#43   geokar1100

geokar1100
  • Members
  • 12 posts
  • Real Name:George Karukas
  • Gender:Male
  • Location:Myrtle Beach, SC

Posted 28 January 2011 - 05:02

That's not a bug, that's a feature. No, seriously. The background is supposed to be different on the odd and even lines. It helps the reader's eye to scan across the line. This is actually good design practice.


Okay then, I can see that. I'll simply adjust my theme to a light background for the content. Thanks for the quick reply and the great add-on.
Repetition is the key to success; Practice, Practice, Practice.
No outside links in signatures allowed.

#44   Derek Lingo

Derek Lingo
  • Members
  • 5 posts
  • Real Name:Derek

Posted 29 January 2011 - 21:13

I have gotten the theme switcher to work finally by replacing jscript v1.4.2 with v1.4.4 and jscript ui v1.8.6 with v1.8.9, but all my pages are missing the buttons with a pre-made theme. Is there any way to fix this?
P.S. I renamed the version to the the older version when I replaced it.

#45 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,034 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 29 January 2011 - 21:20

Are you using a 1.8.6 theme or a 1.8.9? I'll have to go test this.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Price in Cart Only/MAPP Download Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support

Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#46 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,034 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 29 January 2011 - 21:34

I just added a 1.8.9 theme to my test store. Everything works as expected, buttons included. I have now tried 1.8.5, 1.8.6, 1.8.7, and 1.8.9 themes without ever having a failure.

There is nothing wrong with replacing jquery and jquery UI files with the latest version as long as you changed all of the version numbers to match. So, if you replace jquery-ui-1.8.6.min.js with jquery-ui-1.8.9.min.js, you also have to change line 31 of catalog/includes/template_top.php to match.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Price in Cart Only/MAPP Download Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support

Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#47   Derek Lingo

Derek Lingo
  • Members
  • 5 posts
  • Real Name:Derek

Posted 29 January 2011 - 22:18

Do I still have to change line 31 of catalog/includes/template_top.php if I renamed the new files the same as the original?
Here is the site, I am just creating it now. I wanted to get the theme working first though.
Here is the adress ( look at the login, etc..)
http://cargoship.ca/catalog/

Edited by Derek Lingo, 29 January 2011 - 22:19.


#48 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,034 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 29 January 2011 - 22:57

You can change the file to match the line in catalog/includes/template_top.php or change the line in catalog/includes/template_top.php to match the file. Or you can change both of them to something else. The only thing that matters is that they match.

Your link to ext/jquery/ui/jquery-ui-1.8.6.min.js returns your host's default install page, so I assume that this file does not exist or is misnamed. Fixing that should solve your problem.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Price in Cart Only/MAPP Download Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support

Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#49   Derek Lingo

Derek Lingo
  • Members
  • 5 posts
  • Real Name:Derek

Posted 29 January 2011 - 23:04

Thanks so much I had ext/jquery/ui/jquery-ui-1.8.6.custom.min.js instead of ext/jquery/ui/jquery-ui-1.8.6.min.js. It works now.

#50   Derek Lingo

Derek Lingo
  • Members
  • 5 posts
  • Real Name:Derek

Posted 29 January 2011 - 23:08

That's not a bug, that's a feature. No, seriously. The background is supposed to be different on the odd and even lines. It helps the reader's eye to scan across the line. This is actually good design practice.

If you don't want it, just delete this bit of Javascript from the bottom of catalog/includes/footer.php:


<script type="text/javascript">
$('.productListTable tr:nth-child(even)').addClass('alt');
</script>

If you want to change any of the other backgrounds, header colors, etc., then you'll need to change the CSS class that triggers them. That's in far too many places to list here. I suggest using the Firebug extension in Firefox to examine the element you want to change.

Regards
Jim

Is there anyway to make it so it's one color but with a border seperator?

#51 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,034 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 29 January 2011 - 23:18

You can do anything you want. I believe that the style is this one:

.productListTable tr.alt td {
background-color: #ecf6fc;
}

Remove the background-color property and put in a border property. Given the way that this is set up, you might want to add a border-bottom to all lines, in which case it should be applied to .productListTable tr td instead of .productListTable tr.alt td.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Price in Cart Only/MAPP Download Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support

Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#52   Locolacolina

Locolacolina
  • Members
  • 14 posts
  • Real Name:Sergio
  • Gender:Male
  • Location:España/Spain

Posted 19 February 2011 - 13:14

Hi, I have a problem with jquery-ui-1.8.9.css, Is there any restriction with theme switcher or Oscommerce jquery version?
I changed on include/template_top this
<script type="text/javascript" src="ext/jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script>
to this
<script type="text/javascript" src="ext/jquery/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.9.min.js"></script>
, but the theme not work, don't apply css styles. Any idea?
Thanks.
I need to learn more English, but I know Spanish very well.

#53   Locolacolina

Locolacolina
  • Members
  • 14 posts
  • Real Name:Sergio
  • Gender:Male
  • Location:España/Spain

Posted 19 February 2011 - 13:35

Hi, I have a problem with jquery-ui-1.8.9.css, Is there any restriction with theme switcher or Oscommerce jquery version?
I changed on include/template_top this

<script type="text/javascript" src="ext/jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script>
to this
<script type="text/javascript" src="ext/jquery/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.9.min.js"></script>
, but the theme not work, don't apply css styles. Any idea?
Thanks.

Ah!, redmond (jquery-ui-1.8.6.css) default theme works perfectly.

Edited by Locolacolina, 19 February 2011 - 13:37.

I need to learn more English, but I know Spanish very well.

#54 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,034 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 19 February 2011 - 16:52

If the redmond theme works, and the others don't, then you have done something wrong with the other themes. Read the instructions for adding themes again. I suspect that you did not extract the correct directory/folder for the new themes, or did not rename the CSS file inside that folder.

regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Price in Cart Only/MAPP Download Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support

Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#55   Locolacolina

Locolacolina
  • Members
  • 14 posts
  • Real Name:Sergio
  • Gender:Male
  • Location:España/Spain

Posted 20 February 2011 - 11:42

If the redmond theme works, and the others don't, then you have done something wrong with the other themes. Read the instructions for adding themes again. I suspect that you did not extract the correct directory/folder for the new themes, or did not rename the CSS file inside that folder.

regards
Jim

I have a copy of 1.8.6.css themes, and all works ok, only Dark Hive theme don't works. 1.8.9.css neither works. I think is wrong in themeroller gallery.
Thanks Jim.

Regards
Sergio

Edited by Locolacolina, 20 February 2011 - 11:43.

I need to learn more English, but I know Spanish very well.

#56 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,034 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 20 February 2011 - 16:38

I had trouble with a couple of themes the first time I tried them. Try downloading that theme again; it may be corrupted.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Price in Cart Only/MAPP Download Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support

Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#57   NadEvo

NadEvo
  • Members
  • 3 posts

Posted 22 February 2011 - 13:08

What does "the latest OS" mean? What version?

Regards
Jim


Hi only just seen this, I believe it was 2.3.1.

#58 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,034 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 22 February 2011 - 20:32

Log into your store Admin, then click on Tools, then Version Checker. What does that say?

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Price in Cart Only/MAPP Download Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support

Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated


#59   dyelotyarn

dyelotyarn
  • Members
  • 12 posts
  • Real Name:no way
  • Gender:Not Telling

Posted 23 February 2011 - 19:18

I'm having a problem - when I use the ThemeRoller DevTool to adjust colors & stuff, everything looks good, then I download it - install it, and when I reload the page - my buttons turn wonky. You can see it here: dyelotyarn.com/catalog (the cart contents & login buttons at the top right - the colors are right, but they aren't the right size or in the right place)
Also, I'm really impressed with how well this works! It took me a bit to get it right but when I fixed my human error - it was simple & great!
Thanks!
Liz

#60 ONLINE   kymation

kymation

    Code Monkey

  • Community Sponsor
  • 8,034 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 23 February 2011 - 19:47

I tried changing your site to a standard theme (several of them) and the buttons are still messed up. I don't see anything wrong with your header either. I'm wondering if this is a jquery incompatibility issue. Try downloading the latest version of jquery and the jquery UI and replace your site's copies. You'll need to change the version numbers on the new files or change the links in your template_top.php to match the files.

Please let us know if this works.

Regards
Jim

My Addons

Banners Box Download Support
Categories Accordion Box Download Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box Download Support
Get 1 Free 2.2x Support
Price in Cart Only/MAPP Download Support
Modular Front Page Download Support
Modular SEO Header Tags Download Support
MVS 2.2x Support
PDF Datasheet Download Support
Price Updater 2.2x
Products Specifications 2.3.x Development Version Support Bugs/Suggestions
Request a Review Download Support

Shopping List Download Support New!
Specials Image Overlay Download Support
Superfish Categories Box Download Support
Theme Switcher 2.3+ Support  Updated