226 posts
  • Affiliate Level 1
  • Author Level 5
  • Collector Level 1
  • Exclusive Author
+3 more
JOGJAfile
says

thanks a lot for sharing his files,. :):D greetings.

97 posts
  • Author Level 3
  • Affiliate Level 1
  • Most Wanted Winner
  • Winner
+6 more
tinyamasisurum0
says

thanks.. will be helpful a lot

2065 posts Don't Worry, Be Happy
  • Trendsetter
  • Weekly Top Seller
  • Exclusive Author
  • Elite Author
+9 more
FinalDestiny
says

Did mine too, changed the graphics quite a bit, but thanks for the code! http://demo.teothemes.com/

1 post
  • 3 Years of Membership
  • Collector Level 3
  • Exclusive Author
Extreme-Themes
says

Hi guys, Great code, but I can see that a lot of authors use toolbar theme switcher with test for responsive design. Would be fantastic to add this option.

Thanks.

1 post
  • Affiliate Level 1
  • Exclusive Author
  • United States
  • 3 Years of Membership
+1 more
ericbaranowski
says

I can’t believe this was free, this is better than any paid coding I’ve ever used. I searched and searched and searched and couldn’t find anything like this before finally stumbling upon this. AMAZING piece of work. THANKS SO MUCH FOR SHARING!!!

-Eric

415 posts
  • Elite Author
  • Trendsetter
  • Author Level 7
  • Exclusive Author
+4 more
BigBangThemes
says

Hi guys, can I get some help here please?

I’ve placed the code as requested in folder.something.com and done everything right. The first method listed here here was working, but the hover thing is amazing so I must have that as well. Problem is that while everything works great, it doesn’t actually display anything the first time around, so kind of a big prob.

Code:

$theme_array = array (

'wd'    =>    array (
"id" => "WD Responsive",
'type'    => "Email Template",
"url" => "http://www.am-themes.com/wd_email",
"themeforest" => "http://themeforest.net/item/wd-email-clearn-responsive-email-template/4495512?ref=am_themes",
"preview"    => "http://3.s3.envato.com/files/53628906/01_preview.__large_preview.png",
"mobile_redirect" => true,
),

and the redirected site looks like this:

http://labs.am-themes.com/?theme=wd

help?

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

Looks like you haven’t set a theme based on your ?theme parameter.

For example, you grab that ID

$current_theme = isset($_GET['theme']) ? $_GET['theme'] : 'wd';

then you pull the URL for that ID out of your themes array, so you have a $current_theme_url

$current_theme_url = $theme_array[$current_theme]['url'];

Then you use that theme url to load the iframe in index.php

< iframe id="iframe" src="< ?php echo $current_theme_url; ?>" frameborder="0" width="100%"></ iframe>

Right now your iframe src is empty, so the $current_theme_url wasn’t set properly

Hope that gets you pointed in the right direction :)

415 posts
  • Elite Author
  • Trendsetter
  • Author Level 7
  • Exclusive Author
+4 more
BigBangThemes
says

Looks like you haven’t set a theme based on your ?theme parameter.

For example, you grab that ID

$current_theme = isset($_GET['theme']) ? $_GET['theme'] : 'wd';

then you pull the URL for that ID out of your themes array, so you have a $current_theme_url

$current_theme_url = $theme_array[$current_theme]['url'];

Then you use that theme url to load the iframe in index.php

< iframe id="iframe" src="< ?php echo $current_theme_url; ?>" frameborder="0" width="100%"></ iframe>

Right now your iframe src is empty, so the $current_theme_url wasn’t set properly

Hope that gets you pointed in the right direction :)

Thanks a lot for your help, you’re the best! I Owe you 1!

784 posts Theme20.com
  • Author Level 8
  • Elite Author
  • Featured Author
  • Featured Item
+12 more
Codevz
says

Thanks bro :)

56 posts
  • 5 Years of Membership
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
+2 more
Mladjo
says

@ThemeProvince, @sevenspark Thanks a lot, you are great :)

by
by
by
by
by
by