-
Posted in : BookCard WP
-
I try to use the plug in revolution slider but even if sliders show up when I “preview” a portfolio page, nothing happened when I test the website after, I have a big blank space.
ps: I m using Xampp
And anyway you guys try it because it’s one of the most popular one for slider, and I already saw topics on this forum about the theme and sliders issues.
That would be great
You can try plugin’s support forum to implement it to the theme correctly. I think, the plugin author provides info about it.
Just in case here is a screenshot
Don’t know if it can come from the “adress” which looks differents
https://dl.dropboxusercontent.com/u/51921378/PlugInIssues.jpg
Here is a debug screen (online soon for more convenience I promise :D)
https://dl.dropboxusercontent.com/u/51921378/Capture%20d%27%C3%A9cran%202014-01-25%2018.45.05.png
It looks like the Slider’s height change to 0px.
Here is what I can find on their website
“My slider is not showing, there is no grey box but a JavaScript Error message saying “revolution” is not a function. What to do?”
This looks like the theme author or any plugin author of any activated plugin did not enqueue jQuery the WordPress way! Please forward your problem to the theme/plugin author and ask him to check if jQuery was implemented with wp_enqueue_script !?
“The Revolution Slider is not showing up. Instead I only see a grey box. What is happening?”
The theme you are using is breaking the Revolution Slider plugin and wil break certain other plugins too. This is a very well known bug in the WordPress theme community and should be gone by now. Please contact your Theme Author who should fix his theme with this article about his bug: http://pippinsplugins.com/never-remove-the-default-the_content-filters-in-themes/ If the theme author does fix his theme a quick workaround would be to use the [raw] shortcode wrapped around our revslider shortcode. Example: [raw][revslider yourbanner][/raw]
Thank you
Select post name option from settings > permalink, then try again.
Thank, now my links work together :D
Still have the slider issue but thank.
Let me know if you have an other genius idea like this one, I ll definitly take it.
:)
But there is still have the revolution slider’s issue :/
Can you provide a bit info from the plugin author about the issue?
I give him the same info than you. He said that his plug in appears with an heigh of 0px.
I ll try to find it, but an online version will be easier (of course, and I ll do that whenever I can, soon hopefully)Here is the team.
http://codecanyon.net/user/themepunchI noticed that when I click on a portfolio article from the home page I got this kind of adress
http://localhost/portfolio/#/portfolio/economy-design/
but in preview mode I got this
http://localhost/portfolio/portfolio/economy-design/
The # disapears and It works.
How can I change that?
Hi,
– Hash tag : in homepage we use one page layout and ajax functionality for portfolio items. So” #” in the url is required when you are on homepage.
– Revolution slider : It is hard to detect the issue by looking at screenshots. Let us know when you go live.
Hi, I put the website on live. It’s not the final server but you can have a look.
It seems that when I do a preview it’s working (I got slider until I go back to the main page).
In previews adress looks like http://www.laisney.org/erwann/?portfolio=fireman-vr and it worksBut When I m going normaly I got this kind of adress and it doesn’t work
http://www.laisney.org/erwann/#/portfolio/?portfolio=economy-designI got that from the plug-in team :
Hi Erwan,
I think the issue here is that when the slider initializes, it needs to calculate the size dimensions but isn’t able to because the content is initially hidden by the theme before it’s made visible on the page. You should be able to confirm this by changing the slider to a “Fixed” layout, where the size would be fixed and the slider wouldn’t need to make any calculations. The solution for this is probably to ask your theme’s author how the content can be made visible immediately without the “fade in” effect.
-Jason
Please make sure that you have done this step;
– Select post name option from settings > permalink, then try again.
I send you a MP with those information, cause when I do that, no portfolio items will show.
In fact I think everything works fine when the “/#/portfolio” is not in the adress bar. Don’t know why it appears.
Did you receive my log by mp?
Hi,
it is not about url actually.
Since portfolio single pages are loaded via ajax, if you need any extra script functionality(like revolution slider) on portfolio single pages;
– needs to initialize the script after each ajax call ended, / just before showing portfolio content.
It can be possible but it requires more hard work, we can only provide customizations of some lines of code.
As an alternative way we will add support for disabling ajax functionality for portfolio items, the script should work if we open portfolio single pages on a new tab not via ajax.
Thanks for the feedback.
Ok
What files do I have to look into?
It can be a great upgrade to your theme, I saw different topic about pictures or slideshow issues and I guess I m not the only one for whom it should be a great upgrade :D
Yes, we will release an update which disables ajax (optional) and opens portfolio single pages in a new tab.
– about initializing the script after each ajax call ended, you can look into
js/main.jsline: 448;// ajax : fill data p.empty().load($.address.baseURL() + '/' + url + ' .portfolio-single', function() { // wait for images to be loaded p.imagesLoaded(function() { // initialize your script hereI ll take a look and come back if I need more info.
Thank you a lot
From revolution slider creator
Hi Erwann,
Unfortunately editing their script isn’t going to work, as the script is automatically added to the page’s content itself (the reason why it’s normally compatible with Ajax themes). However, like I mentioned before, if there’s a way to prevent the new content from animating into view once it’s loaded, and instead just make it display on the page immediately, that should fix the primary issue here.
-Jason
ok,
– “if there’s a way to prevent the new content from animating into view once it’s loaded”
we can make this happen but i am not sure if it will fix the issue. Let’s give it a try;
– in
js/main.jsfind line : 465, you will see this;if(Modernizr.csstransforms && Modernizr.csstransforms3d) { // modern browser p.removeClass('animated '+ outAnimation + " " + inAnimation ).addClass('animated '+ inAnimation).show(); } else { //old browser p.fadeIn(); }just change it to this one;
p.show();
You must be logged in and have valid license to reply to this topic.