What hook to use?

I'm writing an implementation of jsDomenu for use with the menu tree not the taxanomy tree that the current jsdomenu implementation works with.
I got it to work as extended theme functionality, but I'm totally stuck now that I'm trying to make it a module.

To build the javascript code my module depends on the 'visible' part of the array from the menu_get_menu() function.
So my question is: What hook to use that is called early enough for inserting javascript code with drupal_set_html_head() and late enough to get the content of $menu['visible']

hide vocabulary by role

Hi all,

I've associated the blog content type with a number of vocabulary and
now I'd like to hide few of them in relation to the user role.

Suppose I have VocA, VocB and VocC associated to the blog content type,
and user Joe should be allowed to blog only about VocA. In this scenario
VocB and VocC should be be give as an option in the "new blog" form .

how can I do it ? how can I hide/restrict a vocabulary by role ?

thanks

p

htaccess subfolders

Hi all,

i've already installed the beta version of Drupal 4.7. I have some problems with clean URLs and htaccess. If i enable htaccess on my website, i can't surf to my subfolders (mail, stats etc.). Any ideas? Version 4.6.x works without any failures.

Thx!

problem with links on php scripts

I just installed drupal 4.7 on my server. When I go to index.php, everything works fine, but if I click on any link that wants to send a command to the php script it takes me back to my drupal root folder. Ex. it will go here "drupal/?q=logout" instead of "drupal/index.php?q=logout". Any help would be greatly appreciated. Thanks.

how to remove drupal icon infront of URL?

Hi,
how do i remove the little icon infront of URL?

icon www.xyz.com

tks

put your Drupal 4.7 site here

I'm interested in seeing some Drupal 4.7 sites.

Anybody have them? If post, please describe how you're taking advantage of the new engine.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x