Here's my use case: Some users can control the look, feel and navigation on their part of the site, and need to be able to edit their navbar menu (or two, one at the top and one at the bottom).
In other words I would like to give some users permission to manage their own menus, one or two per user. Has anyone thought about or implemented anything like this?
It would be possible to store the links elsewhere in the database (e.g. as variables, etc.) but it seems like using the menu system would be ideal.
I've begun work on a similar module to Contact Directory for my work. The goals are pretty much the same as Contact Directory, except we want the module to be as user-friendly as possible, allow new fields types to be created/deleted easily, and have a summary page for each entry. We looked at the contact_dir module and decided it wasn't user friendly enough (the people who will be managing the directory can barely manage html).
The API docs state that the var passed to hook_footer($main) :-
$main Whether the current page is the "main page" of the site.
However, regardless of page, $main seems to be set to 0 all the time. Hitting "Home" on the menu sends the browser to home page (see the mission statement) but $main is still zero.
I' m installing the module Article on my local site (I'm working on)
I went in administer -> modules menu. I Enabled the module by clicking the box next
to it and I saved my configuration via the button at the bottom of
the page.
into the INSTALL FILE I' m not able to follow the instruction " goto the settings -> article menu"
(I' have the italian version of Drupal), and I really can not understand where I can find the -> article menu...
can you help me?
I am in the process of making a restaurant guide node module, and it works great, but I'm having issues on how to get Drupal to play nice with a file upload feature. I've figured out that I need to set the options in the form hook to do enctype="multipart/form-data" and I can get the file picker on the screen with the form_file() function, but in what hook do I get ahold of that uploaded file so I can manipulate it? There's a nice file.inc file that lets me do all kinds of nifty things with the file once I get it, but I don't see how to get at my file once I click save.