Menu items and node access

Hi all...

I'm learning to write modules and it's fun :)
I got to a point where google is not helping - so here goes a question:

My module is controlling access to nodes and it's working quite nicely :)
I implemented hook_node_access() and this is where I do my checking before allow/deny the access.

The problem is in the menus... I need to hide the menus for the user if he is not allowed to access the menu item. Since I do my access checks on the fly for each node - menu items are unaffected.

Are Drupal hooks an equivalent with "Listeners" in Java?

Could someone answer my question?
Are Drupal hooks an equivalent with "Listeners" in Java?
Thanks in advance for your time

After upgrading from 6.20 to 7.0, "story" nodes are not showing any content (body)

Hi all,

This weekend i proceeded to upgrade my site from the latest 6.xx version to the brand new 7.0; as far as i can tell migration was almost successful, but i'm struggling to read my nodes, as the content of the nodes is not being showed now.

Here's what i did and a brief description of the problem i'm finding. Thank you all for your time.

D7 Bartik problem with user pictures very large

Hello

I have problem with Bartik theme in Drupal 7.
It WAS good, but now I see that user pictures are larger than usual : display size seem to be 20x100 (and not 20x20).

http://drupal.culbutte.be/sites/drupal.culbutte.be/files/images/drupal.c...

I don't uderstand why... and I don't remember exactly when to problem start, but I don't change the Bartik theme or CSS.

I look in the HTML and CSS code with Firebug.

I have a copy of the site in a VirtualBox , so I can compare generated codes :

- CSS is the same on the Live site (bad picture) and VirtualBox (good size)

- differences in the HTML code, and OF COURSE, it's the problem (but WHY ?) :

===================
code on live site with bad user pictures size :

Drupal 7 disponible dès maintenant partout dans le monde

[SOLVED] Populate date_popup field via #ajax.

Hey,

has anyone tried populating date_popup form field via ajax (ahah)?

I have date of birth field:

$form['date_of_birth'] = array(
      '#type'            => 'date_popup',
      '#title'           => 'Date of Birth',
      '#date_format'     => 'd-m-Y',
      '#date_year_range' => '+0:-100',
      '#required'        => TRUE,
      '#weight'          => 8,
    );

and I'm trying to populate it with using #ajax:

INSTALLATION PROBLEM

HI

when i want install my drupal 7 on my host i have this messages :

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x