Hello to all. I present you just another themes/templates switcher that might be of use the TF authors and to all envato community. Just to let you know, there’s another great item switcher from our colleague author ThemeProvince (link: http://themeforest.net/forums/thread/introducing-item-switcher/42612). Btw, great job mate
Basically, it removes the TF preview frame and replaces it with this custom item switcher (dry-switcher). You can freely use it, share it, rename it, alter it, toss it… If you can improve it, please do that and share with other authors here so we can all have one nice themes/templates switcher.
When you install it (simple upload), all you need to do is to change links inside sites.xml. Also, in downloadable .zip file you’ll find .PSD with icons, dropdowns, logo, etc so you can easily restyle the switcher.
DownloadSource files: http://www.sendspace.com/file/2ksm1k
DemoFor a demo, please view one of my themes/templates (I cannot paste the link. It will be considered as self-promotion and I do not want that)
InstallWhen you unzip downloaded file (dry-switcher.zip), inside dry-switcher folder you’ll find two more .zip’s.
01. dry-switcher.zip (that’s actually all you’ll need) and
All you need to do is to upload dry-switcher (01.) folder on your server. You will just have to modify this three files: index.php, main.js and sites.xml
//If theme-switcher request is not valid, user will be redirected to this address header('Location: http://demo.ourmodestsiteexample.com/');
//Replace "yourdomain" with your own domain if(/themeforest\.net|yourdomain\.com$/.test(top.location.hostname))
And one more thing that you need to do is to modify sites.xml file, which is used as configuration file for the themes. You’ll find that inside sites.xml file are actually links to my items, please change that as well
And that’s it. I hope someone will find this useful.
Nice one but where is responsiveness?
- Microlancer Beta Tester
- Grew a moustache for the Envato Movember competition
- Most Wanted Bounty Winner
- Exclusive Author
- Sold between 5 000 and 10 000 dollars
- Has been a member for 0-1 years
- Referred between 1 and 9 users
- Bought between 1 and 9 items
wow nice!!! thanks =)
http://tutspress.com/tutorials/theme-demo-switcher/ try this one it includes a screenshot.
^ actually, my switcher includes a screenshots too. You can play with screenshot size.
^ well, that would be just great! Maybe we can put this switcher on github…
When I change the those two links to my demo link it refreshes too much and the switcher doesn’t work can anyone help me with that?