Closed (fixed)
Project:
Dynamic display block
Version:
7.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2011 at 07:08 UTC
Updated:
16 Nov 2011 at 07:20 UTC
I am using ddblock in a site currently in development in D7.8. Problem is: it doesn't show up when:
a) not logged in (doesn't show up in final HTML at all)
b) logged in (shows up in HTML, but doesn't display images)
I have installed the jquery.all script at the specified location, but in the settings-tab, ddblock says I need to install it. Further, Chrome shows an error at line 167 of the ddblock.js-script: cannot read property 'defaults' of undefined.
Support would be greatly appriciated. Thanks in advance!
Comments
Comment #1
ppblaauw commenteda) Probably no permission are given to anonymous users to view ddblock slideshows. (see permissions page)
b) maybe the content permissions module is enabled and no permission to view image field
The directory is: sites\all\libraries\jquery.cycle
The file is: jquery.cycle.all.js (don't use light version of cycle plugin)
Do you have a link to the page on your site with the slideshow?
Comment #2
FilipWitkowski commentedIn my web site, the problem is with some interference with DHTML Menu module. When I set it to "Expand on Bullet", than images and text in DDblock stop showing up (for anonymous user) and JS functionality in search box (hiding default text when clicked) stop working. I think this has to do something with jQuery libraries.
Anyone has any idea how to correct this?
Filip
Comment #3
ppblaauw commented#2
Are there javascript errors on the page with the slideshow?
Do you have a link to the slideshow on your site?
Comment #4
FilipWitkowski commentedIE shows this error:
the line is
the main page, where ddblock is not working and search button don't work well, is here, and if you check other pages like this one the dynamic menu works. (with one problem with smoothness of animation).
Filip
Comment #5
FilipWitkowski commentedI figured out temporary fix: since variable shift is not used in my configuration, I just commented out the line.
Now I have to find fix to correct smoothness of animation.
Comment #6
ppblaauw commentedLooks like the javascript error with the dhtml_menu module causes the remaining javascripts (including the javascript for the slideshow) not to run.
Your page does not have a .menu class
Removing the line will solve the javascript error and the javascript for the slideshow will run.
Adding a class .menu to the menu will probably also solve the issue
Hope this explanation helps
Set status to fixed
Comment #7
rikthoff commented#1
It works! Thanks man, you rock!
Comment #9
chandantyagi commentedI have got the problem that there were no image and content in view DDBlock Slideshow while the user is logged out.
by disabling content permissions module works and now anonymous user can also view the image and content of the slideshow