Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I want to drop a link into the "read more" line under preview nodes. Ideally it would fit between two | | such as "add new comment" does. This is to allow use of an external commenting module (Haloscan) which I've used on an old blog that I'm currently moving to Drupal. The sample code is below, but mostly I'm looking for which module to hack and where to insert the code. Any help appreciated. Thanks.
I'm a beginner and don't quite understand how hooks work.
I wrote a module "userdirectory.module" and I want it to perform some actions when new user accounts created, users login, logout etc. So I'm trying to get use of hook_user. Inside the module I wrote a function to catch "user" hook:
Hi there, I am currently fighting with my first drupal site. ;) Sooo, I created a menu (named "site navigation") containing all menu items ordered hierarchically (up to three levels). I display the 1st level menu items on each page at the top which works fine by using administer/settings/menu > Menu containing primary links: site navigation. I even can make the vertical navigation (which is supposed to be 2nd level) appear by using administer/settings/menu > Menu containing secondary links: site navigation.
Now I've upgraded the disk space on my hosting service, I'm thinking of turning the statistics module back on again.... But then a thought occurs to me: what do the statistics actually mean?