196 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.

82 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
  • Football Contest Participant/Runner-up
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • Envato Studio (Microlancer) Beta Tester
+1 more
tinyamasisurum0 says

thanks.. will be helpful a lot

1748 posts Don't Worry, Be Happy
  • Beta Tester
  • Football Contest Participant/Runner-up
  • 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
+3 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
349 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Football Contest Participant/Runner-up
  • 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?

3429 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
  • United States
  • Has been a member for 4-5 years
+5 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
349 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Football Contest Participant/Runner-up
  • 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!

707 posts Theme20.com
  • Elite Author
  • Won a Competition
  • Most Wanted Bounty Winner
  • Sold between 50 000 and 100 000 dollars
  • Has been a member for 2-3 years
  • Exclusive Author
  • Repeatedly helped protect Envato Market against copyright violations
  • Bought between 10 and 49 items
+3 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