Hey there,
I've got Gallery integrated into my Drupal setup and it works great. I just have one little issue. I need to hide the content of my right sidebar on all Gallery pages. The only content on the right sidebar is my Random Image box. I have managed to hide it on the main gallery album /gallery by adding "gallery" to my "Page specific visibility settings" within my block settings.
By putting "gallery" in this section Drupal knows to hide my block on any page after /gallery. The only problem is that the rest of my gallery pages don't follow in the /gallery/* directory. Instead, the URLs look like this --> http://mysite.com/index.php?q=gallery&g2_itemId=2714
So, Drupal isn't being told to hide the block on these pages. Does anyone know how I would go about hiding the block on all pages that have "index.php?q=gallery" in them? Or how else I could fix this problem? Thanks!
Comments
I found one ugly workaround.
I found one ugly workaround. Instead of selecting the "Show on every page except the listed pages" option, I chose the "Show on only the listed pages" option and added these pages:
node/*
That should put the block on most pages that I create and I can add others if needed. If anyone knows how to do it the other way, I'd still appreciate it :).
use URLRewrite?
I am pretty sure if you use the URLRewrite module, you can set up any block to show on v/Gallery/*. I've done that several times, activating the module and setting it up,changing the rules for it, and then tearing it down. My problem is that I want a block to show on only PARTICULAR ALBUMS, which seems like it's a lot harder. Anyway, if you use URLRewrite, I really think it will do exactly what you are asking.