I'd link to restrict character of username when register. I found module "username_validation". But it's can make only blacklist, while I want to make white list.
First off, my apologies if this post is in the wrong forum. I have a client that runs a separate section of their website on Drupal 8 and I'd like to be able to query an API on the Drupal site and pull the search results into their corporate search page, which is hosted on a different CMS platform. I'm not the developer of the Drupal site and don't have experience developing for Drupal, I'm just wondering how difficult of a customization is this? I'm well aware it would also depend on the skill level and experience of the developer, so this is just a general inquiry.
Terrence Higgins Trust are working towards a world where people living with HIV are empowered and supported to live healthy lives. We built a website that helps them access testing and counselling when they need it, and that campaigns for an end to discrimination.
To enhance interaction with audiences and represent the vast breadth and value of their work, we rebuilt the Terrence Higgins Trust’s core website and crucial online services, making them accessible to more, wherever.
I am working on a custom module that has custom content types. The idea is that the content created within Drupal should be automatically sent to an external server via an API.
Let's say the module on install creates a content type "Service" with its own fields and all. When I create a new node of the type "Service" through the UI, I want to be able to listen to this event from the custom module code and execute a function that will retreive the data from the new node and send it over the API.
How can I "listen" to new specific content created?
This may be me being stupid, but I dont seem to be able to find a way of updating content in one webform from a submission in another separate webform. For example. I have
webform - shifts - where a taxi driver logs off for the day entering his shift data which includes a element end_mileage. When this form is submitted I need it to update a second form which is - vehicles - and in that form update the current_mileage with the end_mileage from his shift form.
I have read a little about writing hooks, but is there a simpler way that I am missing