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 wish to restrict access to the local task /user/<uid>/activity. (Created by tracker module)
By default, if I give 'View user information' permission to whatever roles, then users with that roles can access all those local tasks. If I deny 'View user information' then all local task are unavailable.
I want all users to read user's basic information; however I want only one of these roles to have permission to look at listing of user activities.
How do I achieve this?
I think I will need to implement this a hook. (correct me if wrong)
I'm trying to set up a checkout for an offline payment (COD where money is sent separately from the site logic) in order to set up an offline payment gateway. What I need: When the user selects an offline payment manually, completes it, the order should be updated to the "pending" status, but I get the "completed" status.
Perhaps I need to intercept the payment event for the first order with the "manual" method.
I couldn't find any manuals or documentation on how to create my own offline payment module.
I am working on a theme for Drupal 8/9 that is based upon Bootstrap 5. I use sass to generate style.css from .scss-sources.
I have a content type named "Polaroid". It has fixed width an height (300 by 350 px). I want to show this content stacked sideways. The visual effect I am looking for is similar to what you could get with the Drupal 7 project DAN Polaroid (screenshot below):
After clearing all caches and when browsing pages via admin interface (logged in as administrator) a lot of entries of a System type are created in DBLOG. The pages are being displayed correctly.
Here is the scenario:
1. All caches cleared
2. Visit a single page while being logged in as administrator (browse via admin interface)
3. Check DBLOG
After viewing just one page 48 entries were created in DBLOG
11 x The "views_block" was not found
All 11 entries have the same details