-
AuthorPosts
-
October 26, 2013 at 10:54 am #180978
Hi,
prior to buying the Enfold theme I used “Radar” plugin which I bought on the envato marketplace. This plugin allows to set a landing page for visitors and let authenticated users see the site normally. It is very useful for development purposes. You can find the details of this plugin on http://codecanyon.net/item/radar-landing-page-plugin/2992253.
But when I activate the Enfold theme it doesn’t work anymore.
Does anyone have ever encountered a similar problem or does someone know how I could overcome this issue (maybe by modifying a bit of code) ?
Cedric
- This topic was modified 11 years, 2 months ago by ctexier.
October 28, 2013 at 3:25 am #181359Hey ctexier!
I’m sorry but we don’t have the access to the plugin. Can you please give us a link to the page? What issues are you experiencing with Enfold while the plugin is installed?
Best regards,
IsmaelOctober 28, 2013 at 10:53 am #181508Hi,
Enfold has no particular issue in itself.
But the plugin should allow me to show a landing to all visitors of the site, though when logged in I can see and develop de site. You can have a preview of how the landing page looks at .
Though when Enfold is activated everybody lands on the homepage.Maybe I can provide you the plugin for testing purposes !?
Regards,
CedricOctober 29, 2013 at 8:56 am #181950Hey!
Please ask the plugin author how he redirects the users to the pages. If he uses the “template_redirect” hook it may conflict with our template builder because we use this hook in enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php to load the advanced layout template. If the plugin uses this hook you probably need to set a higher priority value for the Radar plugin redirect action and then WP should load the right template.
Best regards,
PeterOctober 29, 2013 at 12:11 pm #181983Hey!
I didn’t ask yet but i’ve found the following code in one of the plugin files :
add_action('template_redirect', 'check_radar_enabled', 999)
It looks like they actually use the “template_redirect” hook. How can I change the priority of the redirection to the plugin ? Is this the “999” value that sets the priority ? If so which value should I use ?
Regards,
CedricOctober 29, 2013 at 12:43 pm #181993I managed to change the priority in the radar plugin and have the redirection working properly.
At first I couldn’t log in or log out of the site. I was having a “406” error which said that my action wasn’t allowed or something like that. Though I tried different values lower or higher than the default value (which is 10) and if the value was higher than 10 the redirection didn’t work, but if the value was lower or equal to 10 the redirection worked properly but i couldn’t log in or log out.
At tried one last time tot set the value to 10 and I don’t know why but it is now working properly (redirection and log in / log out).
Thank you for your help !
Regards,
CedricOctober 30, 2013 at 5:52 pm #182507Hey!
Glad you solved the issue :)
Cheers!
Peter -
AuthorPosts
- The topic ‘Interference with Radar Plugin’ is closed to new replies.