Latest News: (loading..)
kymation

[Addon} Theme Switcher

714 posts in this topic

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
semigod, RomanNera and Amy Green like this

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

 

Regards

Jim

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

<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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Thanks for the update. Apparently the latest version does break something. I'll add an update to the instructions.

 

Regards

Jim

Share this post


Link to post
Share on other sites

Hi,

 

Just installed the latest OS but for some reason I don't have the correct directories under the admins folder to drop the php file into. Do I just add the required folders or am I somehow missing them?

 

Thanks

 

Nad

Share this post


Link to post
Share on other sites

I'm trying to follow the directions on this, and they don't match up to what I have in my "Online Merchant v2.2 RC2a" installation. Can anyone help?

Share this post


Link to post
Share on other sites

Hi,

 

Just installed the latest OS but for some reason I don't have the correct directories under the admins folder to drop the php file into. Do I just add the required folders or am I somehow missing them?

 

Thanks

 

Nad

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

 

Regards

Jim

Share this post


Link to post
Share on other sites

I'm trying to follow the directions on this, and they don't match up to what I have in my "Online Merchant v2.2 RC2a" installation. Can anyone help?

As the User's Manual says, "for osCommerce Online Merchant v2.3.x."

 

Regards

Jim

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now