I integrated gallery 2 with Drupal 6.6 (theme is garland).
I would want to make a similar album navigation as shown in http://d6.drupalgallery.com/
So I just want the albums listed as a block in the left sidebar. How can I do this?
I tried to test how to enable gallery 2 blocks via drupal by going admin/build/block/configure/gallery/block-1 in Drupal and configuring the block. I tried to choose different block types but they are not shown -- except when I choose image block, then I'm able to see this block. So, I'm pretty confused..
Is there a php snippet with which I could show the albums or something??
Any help appreciated!
I also tried to post this on the gallery2 forum http://gallery.menalto.com/node/83586 but didn't receive any comments..
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | gallery_report.ods | 15.02 KB | wpanssi |
Comments
Comment #1
wpanssi commentedI still can't see most of the blocks. I attached a debug report to this post.
Comment #2
wpanssi commentedI've tried everything that has come to my mind so I'm changing this to bug report..
Comment #3
profix898 commentedThe reason why most block types do not show immediately is that they required a certain context to work. What means a block showing details of an album is only visible on album pages, etc.
What you are looking for is probably the GalleryMenu module (which is part of the gallery module package). Thats the module generating Drupal menu items for all your G2 albums. By default - without this module - you only get the 'Gallery' link.
Comment #4
wpanssi commentedBut I have the galleryMenu module enabled! You can see it in the attachment in post #1.
Comment #5
profix898 commentedYou are complaining about the blocks - except for the image block - not showing up, right? So I explained to you in #3 why this is. What else is your problem? I mean "Is there a php snippet with which I could show the albums or something??" isnt very clear. The image block can be configured to show items from an album. But I thought you want a navigation tree for albums and that the GalleryMenu module. So you enable that one already, what else? Did you check the config options for GalleryMenu? Do the link items show in the menu administration? Please give a detailed description of your problem and I will try to help you ...
Comment #6
wpanssi commentedYes, I want to have a navigation tree for my albums. I have enabled the gallery menu but I'm still getting only the gallery -link. There is no links to the albums. I have following settings in admin/settings/gallery related to gallery menu and blocks:
(I guess this is what you ment by "config options for GalleryMenu", correct me if I'm wrong)
Gallery menu settings:
Parent item: --gallery (under navigation)
Gallery block settings:
Number of blocks 4
In the admin/build/block/configure/gallery/block-1
I have also a block with block type Album tree.
I noticed that despite I have enabled gallery menu module I have no entry related to the module in the permissions page. However, I have gallery menu settings in admin/settings/gallery so maybe that's just the way it is.
And I was asking for a php snippet cause I can't seem to make the navigation tree for albums work, so I was wondering could I make a custom block with php code to implement the navigation gallery..
But anyways, thanks for your efforts so far!
Is there some piece of information you are still missing?