Jump to content



* * * * * 1 votes

[Addon} Theme Switcher


  • Please log in to reply
522 replies to this topic

#1   kymation

kymation

    Believers

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

Posted 04 December 2010 - 01:04 AM

This addon provides a simple way of changing themes in your osCommerce store. You can switch to a new theme for the season or to spruce up your store, or just to test out a new look. Just upload your new theme package and then select your new theme in your store's Admin.

Instructions are included for using the ThemeRoller tool to download stock themes and design new ones. It includes a method that allows you to design WYSIWYG on your own store pages.

Code in the usual location.

Regards
Jim

Edited by kymation, 04 December 2010 - 01:10 AM.

My Addons

Banners Box 2.3.x  Support Updated!
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Price in Cart Only/MAPP 2.3.x Support New!
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Superfish Categories Box 2.3x Support New!
Theme Switcher 2.3.x  Support

#2   kymation

kymation

    Believers

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

Posted 04 December 2010 - 03:59 AM

I just noticed that one of the files was in the wrong directory. Uploaded a new version with the files in the right place.

Regards
Jim
My Addons

Banners Box 2.3.x  Support Updated!
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Price in Cart Only/MAPP 2.3.x Support New!
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Superfish Categories Box 2.3x Support New!
Theme Switcher 2.3.x  Support

#3   SB3D

SB3D
  • Members
  • 11 posts
  • Real Name:Roxanne Jekot

Posted 06 December 2010 - 11:26 PM

Hi Jim,

I tried this out today and simply cannot get it to work.

It fails here at step #17:
15. Log into your store's Admin panel, click Modules in the left column, then click Header Tags.
16. Click the Install button in the upper right.
17. Find the Theme Switcher module in the list and click to highlight it

Theme Switcher simply never appears in the list.

#4   kymation

kymation

    Believers

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

Posted 07 December 2010 - 01:02 AM

Then you didn't add the module file to catalog/includes/modules/header_tags/.

Regards
Jim
My Addons

Banners Box 2.3.x  Support Updated!
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Price in Cart Only/MAPP 2.3.x Support New!
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Superfish Categories Box 2.3x Support New!
Theme Switcher 2.3.x  Support

#5   SB3D

SB3D
  • Members
  • 11 posts
  • Real Name:Roxanne Jekot

Posted 07 December 2010 - 12:39 PM

View Postkymation, on 07 December 2010 - 01:02 AM, said:

Then you didn't add the module file to catalog/includes/modules/header_tags/.

Regards
Jim

Oh wow!  Wonderful.  It's working fine now and what a great utility!  Thank you so much!

#6   kymation

kymation

    Believers

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

Posted 07 December 2010 - 06:33 PM

You're welcome. It's always nice to know that people are using this code. Normally I only get replies when something is wrong.

Regards
jim
My Addons

Banners Box 2.3.x  Support Updated!
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Price in Cart Only/MAPP 2.3.x Support New!
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Superfish Categories Box 2.3x Support New!
Theme Switcher 2.3.x  Support

#7   Al Fitrah

Al Fitrah
  • Members
  • 1 posts
  • Real Name:Jalal ibn Saeed

Posted 12 December 2010 - 12:01 PM

Sorry if this is a dumb question.   Theme Switcher is for 2.3   does that mean 2.3.1 ???  thanks

#8   iwillis

iwillis
  • Members
  • 2 posts
  • Real Name:i willis

Posted 12 December 2010 - 04:51 PM

Hi,

Good day!

I am done installing this module and it looks good until you click on 'Edit' button in Admin->Modules->Header Tags->Theme Switcher. Below is the content of 'Theme Switcher' box on the right side

---------------------------------------------------
Theme Switcher
---------------------------------------------------
  Edit          Remove Module

Switch your store theme from the admin

Enable Store Name in All Titles
- True

Sort Order
- 1

Theme
- redmond

---------------------------------------------------

Clicking on 'Edit' does not show the edit form.

Thanks!

Edited by iwillis, 12 December 2010 - 04:51 PM.


#9   iwillis

iwillis
  • Members
  • 2 posts
  • Real Name:i willis

Posted 12 December 2010 - 06:04 PM

I got it to work. Cool stuff!

FYI, jQuery version is now 1.8.7


Thanks!

#10   kymation

kymation

    Believers

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

Posted 12 December 2010 - 07:08 PM

View PostAl Fitrah, on 12 December 2010 - 12:01 PM, said:

Sorry if this is a dumb question.   Theme Switcher is for 2.3   does that mean 2.3.1 ???  thanks
Yes, it works in 2.3.1.

Regards
Jim
My Addons

Banners Box 2.3.x  Support Updated!
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Price in Cart Only/MAPP 2.3.x Support New!
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Superfish Categories Box 2.3x Support New!
Theme Switcher 2.3.x  Support

#11   kymation

kymation

    Believers

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

Posted 12 December 2010 - 08:58 PM

View Postiwillis, on 12 December 2010 - 06:04 PM, said:

<snipped>
FYI, jQuery version is now 1.8.7
Yes, I noticed that they've upgraded again. It would probably be better to remove the version numbers from the filename, but that's the way it's done by osCommerce as well as ThemeRoller. Maybe I'll change it in a future release.

Regards
Jim
My Addons

Banners Box 2.3.x  Support Updated!
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Price in Cart Only/MAPP 2.3.x Support New!
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Superfish Categories Box 2.3x Support New!
Theme Switcher 2.3.x  Support

#12   buhlerax

buhlerax
  • Members
  • 7 posts
  • Real Name:Alexandre Pereira Bühler

Posted 16 December 2010 - 07:02 PM

Good afternoon,
In ThemeRoller I no longer download the version 1.8.6 of custom themes.
Only 1.8.7.
What should I do for the module to work with this version 1.8.7?
Thanks

--
Alexandre Pereira Bühler

Edited by Jan Zonjee, 16 December 2010 - 09:11 PM.


#13   maxy007

maxy007
  • Members
  • 20 posts
  • Real Name:Mitch

Posted 16 December 2010 - 08:41 PM

Hi Jim,
I've installed theme switcher. It shows up in my admin panel.  When i highlight it and click edit (I have installed another theme) the edit button goes away. I can't choose another theme.
I installed the theme to catalog> ext> jquery> UI  via ftp.  The theme shows up in the UI folder but doesn't show up in my admin panel.

I notice that the redmond theme has one folder and one file in it but my theme has one folder and about 10 files in it.

Cheers,

Maxy

#14   kymation

kymation

    Believers

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

Posted 16 December 2010 - 11:00 PM

View Postbuhlerax, on 16 December 2010 - 07:02 PM, said:

Good afternoon,
In ThemeRoller I no longer download the version 1.8.6 of custom themes.
Only 1.8.7.
What should I do for the module to work with this version 1.8.7?
Thanks

--
Alexandre Pereira Bühler
The minor point versions are all compatible, so just change the number to 1.8.6 like the instructions say and everything will work.

Regards
Jim
My Addons

Banners Box 2.3.x  Support Updated!
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Price in Cart Only/MAPP 2.3.x Support New!
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Superfish Categories Box 2.3x Support New!
Theme Switcher 2.3.x  Support

#15   kymation

kymation

    Believers

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

Posted 16 December 2010 - 11:09 PM

View Postmaxy007, on 16 December 2010 - 08:41 PM, said:

Hi Jim,
I've installed theme switcher. It shows up in my admin panel.  When i highlight it and click edit (I have installed another theme) the edit button goes away. I can't choose another theme.
I installed the theme to catalog> ext> jquery> UI  via ftp.  The theme shows up in the UI folder but doesn't show up in my admin panel.

I notice that the redmond theme has one folder and one file in it but my theme has one folder and about 10 files in it.

Cheers,

Maxy
You probably got a file in the wrong place or failed to completely upload one of the files. Try uploading again and see what happens. If you have renamed your Admin directory, make certain that the includes/functions/modules/header_tags/theme_switcher.php got into the renamed directory.

The extra files in the downloaded theme aren't used by osCommerce. I leave them in there in case some future version uses one or more of them.

Regards
Jim
My Addons

Banners Box 2.3.x  Support Updated!
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Price in Cart Only/MAPP 2.3.x Support New!
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Superfish Categories Box 2.3x Support New!
Theme Switcher 2.3.x  Support

#16   maxy007

maxy007
  • Members
  • 20 posts
  • Real Name:Mitch

Posted 17 December 2010 - 06:51 AM

View Postkymation, on 16 December 2010 - 11:09 PM, said:

You probably got a file in the wrong place or failed to completely upload one of the files. Try uploading again and see what happens. If you have renamed your Admin directory, make certain that the includes/functions/modules/header_tags/theme_switcher.php got into the renamed directory.

The extra files in the downloaded theme aren't used by osCommerce. I leave them in there in case some future version uses one or more of them.

Regards
Jim


Hi Jim,
Do you mean the Theme switcher program or the theme it's self?

Cheers,

Maxy

#17   kymation

kymation

    Believers

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

Posted 17 December 2010 - 06:29 PM

The theme switcher will work with just the default theme installed if you did everything right. It will try to work even if a downloaded theme is broken. If the Theme Switcher is not working, you made an error in the installation of the Theme Switcher.

Regards
Jim
My Addons

Banners Box 2.3.x  Support Updated!
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Price in Cart Only/MAPP 2.3.x Support New!
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Superfish Categories Box 2.3x Support New!
Theme Switcher 2.3.x  Support

#18   buhlerax

buhlerax
  • Members
  • 7 posts
  • Real Name:Alexandre Pereira Bühler

Posted 20 December 2010 - 02:55 AM

View Postkymation, on 16 December 2010 - 11:00 PM, said:

The minor point versions are all compatible, so just change the number to 1.8.6 like the instructions say and everything will work.

Regards
Jim

Jim,
Good morning,
In fact the theme switcher works.
But the themes with the theme roller made in version 1.87 put a bug in the code.
For example:
If I create new account and click on date of birth.
The calendar does not open.
At the bottom of the browser gets an error. Clicking it opens a window where I states:
Details of the errors of the Web page

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2;. NET CLR 2.0.50727;. NET CLR 3.5.30729;. NET CLR 3.0.30729; Media Center PC 6.0; InfoPath .3;. NET4.0C)
Stamp Date / Time: Mon, 20 Dec 2010 02:50:05 UTC


Message: ')' expected
Line: 108
Character: 63
Code: 0
URI: http://www.valvicon.com.br/catalog/create_account.php

If I return to the original theme oscommerce this does not happen.
If it was something with the installation of the oscommerce theme switcher in the original theme would not work.
So I think it is an incompatibility between version 1.8.7 and the theme switcher.
Thanks

Edited by buhlerax, 20 December 2010 - 02:55 AM.


#19   buhlerax

buhlerax
  • Members
  • 7 posts
  • Real Name:Alexandre Pereira Bühler

Posted 20 December 2010 - 03:43 AM

Jim,
The error on line 138 was the translation I was doing.
But what I meant. The opening of the datepicker remains.
He does not open to the themes made with ThemeRoller.
Only with the original theme done in 1.8.6.
Thanks

#20   buhlerax

buhlerax
  • Members
  • 7 posts
  • Real Name:Alexandre Pereira Bühler

Posted 20 December 2010 - 04:20 AM

I found the solution.
I had to copy the jquery-ui-1.8.7.custom.min.js renamed to jquery-ui-1.8.6.custom.js.
Then the datepicker worked.
Thank you all.
:thumbsup:

Edited by buhlerax, 20 December 2010 - 04:20 AM.