190 posts
  • Referred between 1 and 9 users
  • Exclusive Author
  • Has been a member for 1-2 years
  • Author had a Free File of the Month
  • Indonesia
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
JOGJAfile says

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

78 posts
  • Exclusive Author
  • Won a Competition
  • Most Wanted Bounty Winner
  • Sold between 100 and 1 000 dollars
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • Envato Studio (Microlancer) Beta Tester
  • Turkey
tinyamasisurum0 says

thanks.. will be helpful a lot

1715 posts Don't Worry, Be Happy
  • Beta Tester
  • Grew a moustache for the Envato Movember competition
  • Elite Author
  • United States
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 3-4 years
  • Referred between 200 and 499 users
  • Most Wanted Bounty Winner
+2 more
FinalDestiny says

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

1 post
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 2-3 years
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
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
  • United States
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

SnoopyIndustries
SnoopyIndustries Recent Posts Threads Started
343 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 1-2 years
  • Referred between 10 and 49 users
  • Sold between 50 000 and 100 000 dollars
SnoopyIndustries 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?

3422 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Community Moderator
  • Bought between 100 and 499 items
  • Referred more than 2000 users
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+4 more
sevenspark Volunteer 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 :)

SnoopyIndustries
SnoopyIndustries Recent Posts Threads Started
343 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 1-2 years
  • Referred between 10 and 49 users
  • Sold between 50 000 and 100 000 dollars
SnoopyIndustries 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!

689 posts Theme20.com
  • Won a Competition
  • Elite Author
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
  • Has been a member for 2-3 years
+2 more
T20 says

Thanks bro :)

56 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 10 000 and 50 000 dollars
  • Sweden
Mladjo says

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

by
by
by
by
by
by