Jump to content



Photo
* * * * * 1 votes

[Addon} Theme Switcher


  • Please log in to reply
571 replies to this topic

#221 ONLINE   kymation

kymation

    Code Monkey

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

Posted 08 March 2012 - 02:23

Try 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


#222   squarebanana

squarebanana
  • Members
  • 36 posts
  • Real Name:Alan Foster

Posted 13 March 2012 - 18:27

Hi JIm, installed this and its there in admin, made a couple of templates with themeroller, uploaded them to the directory it said (ui) withe the redmond theme in, but when i change themes, and go and look at the site, its just blank nothings there, chnge theme names to relevant numbers (1.8.6) etc but cant think what i am doing wrong

Any help would be appreciated thanks

Alan
SB

Edited by squarebanana, 13 March 2012 - 18:27.


#223 ONLINE   kymation

kymation

    Code Monkey

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

Posted 13 March 2012 - 18:55

One or more files are missing or incorrectly named. Use View Source in Firefox and click on each of the links in the head in turn. The one that returns a 404 error message is the one that is incorrect.

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


#224 ONLINE   kymation

kymation

    Code Monkey

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

Posted 15 March 2012 - 04:05

I've added a new release to the Addons area. This fixes the bug/conflict with the Modular Front Page Addon, and probably others that require the jQuery files to be loaded first. If you are upgrading, uninstall Theme Switcher before replacing your module file with the one in this release.

The package is over the size limit again, so I've also uploaded it to my server until the official release is approved.

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


#225 ONLINE   kymation

kymation

    Code Monkey

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

Posted 19 March 2012 - 03:30

I've given up on the previous upload. I stripped out all of the Addons, including the full Theme package, to make it fit without approval. If you want the full version with all of the extras, download from the link in my previous post.

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


#226   kajee

kajee
  • Members
  • 5 posts
  • Real Name:kajee

Posted 20 March 2012 - 08:18

Hi guys. I seem to be getting a error and dont know what to do. Can someone help me?

This is the error

Warning: include(/home/theboecm/public_html/includes/languages/english/modules/header_tags/ht_theme_switcher.php) [function.include]: failed to open stream: No such file or directory in /home/theboecm/public_html/admin/modules.php on line 129

Warning: include() [function.include]: Failed opening '/home/theboecm/public_html/includes/languages/english/modules/header_tags/ht_theme_switcher.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/theboecm/public_html/admin/modules.php on line 129

Warning: include_once(includes/functions/modules/header_tags/theme_switcher.php) [function.include-once]: failed to open stream: No such file or directory in /home/theboecm/public_html/includes/modules/header_tags/ht_theme_switcher.php on line 34

Warning: include_once() [function.include]: Failed opening 'includes/functions/modules/header_tags/theme_switcher.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/theboecm/public_html/includes/modules/header_tags/ht_theme_switcher.php on line 34

#227 ONLINE   kymation

kymation

    Code Monkey

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

Posted 20 March 2012 - 17:56

The error message says that /includes/languages/english/modules/header_tags/ht_theme_switcher.php is missing. Is it?

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


#228   TheGYPSY

TheGYPSY
  • Members
  • 2 posts
  • Real Name:The GYPSY
  • Gender:Male
  • Location:Clyde, Texas

Posted 03 April 2012 - 17:52

I downloaded the plugin and it came up as: theme_switcher_1.3.1_min.tar.gz What directory on my webserver do I upload this into?
-The GYPSY-

#229 ONLINE   kymation

kymation

    Code Monkey

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

Posted 03 April 2012 - 17:55

You unpack that archive using your archive program (WinZip, 7zip, Winrar, etc.) and then follow the instructions in the User's Manual in that package.

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


#230   chemist4

chemist4
  • Members
  • 105 posts
  • Real Name:Tim
  • Gender:Male
  • Location:Missouri

Posted 08 April 2012 - 21:26

I've given up on the previous upload. I stripped out all of the Addons, including the full Theme package, to make it fit without approval. If you want the full version with all of the extras, download from the link in my previous post.

Regards
Jim


If we are upgrading from a previous version, do we need the extras? Or is the one you posted here enough to upgrade?

#231 ONLINE   kymation

kymation

    Code Monkey

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

Posted 08 April 2012 - 22:44

The one posted here is enough for anyone to install and use. The Extras are just that. If you really want the whole thing, the link I posted above still 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


#232   twindaddy

twindaddy
  • Members
  • 32 posts
  • Real Name:Wilkin

Posted 25 April 2012 - 20:10

Hello,

I installed theme switcher in my shop.
when i create a them everything works, but weh i go to the product info page the images are all big.
They are the same size as normal in the popup lightbox.

Can anybody help me to get the small images back with my new template?

Thank you

Twindaddy

#233   twindaddy

twindaddy
  • Members
  • 32 posts
  • Real Name:Wilkin

Posted 25 April 2012 - 20:10

Hello,

I installed theme switcher in my shop.
when i create a them everything works, but when i go to the product info page the images are all big.
They are the same size as normal in the popup lightbox.

Can anybody help me to get the small images back with my new template?

Thank you

Twindaddy

#234   Westedge

Westedge
  • Members
  • 3 posts
  • Real Name:Doug West

Posted 21 May 2012 - 21:26

I've uploaded a new version to the usual place. This one sorts the themes in alphabetical order. It makes it easier to find a theme if you have a lot of them. I also added some text to the manual about the ThemeRoller version numbers, and some more debugging information.

If you need to upgrade an older version of Theme Switcher, or just want to, upload the three new files over the top of your old ones. There's no need to uninstall the module first.

Regards
Jim


I think my confusion starts here... Initially, I wanted to install Theme Switcher, and have done that(tho' I'm not seeing it as something functional in the admin); and have subsequently upgraded jquery (as this is a fresh install of osc{2.3.1} from my server's Fantastico).

jQuery upgrade to 1.7.2 and UI to 1.8.20 - not sure if this is compatible or not.

I found that those 2 important files of jQuery were still needed by the admin of osc (Else they "cut off" some of the admin menu) and so had to leave both copies of those files - jquery-1.4.2.min.js & jquery-1.4.2.min.js - there... And now I still don't have the new jQuery working (*excuse the mentioning of this problem here tho' it is related).

Bun NOW this thread starts to talk about Theme Roller! I realize this is a function in jQuery but am confused as to why we are suddenly talking about that. Is it that this Theme Roller is now the module that we will use to switch the themes?? What of Theme Switcher?? Is this still required? Do they work in unison to get the job done?

Thank you for any clarification on this. /smile.png' class='bbc_emoticon' alt=':)' />
~Doug

#235 ONLINE   kymation

kymation

    Code Monkey

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

Posted 22 May 2012 - 00:17

Theme switcher allows you to switch themes by changing a setting in your osC admin. Themeroller allows you to get themes to use in your store. It's useless to be able to switch themes if you only have one installed, so Themeroller is essential to the use of Theme Switcher.

For your problem of not seeing the Theme Switcher module to install -- check that you have all of the files in the correct locations, and check that the files are approximately the same size as the ones in the distribution package.

jQuery 1.7.2 and jQuery UI 1.8.20 are compatible. I use those versions myself. You will need compatible (current version) themes to make them work properly. The Redmond theme that ships with osC will not work properly.

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


#236   Chrison

Chrison
  • Members
  • 40 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Nanaimo, BC, Canada

Posted 24 May 2012 - 06:59

The Admin also depends on jQuery and the jQuery UI. Don't delete the old versions of those files or you'll mess up the Admin. As an alternative, there is an Admin Theme Switcher that allows you to change the theme on the Admin side and use the updated jQuery files.

Regards
Jim


I just spent a couple hours trying to figure this one out. When I installed Theme Switcher, I removed the original jquery js and css files because I didn't think they were needed any more. This totally messed-up the admin panel. Once I put them back, the admin panel returned to normal. Maybe a note in the docs saying don't delete the originals might prevent another dope like me from making that mistake?

Anyway, I just wanted to say that this is a REALLY nice add-on! Except for the goof with the admin panel, the install went flawlessly, the docs were understandable, and the features work perfectly!

Thanks SO much for your work, and for helping all of us folks out here get Theme Switcher working!

Regards,

Chris

Edited by Chrison, 24 May 2012 - 07:00.


#237 ONLINE   kymation

kymation

    Code Monkey

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

Posted 24 May 2012 - 16:33

I try to cover everything, but people keep finding new ways of breaking things. The most important advice I can give is to follow the instructions exactly. Don't do anything that isn't explicitly stated. Of course that only works if the instructions are correct to start with.

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


#238   figuera

figuera
  • Members
  • 6 posts
  • Real Name:Juan Antonio Postigo
  • Gender:Male

Posted 24 May 2012 - 17:17

Thank you for your code, you excellent documentation and the help you offer here.
After installing Theme Switcher I have lost the localization of the datepicker. I have copied catalog/includes/languages/english/modules/header_tags/ht_theme_switcher.php to catalog/includes/languages/swedish/modules/header_tags/ht_theme_switcher.php (by the way, it would be a good idea to warn in the documentation that this step is needed when using more languages), and I have checked that I have the line
define('JQUERY_DATEPICKER_I18N_CODE', 'sv');
in both catalog/includes/languages/swedish.php and catalog/admin/includes/languages/swedish.php,
and that i have the filecatalog/ext/jquery/ui/i18n/jquery.ui.datepicker-sv.js with the right settings, but the default English datepicker appears on Swedish pages.

Edited by figuera, 24 May 2012 - 17:23.


#239 ONLINE   kymation

kymation

    Code Monkey

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

Posted 24 May 2012 - 18:14

The datepicker localization code (in template_top.php) is:

<?php
if (tep_not_null(JQUERY_DATEPICKER_I18N_CODE)) {
?>
<script type="text/javascript" src="ext/jquery/ui/i18n/jquery.ui.datepicker-<?php echo JQUERY_DATEPICKER_I18N_CODE; ?>.js"></script>
<script type="text/javascript">
$.datepicker.setDefaults($.datepicker.regional['<?php echo JQUERY_DATEPICKER_I18N_CODE; ?>']);
</script>
<?php
}
?>


Move that code after this line:

<?php echo $oscTemplate->getBlocks('header_tags'); ?>


Please let me know if that 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


#240   figuera

figuera
  • Members
  • 6 posts
  • Real Name:Juan Antonio Postigo
  • Gender:Male

Posted 24 May 2012 - 19:14

Yes, that worked!
Thanks a lot!