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 have seen a few modules that can generate 1D code onwards. But i've not seen a module that can read them thru say a smartphone's camera.
Is this impossible because of hardware/progamming limitations or just about no one would have a use for this? I could think up of dozens of real world application.
Why haven't Drupal caught on this yet? Appreciate any pointers.
I want to change the URL of some taxonomy term links to another page. The right way is by hook_link_alter custom implementation. This hook has one argument, a variables array with:
link options
text
url (instance of Drupal\Core\Url)
Text and link options can be replaced, but URL replacement has no effect. URL class doesn't implement any method to alter the routeName, so an instance of URL can't be updated.
I'm trying to create nodes of a specific content type using Drupal REST API. I'm using jQuery FullCalendar and a custom form, and sending my informations via jQuery Ajax method.
I have enabled the correct permissions via REST UI module and users permissions to allow anonymous users to POST on this content type. No matter what the method ($.ajax, $.post, vanilla xmlHTTPRequest...) I always get a 403 (forbidden) error.