Jump to content
kymation

[Addon} Theme Switcher

Recommended Posts

Hi Jim - All,

 

This is a great contrinution which I have used for years. I am having trouble though, not with the contrinution itself per se., however this seemed an appropriate thread to bring the issue up.

 

My problem relates to button icons and fonts after applying a new theme. Whether I use themeroller, or apply a new theme manually, via. editing template_top, etc,... the theme will work fine except I will loose all button icons and get odd button fonts. I can, either manually or through theme switcher, go back to the stock redmond theme and all is well again with the buttons.

 

I thought jquery handled the button icons for me through it's png files, but am I missing something ? I would think maybe button names, etc changed with the latest theme roller, however I'm attempting to use the latest version theme, 1.10.4 just as the stock redmond one. 

 

I hope this is not too basic of a quesiton and that asking here is appropriate. Can anyone shed light on this for me?

 

Thanks Guys,

 

Don

Edited by don_moran

Share this post


Link to post
Share on other sites

When downloading your themes, select version 1.10.4. The newer 1.11.x themes are not compatible with osCommerce.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Wow Jim, thank you my friend! That solved my issue..... Thanks for taking the time for me, you're awesome!

 

Don

Edited by don_moran

Share this post


Link to post
Share on other sites

I just wish that Themeroller would keep backwards compatibility so I didn't have to deal with this. Support will be a lot easier when everyone moves to Bootstrap.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Ha! I understand. Though in this case I'm the guy asking the questions, I've worked in IT all my life, and know exactly where you are coming from.  ;)  You are appreciated.

 

Don

Edited by don_moran

Share this post


Link to post
Share on other sites

I have a clean shop 234 set up locally. I believe I followed our PDF guide, but I dont see anything under admin boxes and Themes.

done catalog/ext/bootstrap/ (All directories and files)
done catalog/includes/languages/english/modules/header_tags/ht_theme_switcher.php
done catalog/includes/modules/header_tags/ht_theme_switcher.php

 

In my template_top I dont have this?
<link href="ext/bootstrap/css/bootstrap.min.css" rel="stylesheet">

 

Tried with your unmodified version of template_top - but still nothing in the admin panel?

I must be missing something? Please help
 

Share this post


Link to post
Share on other sites

Hi Helle,

 

Do you have regular 2.3.4 or 2.3.4 Bootstrap? There are different instruction for each one. It appears you are trying to install from the BS instructions and perhaps your code is regular non-BS?

Share this post


Link to post
Share on other sites

Oh oh - so that means - all over again I surpose.

Just went to see if there is a separate Bootstrap shop, but cant seem to find it?
 

Edited by HelleM

Share this post


Link to post
Share on other sites

Have you gone into your admin then clicked on Modules, then Header Tags, then click the install module button find the module and highlight and click install?

Share this post


Link to post
Share on other sites

Hi all,

 

I am very new to OSCommerce and I am trying to figure out how to install Theme Switcher.

 

I downloaded Theme Switcher 1.5.2 from http://addons.oscommerce.com/info/7663

and added it to the modules/header_tags directory (saw someone give this advice early on in the forum thread). I wasn't able to locate it in the backend of my store under Modules. I noticed the download is .tar.gz and the rest of the files in the directory are .php

 

Are there install instructions anywhere that I can reference?

I would really like to figure this out so any help would be greatly appreciated!

Share this post


Link to post
Share on other sites

Unpack the Theme Switcher archive that you downloaded and read the instructions in the appropriate version's directory in that package.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Ok, sorry if I am asking dumb questions, but I've gotten the file unzipped and am reading through the instructions included (in the osCommerce 2.3.x folder). Now I am trying to add the New Files it instructs to add, and it seems as though I am getting closer to being able to actually install, but I am obviously missing something.

 

I've added (to the modules/header_tags file in my directory)

template_top.php

modules folder

languages folder

 

and the following error comes up when I go to the area to Install Modules.

 

Warning: include(/customers/2/d/c/theluvoffice.com/httpd.www/cataloginstall/includes/languages/english/modules/header_tags/template_top.php): failed to open stream: No such file or directory in /customers/2/d/c/theluvoffice.com/httpd.www/cataloginstall/LotsaLuvAdmin/modules.php on line 141 Warning: include(): Failed opening '/customers/2/d/c/theluvoffice.com/httpd.www/cataloginstall/includes/languages/english/modules/header_tags/template_top.php' for inclusion (include_path='.:/usr/share/php') in /customers/2/d/c/theluvoffice.com/httpd.www/cataloginstall/LotsaLuvAdmin/modules.php on line 141 Fatal error: Call to a member function buildBlocks() on null in /customers/2/d/c/theluvoffice.com/httpd.www/cataloginstall/includes/modules/header_tags/template_top.php on line 14

 

When I tried to add just the file ht_theme_switcher.php from either the Modules or Lanuguages folder (rather than the folder itself) I also run into a similar error (and I am not sure hpw to add both of the files since they are named the same).

 

Should I be working from the BootStrap folder that was also in the zip folder maybe?

Share this post


Link to post
Share on other sites

Hi Heather,

 

You do not put all files into one folder. I am looking at the standard version of the directions. You did not mention which one you have, but believe that is what you are using. Under new files in directions I see this:

 

2.2.3 New Files
 
catalog/includes/languages/english/modules/header_tags/ht_theme_switcher.php
 
catalog/includes/modules/header_tags/ht_theme_switcher.php
 
** I think I found your store setup under the folder "cataloginstall" Therefore, that is what you have as your "catalog" folder mentioned in the directions. So you must place that 1 file in package called ht_theme_switcher.php in the header_tags folder which is found under the modules folder which is found under english folder which is found under languages folder which is under the includes folder in your cataloginstall folder
 
Then you must place the other ht_theme_switcher.php file in the package into the catalog (or in your case catalginstall / includes / modules / header_tags folder
 
You then need to download and make a copy of your 
 
catalog (cataloginstall) /includes / template_top.php file. You can try to upload modified file provided in package over the one you have and see if it works or if not, you will need to do a file compare of the 2 and see what would have to be changed manually.

Share this post


Link to post
Share on other sites

Hi Heather,

 

Just curious as to why you decided to go with the standard shop instead of with the bootstrap version right away as that one is responsive and such for handheld devices. I would recommend thinking about going the bootstrap route since it appears you are just starting out and do not have any modifications done and not much time into it yet.

Share this post


Link to post
Share on other sites

The Bootstrap version has a lot of advantages, but there are a limited number of addons available for it. If you need some complex addons that have not been converted to Bootstrap, using them may require some custom recoding.

 

On the other hand, if what you need is available for Bootstrap, that the best way to go.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Hola Jack,

 

 

think you have an error in your manual of Theme Switcher 1.4.4

 

2.2.1 Quick Start
This section is for those who have installed osCommerce modules before and are
familiar with the process. If you are new at this, skip ahead to Section 2.2.2
and go from there.
To install this module:
1. Upload all of the files in the catalog directory to your store's directory.
2. Go to your store Admin >> Modules >> Boxes and click the install button.
3. Click on the Theme Switcher, Then click Install Module.
That's it; you're done. You can change to one of the supplied themes in the module
settings. If you want to upload your own theme, read Section 3 of this manual.
 
I found mine in Admin >> Modules >> Header Tags
 
saludos

Share this post


Link to post
Share on other sites

That's right, it's another typo. Thanks for the bug report.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

your welcome Jack, as you have done so much for me this is just a little help in return, whish i could do more

Share this post


Link to post
Share on other sites

Hello,

Can I use for 2.3.4 responsive osC.? Do you have a demo image or link? Finally, do you have diffrent free theme ?

 

Thanks!

Share this post


Link to post
Share on other sites
  1. Yes. Use the Bootstrap version in the package.
  2. It changes the theme. How would you demo that?
  3. There are several free themes included. Many more are available online. Any Bootstrap theme can be used, just follow the instructions.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Hi Jim, its me again ;)

 

Ive just installes the Themeswitcher Module and noticed, that the Scrolling Boxes (Customer Testimonials, Specials and Whats New) doesnt scroll anymore. I think the scroll-functions must be in the bootstrap.min.css, which isnt included when Themeroller is activ. Is there a way to strap out these scroll-css an add it to the code seperately ? Or is the Bug in front of the screen ?  :wacko:  Thank you again !

 

SEE YA

Denzel.

Share this post


Link to post
Share on other sites

Theme Switcher switches out the CSS of the default theme with that onf the new theme. Everything else should work the same. Check your page source to see if the theme is being loaded.

 

Regards

Jim

Edited by kymation

See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

@@sahins Here are what the various themes look like with 2.3.4 responsive osC https://www.tonerpak.com.au/osc/ @@kymation


Let's make things easier for new osCommerce users http://forums.oscommerce.com/topic/402638-discussion-about-hard-coded-database-tables/?p=1718900  Getting there with osCommerce 2.4! :thumbsup:

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

×