Closed (fixed)
Project:
Imagemenu
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2007 at 23:01 UTC
Updated:
8 Dec 2007 at 00:05 UTC
I'm creating a website and would like to have two image menus on it, but it doesn't seem possible. Am I missing something, is this possible? If not, has anyone written any patches that allow you to do this?
Comments
Comment #1
pobster commentedHmmmm oddly Drupal is supposed to email me when there are new issues and well... It hasn't and so I've been unaware that any of these issues are here!
Anyways, erm - why are you having problems? Works fine for me; http://www.essexairambulance.co.uk
Pobster
Comment #2
stg11 commentedI'm having the same problem. In the imagemenu settings, you can only choose one imagemenu for the block -- it does not create a block for each imagemenu. I would like to put an imagemenu block in a panel and have a separate imagemenu block in the page header. Is there another way to do it or does there need to be a patch? I'm not sure how you got the two menus to work on http://www.essexairambulance.org.uk/
Comment #3
pobster commentedThe block which is there is only really there for an example, you're really supposed to use the filter to show the menus - so yes, you're supposed to 'roll your own' - just create a new block and using the input filter which you've enabled to show the imagemenus, stick in the filter.
Pobster
Comment #4
stg11 commentedThanks for your help but I'm still confused. I must be missing something. Are you talking about the filters on the Imagemenu Settings page? If so, it only allows changing the sitewide filter not creating new filters. So I can switch but I don't see anyway to add a new imagemenu block. When you say create a new block do you really mean create a new imagemenu? Creating a generic block just has a body area with no filter selection. (Right now I'm simulating the imagemenu with my own html markup) Or do I need to go into the code and add something or put some php code into the block?
BTW, I'm trying to put the first imagemenu in the header area of every page and a second imagemenu in a panel (I'm using panels 2 but had the same problem with panels 1)
I would really appreciate a more specific answer. Thanks.
Comment #5
pobster commentedSorry for the delay in replying (hope you've not given up on it already?!) Anyways, I now have a working 5.x install and can clearly see that you're given the choice of which input filter to use when you're defining a new block. If you're not familiar with input filters then please read up on them in the handbook.
This is all going to be pretty irrelevant soon as I'm going to rewrite this module... Soon-ish anyway...
Pobster
Comment #6
stg11 commentedIt's working fine for me now, using the filter. Since it's working for me and glazer hasn't posted anything more on this, I'm closing it
Here's a step-by-step guide:
1. install and activate the imagemenu module
2. Create imagemenus by going to admin/build/menu/imagemenu. Keep track of the menu ids
3. Create a filter by going to admin/settings/filters/add. Check the box that says Imagemenu Filter
4. Create a block by going to admin/build/block. Enter [imagemenu:nn] in the block body where nn is the menu id saved in step 2.
5. Configure block options as desired and/or add block to a panel
6. Optionally adjust css to suit your needs
I hope this is helpful to others.