Posted by blakbro2k6 on September 22, 2009 at 8:24pm
Jump to:
| Project: | Dynamic display block |
| Version: | 6.x-1.0-rc6 |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
This is the site. http://www.virginialions.org
This is the issue. I have installed the latest DD Block and all was well. However I also installed CCK Gallery and after that, the images no longer appear. When looking at the mark up with firebug,
I found that this happened after CCK Gallery by installing a fresh instance of Drupal. DD Block works once I installed CCK Gallery it stopped. I tried to uninstall CCK Gallery and no avail.
Has anyone encountered this at all?
Comments
#1
Here is a screen shot of Firebug and the
tag it puts.
#2
I had a look at your Internet site and see that you use the same dynamic display block twice on one page.
This will not work.
If you want the slideshow twice on one page you need to create another ddblock instance for the second slideshow.
Maybe this is the issue and not installation of CCK Gallery.
Hope this helps you further, please let me know.
#3
I apologize for the late response. Those multiple instances were a debug attempt, they are gone now, what it did was delete the instance and created a brand new one hoping that could help. I am also in the process of setting up two more domains that we could possibly log into and use to do a QA.
pre.virginialions.org/drupal
post.virginialions.org/drupal
one will have CCK gallery (post), one will not (pre)
I have checked all of my permissions and both content and DD Block are all available to the users.
I am trying to run though on the fly what I am doing to debug. I'll post any more info i get.
I will also post up my template.php this evening.
#4
*UPDATE* I have performed a test to validate my theory and confirmed its truth. I invite anyone to verify.
Here is what I did:
I created new drupal subsite with only the bare minimums to activate DDBlock and CCK Gallery.
CCK
Depends on: ImageField (enabled), Node Reference (enabled), Content Copy (enabled), Views (enabled), ImageCache (enabled), Content (enabled), FileField (enabled), Text (enabled), Option Widgets (enabled), ImageAPI (enabled)
DDBlock:
Depends on: jQuery Update (enabled)
Obviously I installed Views, CCK and their dependencies.
I set up the preprocess, content and view for DDBlock and got it to display items.
Then I activated CCK Galleries. The Dynamic Drive Block was no longer able to display any of the images. Has anyone ever encountered this? I am unsure all of what CCK Galleries is doing during the install but something does not seem to agree with DDBlock.
#5
I am postponing this issue in case someone else has an issue. It seems to be isolated however I was able to reproduce it several times. With the http://drupal.org/project/backup_migrate module I have a proper and adequate backups on my site.
#6
This trouble seems to appear when some node type has a CCK 'node reference' field and any view in "Advanced - Nodes that can be referenced (View)" section of this field is selected.
If there are no any view selected - no problem.
#7
Additional info:
we use "views_views_pre_execute(&$view)" function in our template.php to edit views query, some like that:
function views_views_pre_execute(&$view) {
if($view->name=="test_view") {
$view->build_info['query']="
SELECT....
";
}
}
"test_view" - view that selects nodes to be shown with the ddblock.
And when node reference field of any node has any view being selected to filter nodes that can be referenced, this function doesn't work for views used by ddblock.
#8
#9