Introducing Item Switcher...

Wait…I just saw this thread…For reaaal?

arrowthemes said

Wait…I just saw this thread…For reaaal?

did you read that thread…

OrganicBeeMedia said
arrowthemes said

Wait…I just saw this thread…For reaaal?

did you read that thread…

Yep! I did…eventually…Its in the pipeline :smiley:

I have just started to play with it, and boom 5 mins and it’s ready! :slight_smile: Thanks!!

arrowthemes said

Thanks for the code, George :wink:

Here’s my modified version: http://demo.arrowthemes.com/redirect.php?theme=clarke-joomla

If you’ve noticed when you first load the preview, the styles are loaded nicely and the user can switch between theme styles. However if the user selects a different theme, I’m not able to load the php array list of the selected theme via js.

What I’ve done for the styles is add it as part of the array of the theme list - that kinda makes it hard for me to pull the list using javascript, obviously due to my limited knowledge in php/js. At the moment am just setting the styles list of the selected theme to blank to avoid the previous list from being visible.

I’d appreciate some help from any one on how to load the list of styles from the php array to the javascript on click event.

Here’s my PHP array code:

http://snippi.com/s/hs4yzx4

Here’s my js click event for the theme switcher:

http://snippi.com/s/xqn66qe

many thanks,
Joel

I'm LOVING this! Any chance I can get the source files? This would complete my new theme shop and get me up and running on TF!

Awesome

Super! Thanks!

Thanks for this. Its very useful, Gonna use it pretty soon.

arrowthemes said

Thanks for the code, George :wink:

Here’s my modified version: http://demo.arrowthemes.com/redirect.php?theme=clarke-joomla

If you’ve noticed when you first load the preview, the styles are loaded nicely and the user can switch between theme styles. However if the user selects a different theme, I’m not able to load the php array list of the selected theme via js.

What I’ve done for the styles is add it as part of the array of the theme list - that kinda makes it hard for me to pull the list using javascript, obviously due to my limited knowledge in php/js. At the moment am just setting the styles list of the selected theme to blank to avoid the previous list from being visible.

I’d appreciate some help from any one on how to load the list of styles from the php array to the javascript on click event.

Here’s my PHP array code:

http://snippi.com/s/hs4yzx4

Here’s my js click event for the theme switcher:

http://snippi.com/s/xqn66qe

many thanks,
Joel

Just found this thread and have to say -> thanks!!!
Was looking for something like this for days :frowning:

Arrowthemes (Joel) - your bar looks awesome.
Any chance you could wrap it up complete for download?

Doin

Super like this post… I will use it… :slight_smile:

Just had a great hour or so setting up and tweaking this for my plugin - superb work! thank you so much!

I dont know why i didnt start using it sooner

Thanks for sharing. You’re awesome! :wink:

This is a wonderful item switcher, thank you. I have a question:

I have implemented with the addition of the preview images. Now I’m trying to figure out how to set a fixed height and scroll through a number of items.

I can’t figure out how to get the span holding the preview image to float on top of the list. It is stuck inside the box, so on scroll I am getting a horizontal scrollbar.

Has anyone added a scrollbar to this that could give some advice?

I know this thread is pretty old but I was wondering if anyone had recently tried implementing this? I followed the directions but when I tested it out I was just redirected to http://labs.burntfeathers.com. I checked out the redirect.php and saw the line top.location.href = ‘http://labs.burntfeathers.com/?theme=<?php echo $current_theme; ?>’; and figured that was the culprit.

The original instructions did not mention anything about modifying the redirect.php. I tried a couple of things but nothing seemed to work. Anyone else having a similar issue?

refaktor said

I know this thread is pretty old but I was wondering if anyone had recently tried implementing this? I followed the directions but when I tested it out I was just redirected to http://labs.burntfeathers.com. I checked out the redirect.php and saw the line top.location.href = ‘http://labs.burntfeathers.com/?theme=<?php echo $current_theme; ?>’; and figured that was the culprit.

The original instructions did not mention anything about modifying the redirect.php. I tried a couple of things but nothing seemed to work. Anyone else having a similar issue?

I am using it for a month and it is working in a fantastic way. Thanks for making this amazing item switcher. ThemeProvince (The developer of this switcher) is really a super star. :slight_smile: Thank you again.

thanks for this contribution :slight_smile:

Just Perfect :slight_smile: Thanks !!

One question cause I little struggle:

Can anyone post right way to include this on Wordpress multisite?

By the way it’s really great, thanks!

Thanks mate! I’ve always looked for a tutorial on this but couldn’t quite find what I was looking for! :slight_smile: great share!

I have a small problem, why that always opens the first theme from the array, at whom that was it?
how to solve?