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 am creating a module for users to register for an organization, and am using profile.module as a reference, but I am not sure exactly how they are using hook_user(). In profile_user(), there is a switch statement that calls different other functions depending on the value of $type. These functions are profile_load_profile(), profile_form_profile(), profile_save_profile(), profile_view_profile(), profile_validate_profile(), and profile_categories(). Many of these functions are similar to hooks (such as hook_validate() and hook_form()).
I've installed an epublish module.
I've included stories, pages etc. in the edition.
Now i want a index type of layout wherein i first want to list topics (included in the edition of the publication) based on the category. Clicking on the topic should take the user to detail/abstract that follows index. I've 5 categories that i want to display.
I was able to create index layout by adding new layout.inc file in the epublish folder but i could not group the listing into categories.