Jump to content

Archived

This topic is now archived and is closed to further replies.

jmad

RevSlider - Full Version - PHP? and best practice

Recommended Posts

jmad

I'm wanting to use the full version of RevSlider as a plugin (taking advantage of rev slider options including date control).  

 

What would be the best practice for doing this in DMS? 

 

So far, using the developer tools, I have disabled the built-in RevSlider.  I installed and have RevSlider running (as long as the general RevSlider setting to not load on every page is left off it works).  I added the shortcode to a PLNext fullwidth box and it's working well with one exception.  On pageload the slider is showing after the rest of the page.  

 

Will adding the <?php putRevSlider("homepage","homepage") ?>  instead of the shortcode help resolve? How would I implement this in a PLnext box or what would be the best plan for integrating the full version of rev slider into DMS?

 

Share this post


Link to post
Share on other sites
Simon

The plugin version of revslider is not a free to use plugin. We cant just include it in DMS.

 

Each slider you setup generates a unique shortcode if I remember correctly, just use that shortcode in your content. 

Share this post


Link to post
Share on other sites
jmad

Right, I understand the plugin isn't free.  I own a license or two of the plugin and yes it generates a shortcode that I have in a PLNext box (see initial post) and it works.  Doing it this way it seems to lag slightly behind the rest of the page on load.  I'm hoping there was a way to add it that would help avoid the mild lag or that's more efficient resource wise (a best practice).

 

Sometimes framework/theme developers have instructions about how to best integrate some of the more popular plugins.  I appreciate the built-in version of Rev Slider and the options included but for a couple of projects am wanting to integrate more options from the plugin.

Share this post


Link to post
Share on other sites
Simon

so what happens if you put the php version into the nextbox?

Share this post


Link to post
Share on other sites
Danny

What code did you add to the NextBox section ?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jmad

<?php putRevSlider("homepage","homepage") ?>

Share this post


Link to post
Share on other sites
Danny

You do not use <?php tags in the NextBox section, so if you want this to work you will probably need to use the following:

 

putRevSlider("homepage","homepage");

 

Then enable the PHP option.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Aires

Hi, I am curious whether or not this worked for jmad I tried it on my test site and it came up nextbox error.


ndTgvai.jpg

Visit iheartpagelines.com for the latest tutorials on PageLines related products.

 

Share this post


Link to post
Share on other sites
Simon

Hi, I am curious whether or not this worked for jmad I tried it on my test site and it came up nextbox error.

Check your error logs, might reveal the error.

Share this post


Link to post
Share on other sites
Aires

Ok it does work just have to remember to put the semi colon at the end.

 

Thanks


ndTgvai.jpg

Visit iheartpagelines.com for the latest tutorials on PageLines related products.

 

Share this post


Link to post
Share on other sites

×