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.
dpa-infocom is a wholly owned subsidiary of dpa (German press agency) and specializes in innovative multimedia information services for digital markets. In the course of the project Faktencheck21, Factorial developed dpa-Factify, a learning platform for fact-checking and verification techniques for participating media houses within Germany. The platform was realized with a headless Drupal 8 with a Vue.js frontend.
I'm very new to Drupal, and I need help for a job I have to do on a Drupal 8.
Basically here's my needs : from the ckeditor, I need to be able insert a block with an image with some texts and a button.
It would work in the same way as the normal "Upload image" (a popin with fields), but with additional fields (Text, button text, button href).
In other words, I need to have a template which would generate a html block like this :
My users have permission to view other users' accounts. Only the "View" tab page. This is exactly what I want.
On the user account, by default, there are three tabs:
-View
- Shortcuts
-Edit
If I am user A and I go to my account, I see the tabs. If I'm user A and I go to user B's account, I don't go to his tab (it makes sense).
Now if I create a page view (eg bookmarks) with a menu tab, for user accounts. If I'm User A and go to User B's account, I can see the "Bookmarks" tab.
How to hide tabs on user accounts except current user account?
Hello Community. It's too much to ask for code examples about: Drupal behaviors a way to attach JavaScript functionality. With variables executed with php from/to javascript. If someone can share specific cases to understand how it works. Thank you very much.