Drupal directory help?
This is totally off the main Slacker Manager focus, but are there any Drupal gurus in the house? I’m working on a community site for admissions professionals and I’m stumped as to how to set up a simple directory of categorical weblinks. You know, a section for vendors, a section for listservs, etc… Should be easy, and it might be, but it’s definitely not obvious. I’m running v4.7. I think CCK ought to do the trick, but exactly how? I’m stumped. Any pointers from benevolent gurus are gratefully accepted. Catch me in the comments or here.
Related Stories
POSTED IN: web/tech

7 opinions for Drupal directory help?
Lawrence Salberg
Jun 13, 2006 at 10:28 pm
I wasn’t too impressed with Drupal’s linking abilities when I first tried it. Of course, it may have gone through a few revisions since. I ended up purchasing WSN Links and I love it - well worth the money. The support is excellent from what I can see on the boards but I’ve never had to contact Paul (the owner). I use it to run Brevard Directory which is the largest directory in Brevard County and growing — you can see it at http://www.brevarddirectory.com. Feel free to email me with any questions.
alan herrell - the head lemur
Jun 14, 2006 at 4:35 am
shoot an email to Taran
http://www.knowprose.com/
Steve Dondley
Jun 14, 2006 at 6:13 am
There is a module in cvs called links bundle. I have not used it myself, however.
Bren
Jun 14, 2006 at 6:59 am
@Lawrence: thanks for the pointer, I’ll check it out. I need more than just the link directory, though. The site will have integrated forums, blogs, etc. The directory is part of the whole, but I want to manage it all through a single interface.
@lemur: I will!
@Steve: excellent pointer! I just installed it, but I guess I’ll need to investigate more (or maybe wait until it’s out of pre-alpha). Seems to be pretty close to what I’m after, though.
Steve
Jun 14, 2006 at 9:19 am
Using the Categories you should be able to set up a vocabulary for your different sections, and add the terms you want (vendors, listserves, etc…)
Then all you need is the right content type to put your links into:
- standard node with a link in it
- custom created type using CCK
- browse through the modules and see what other ones look good
– Janode (http://drupal.org/node/65206) looks promising
– ??
Noobster
Jul 11, 2006 at 6:20 pm
I also need Drupal help! I’m building my first Drupal-based site and am having some problems getting it to work correctly. The site has different sub-sites for different countries, each in its own language. For example, the sub-site for Australia is at http://www.mydomain.com/au, the one for Germany at http://www.mydomain.com/de, etc…
The main problem I’m having right now is getting the appropriate navigation menu to appear at each sub-site. I’ve created custom menus for each of the primary and secondary navigations for each country, but Drupal will only let me set one menu as the Primary Links menu, and only one menu as the Secondary Links menu for the whole site.
One workaround I’m trying is to use a different theme for each country that’s basically identical except in the menus it pulls up. Again, this works nicely when I use the following snippet for the Primary Links menu:
But I can’t do the same for any of the other custom menus. For example, the following doesn’t work:
Does anyone have any idea how I can do this correctly? Is there a way to get the list of links from a custom menu like the “foreach ($primary_links as $link)” approach does? Alternatively, is there a way to do this without setting up different themes, so that the menu system will know to show different custom menus at different pages/pathes? Is it possible, for example, to set up different Primary Links menus based on taxonomy?
I’m really desperate to get this done in the next day or two, so any help or ideas would be greatly appreciated. I’m willing to pay someone for an hour or two to either teach me this stuff or do it for me.
Thank you in advance.
Steve
Jul 12, 2006 at 4:53 am
Noobster, I would recommend asking this on the forums at http://www.drupal.org there is lots and lots of help there.
A few thoughts:
- I know Drupal can run multiple sites off of a single installation - but I don’t know much about it. This may be an option depending on how much the different country sites may vary.
For the custom menus - I think there is a block_ module that allows you to specify what page(s) you want a block to appear in. You could put each of your custom menus in a block that is set up to only appear on certain pages.
For primary links - in 4.6 your best option would probably be different themes. In 4.7 the primary links are just another custom menu - so there may be more options there - I’m just starting to play with 4.7 though.
one trick I found for placing a menu directly into a theme - without using a block, is this:
print theme_menu_tree();
I hope some of this helps.
Steve T.