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.
The Workers' Educational Association (WEA) is the UK’s largest voluntary sector provider of adult education in England and Scotland working with the support of nearly 3,000 volunteers, 2,000 tutors and over 10,000 members. The organisation also has a mission to raise aspirations and develop educational opportunities for the most disadvantaged. This includes providing basic maths, English and IT skills for employment; courses to improve health and wellbeing; creative programmes to broaden horizons and community engagement activities that encourage active citizenship.
I am using Drupal 8 and have a node with JS Injected to it (AssetInjector module)
that collects booking options from user.
I need to send some js variables on submit to my php file calc.php but can't figure
out how to implement this.
I tried the php module, but my php code is translated upon "save and publish" and can't be called.
The ajax function I used to load the final calculated content
is based on the following code (works outside drupal because calc.php remains as .PHP)
I was wondering if there is a way to hide the all content nodes other users created. And with hide in this case, I mean that it won't show up in the "Content overview page" and also not as a suggestion in an referenced field.
I tried using the "node_view_permissions" module but that won't solve my problem...
I want to show custom-node-edit-links in node-teaser and nodes. But I can't check the actual access permission of the logged in user. In drupal-7-node-templates this was possible via php, but what can I do to check these permissions in Drupal 8 node-templates (via twig).