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.
Hi, I have started coding recently. Would be really glad to listen to your advise. I have a problem with my website. I can not verify the authenticity of the CSRF token when I send a POST request. I solved this issue by adding authenticity_token with every request (using Vue.js and Ruby on Rails). My code:
let at = document.querySelector ("meta [name = 'csrf-token']"). getAttribute ('content')
this. $ set (this, 'authenticity_token', at)
this. $ http.post (/ api / example, {authenticity_token: this.authenticity_token}).
Hi, there is no recent documentation for the "Commerce Shipping" module.
How to offer shipping costs for orders over $ 50 ?
I don't see any settings in the shipping methods.
It would be nice to have a check mark to offer shipping costs and a text box to enter the order amount.
Are distributions installed after the core Drupal 8 site is up and running, or are distributions installed as the initial installation of Drupal.
Typically, how long does it take to install a distribution. I already have a Drupal 8 site installed with my hosting provider and want to install a particular distribution.
I created a custom module to display a news feed. When a content is created, the module will create a "Message". The user "Flag" the parent "Group" and receives the messages.
My problem :
When a user flags a "Group", he receives all the "Message", even the "Message" before the Flag.
I want the user to only receive "Message" from the date of the Flag.
You must therefore filter the view like this:
The "Message" created after the Flag date are displayed.
I installed the Message module on my site. I want to set up ads for certain roles. I want to create messages and select the roles that can see the message.
How to limit messages to a role? I don't want to limit the type of message, I want to limit only the message.