By seraphangel on
Hello, I'm still a noob with Drupal, I was wondering how can I get Drupal to auto generate a chosen category list on certain pages? As I'd like to make index pages of the content on my site, is there a way to automate this process instead of manually coding the links individually? I would like the list to be on the content area of the page and not in the left, right or top navigation areas. Any help would be greatly appreciated. Thank you
Comments
RE: how do I get drupal to auto generate category lists?
Hello seraphangel,
I have finished a module that does this. I just placed my request for a cvs account, but will post the code here until I can upload it proper.
This module is coded against 4.7 Drupal and the Category module. I am using the form_alter hook to include a set of radio options "Enabled" and "Disabled" on the Category sections. When enabled, the navigation tree is appended to that nodes body. This will display all navigational elements, even if those elements have been marked as "hidden" from the main navigation menu via the Category module. The reasoning for this is that we have massive amounts of nodes and need a convenient way for users to get to the content without cluttering the main nav with all the content.
The following features are provided:
I hope this helps :)
- Jared Eckersley
File gem_cat_index.module
File gem_cat_index.install