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.
In the top block on my page I can see the login link. I login as an adminstrator. The problem I am having is I cannot see the logout link. The login links continues to display even though I am currently logged in. How do I get the logout link to display. Any help would be much appreciated. thanks
I'm developing a destination portal for a ski hill in the Rockies, and besides offering online booking for local accommodation, I want to offer flights and create complete vacation packages.
I want to have both a Primary Menu Links menu and a Secondary Menu Links menu. Somehow when I began building the current site I'm working on, I only had a Primary Menu Links menu. So, I created a Secondary Menu Links menu, but Drupal does not seem to recognize it as the secondary menu links menu. The secondary_links variable is not getting filled with the menu I've created. How do I make Drupal recognize a menu as the secondary menu links menu? Thanks.
I am trying to build a list of links (horizontally) and am wondering if anyone has a snippet they can share with me that would allow me to determine a users access level and hide links they should not see?
How can I write a simple block to show upcoming events from a single taxonomy ?
At the moment the function event_block_upcoming in the event module has only on argument ($limit).
It would be natural to use this function to select upcoming events for a specific term (for example
in a dashboard node). Otherwise I've to copy the entire block snippet and then change the sql,
but it seems an awful code duplication...