213 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+3 more
JOGJAfile says

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

93 posts
  • Has sold $1,000+ on Envato Market
  • Has referred 1+ members
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+6 more
tinyamasisurum0 says

thanks.. will be helpful a lot

1959 posts Don't Worry, Be Happy
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has referred 200+ members
+8 more
FinalDestiny says

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

1 post
  • Has been part of the Envato Community for over 3 years
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
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
  • Has referred 1+ members
  • Sells items exclusively on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 3 years
+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

SnoopyIndustries
SnoopyIndustries Recent Posts Threads Started
399 posts
  • Has sold $40,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Joined an Envato Football competition
+3 more
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?

3503 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 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 :)

SnoopyIndustries
SnoopyIndustries Recent Posts Threads Started
399 posts
  • Has sold $40,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Joined an Envato Football competition
+3 more
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!

761 posts Theme20.com
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
+11 more
T20 says

Thanks bro :)

56 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
Mladjo says

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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by