Closed (cannot reproduce)
Project:
Media Nivo Slider
Version:
7.x-1.2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2012 at 19:43 UTC
Updated:
6 Dec 2013 at 17:55 UTC
Jump to comment: Most recent
Comments
Comment #1
peronas commentedHi DaveLindberg,
Sorry for the delay on responding. Taking a look at the pages you provided it looks like the pages that are missing the arrows are not loading the 'sites/all/libraries/nivo-slider/themes/default/default.css' file for the default nivo slider theme.
It looks like it might be possible that you are having a collision with the default.css from the Superfish library you are also using.
There are a couple of things you could try to test out if this is indeed the issue. The first would be to try a different nivo slider theme, or just temporarily rename the default theme. Be sure to follow the convention for adding new custom themes, you can reference the README file in the module for the details. Once you've added or renamed a theme clear your Drupal cache and select the new theme in the Slider settings before checking if the arrows are fixed.
If you're comfortable with diving into the module code you could add a basename value to the drupal_add_css() call in the media_nivo_slider.module file. If the issue is a file name collision, this will likely be the long term solution that I'll commit to the project as soon as I can if this turns out to be the issue.
You would need to change the following line in the 'media_nivo_slider_block_view' function from this:
To this:
Since default.css is a pretty common file name the collision issue is my best guess at the moment.
Let me know if any of the above needs clarification or doesn't resolve the issue and I'll see what I can do to help further!
Comment #2
peronas commentedCommitted change to add basename to theme CSS file to both 7.x-2.x, and 7.x-1.x branches. I will make a stable release at the end of the month to include this and other changes.
Comment #3
DaveLindberg commentedHi Peronas,
Thanks for the info, and I too apologize for the delay in responding. Changing the slider's theme from default to Orman or Pascal works fine: all CSS images load properly.
I proceeded to revise the media_nivo_slider.module file as per your directions. However, the new code makes no difference on displaying the default module theme.
We've migrated the dev site to a new address; you can see the latest here: http://gcdevsite.tklapp.com/admissions/how-apply#
Thanks,
Dave
Comment #5
peronas commentedAfter making the modifications to the media_nivo_slider.module file did you clear Drupal's cache at all before testing the changes?
I've committed the above modification and pushed a formal release out as a few other people were experiencing collision issues as well. In my local testing the above solution resolved the issue.
You might try updating the module to at least the 7.x-1.3 version, and see if that fixes the issue. Be sure to clear the cache after updating.
If updating still doesn't work, the renaming suggestion above should still work for you. If you duplicate the 'default' theme folder and rename all the files and the folder to something like 'basic', 'basic.css', etc. You can select the newly duplicated theme and avoid the collision on the 'default.css' file. Again, be sure to clear the cache after renaming all the files so the newly duplicated theme shows up in the selection set.
Doing this would at least make the arrows appear and the slider look correct while we explore the root of the issue further.
Comment #6
spasebar commentedHi all I am having this exact same issue as well, but on our homepage. And where the buttons should be that allow you to change images they are now at the top left and they are now numbered like "1234". Hope an update is in the works soon. Other than that Nivo Slider is GREAT. I really love it so far. Just wish I could figure out how to figure out this issue.
Comment #7
peronas commentedHey Spasebar,
I'll see if I can help you out, do you have a URL that I can look at for a page that you are experiencing this issue?
Also, which Nivo Slider theme are you using? Do you experience the same issues with other themes?
Lastly, which version of the module are you currently using?
Thanks!
Comment #8
spasebar commentedHey Peronas,
Thanks a bunch!!
Sure, here is my url
I am using Views Nivo Slider version 7.x-3.x-dev. I am using the default style. I do not have the same issue with Orman or Pascal. Is this what you are asking? And it looks like I am using Nivo Slider version 2.7.x.
I hope this is the correct information you are asking for. For the 7.x.3.x-dev, that is what it says in Modules. For the 2.7.x version, that is what it says when I go to Views and click on Settings.
Thanks so much Peronas!! :)
Comment #9
peronas commentedHi spasebar,
Ah looks like there might be a bit of confusion, this issue queue is for a the 'Media Nivo Slider' module. The 'Views Nivo Slider' module can be found here: http://drupal.org/project/views_nivo_slider
There's a ton of slider modules :)
Unfortunately, I'm not too familiar with the Views Nivo Slider module so I can't be much help. You might search through the issue queue over there and see if you can find similar issues to what you are experiencing or creating a new issue.
Comment #10
spasebar commentedOh whoops!! I thought they were kinda the same or something. Well thanks peronas, I will definitely check out that link.
Comment #11
spasebar commentedHey peronas, and anyone else who might think this is Views Nivo Slider and is having the same issue has me.. I figured it I think. I was using version 7.3.dev, once I switched to 7.2.dev it, started working perfectly!! Accept in IE8 of course. But you just have to tweak the CSS a little.
Comment #12
peronas commented