[Addon} Theme Switcher
#201
Posted 09 January 2012 - 06:01 AM
Regards
Jim
Banners Box 2.3.x Support
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
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
Theme Switcher 2.3.x Support
#202
Posted 18 January 2012 - 02:28 AM
#203
Posted 18 January 2012 - 02:38 AM
Regards
Jim
Edited by kymation, 18 January 2012 - 02:38 AM.
Banners Box 2.3.x Support
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
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
Theme Switcher 2.3.x Support
#204
Posted 18 January 2012 - 10:59 PM
I would like to know if there would be a way to change the code in Theme Switcher in order to have Google API references and let Google host the Jquery files.
I am using a Shared SSL and the file size limit is around 100kb per files. If the files are to big, some of the objects or icons will not show up on my webpage.
I know there is this mod on this post that you can do when not using Theme Switcher:
http://www.css-oscommerce.com/cut-page-load-time-in-oscommerce-2-3-osc-to-css/
but the required code needing to be replaced are the one needed to be deleted by Theme Switcher:
<link rel="stylesheet" type="text/css" href="ext/jquery/ui/redmond/jquery-ui-1.8.6.css" /> <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 replace the Jquery references in OSCommerce 2.3 open:
includes/template_top.php
replace:
<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>
with:
<script type="text/javascript" src="<?php echo (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on') ? 'https://' : 'http://') . 'ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'; ?>"></script> <script type="text/javascript" src="<?php echo (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on') ? 'https://' : 'http://') . 'ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js'; ?>"></script>
Any ideas on how to modify the code in Theme Switcher to have Google host the Jquery files?
Cheers
Dan
#205
Posted 18 January 2012 - 11:14 PM
Be careful to use the https includes correctly with the Google files. Also note that Google is sometimes slow, and that will slow your site response.
Regards
Jim
Banners Box 2.3.x Support
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
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
Theme Switcher 2.3.x Support
#206
Posted 18 January 2012 - 11:24 PM
Is version 1.1 compatible with OSC 2.3.1?
Also, how would I do the downgrade?
Undo everything from the instructions or just upload the files for version 1.1?
Thanks
Dan
#207
Posted 18 January 2012 - 11:33 PM
Uninstall Theme Switcher from the Admin, then upload all of the files over the existing files. If you have made other changes to your template_top.php, you'll have to patch that by hand, just like a new install.
Regards
Jim
Edited by kymation, 18 January 2012 - 11:38 PM.
Banners Box 2.3.x Support
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
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
Theme Switcher 2.3.x Support
#208
Posted 08 February 2012 - 09:42 AM
If I use the firefox tool, they'll show up when I browse different calendar themes, but when I download and install one, they are still missing like in the pic, no matter what theme I use. At first they were showing up fine when the default redmond was selected, so being the cool guy that I am, I thought I'd trick the system by renaming and replacing my custom images in the redmond images folder with mine.. but they dissapeared now on redmond. I even replaced all the redmond images back just as they were in the contribuion zip but they still don't show up anymore lol.
2.3.1 store, current version of the contribution, no other mods installed.
Thanks
[img]http://www4.picturepush.com/photo/a/7518977/640/7518977.png[/img]
#209
Posted 08 February 2012 - 06:49 PM
Regards
Jim
Banners Box 2.3.x Support
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
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
Theme Switcher 2.3.x Support
#210
Posted 16 February 2012 - 09:07 AM
#211
Posted 16 February 2012 - 08:43 PM
Regards
Jim
Banners Box 2.3.x Support
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
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
Theme Switcher 2.3.x Support
#212
Posted 16 February 2012 - 09:13 PM
kymation, on 16 February 2012 - 08:43 PM, said:
Regards
Jim
Nope! Thats the one file I missed..
thats what I get for trying to install something in the middle of the night when I should be sleeping. Thanks Ill give it a go now! Apologies for asking about something I should have easily read in the manual. I even re-read it 4 times but I must have been confusing it with admin/includes/modules/...
#213
Posted 16 February 2012 - 11:59 PM
kymation, on 08 February 2012 - 06:49 PM, said:
Regards
Jim
In regards to this issue. Ive used the template_top.php as provided in the add-on, but I think its removed the reference to jquery version.. Should I be bothering with that file or is it the module that controls this now?
Ive tried downloading and setting in the module, AND using the default OSC template_top.php and changing it in there, to no avail.
Ive put jquery (1.7.1.min.js) in /ext/jquery/
and then (ui-1.8.17.min.js)into the /ext/jquery/ui folder
Ive set these in the module as 1.7.1 and 1.8.17
I lose all theme formatting, whether in redmond or ui-darkness.
Am I missing something here?
#214
Posted 17 February 2012 - 12:40 AM
The files must be named EXACTLY as in the instructions. Variations will not work. Check your filenames, then use View Source in your browser to check the filename it is calling for. In Firefox you can click on the filenames in View Source and see if the file is being called correctly.
Regards
Jim
Banners Box 2.3.x Support
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
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
Theme Switcher 2.3.x Support
#215
Posted 17 February 2012 - 02:38 AM
Thanks a million for your advice and a really great contribution!
#216
Posted 28 February 2012 - 01:31 PM
buhlerax, on 20 December 2010 - 03:43 AM, said:
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
Edited by Jan Zonjee, 28 February 2012 - 01:55 PM.
#217
Posted 28 February 2012 - 06:05 PM
Regards
Jim
Banners Box 2.3.x Support
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
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
Theme Switcher 2.3.x Support
#219
Posted 06 March 2012 - 07:58 PM
Regards
Jim
Banners Box 2.3.x Support
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
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
Theme Switcher 2.3.x Support









