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 a problem with the path-aliases: I want the Persian site to use the URL I define for the English site. For example, I have programming/language/java as path for the java taxonomy term; it is the same in other languages, automatically generated for the translated terms.
I use the Pathauto module, but I can't figure out a solution for this problem.
This is the error message I am getting after I have updated from Drupal 8.2.7 to 8.2.8 then to 8.3.1 then to 8.3.5.
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /update.php/start?id=288&op=do_nojs&op=do
StatusText: Internal Server Error
ResponseText:
I would like to know how to customize a theme.
Question #1: all html elements like header, section, footer etc can be removed from the Drupal interface?
Question #2: I am working with a Bootstrap theme and there is a section that has 3 columns (each with an image and text), but I want only 2 columns with this same content, how/where would I modify this? I am confused when to modify content with block.twig, node.twig and when in the view mode. Also what sections of a page are block, nodes, view mode part of? And with any I can modify this Bootstrap theme?
I'm using drupal7 with webform 3. I made a custom modules which use hook_webform_insert,update,presave.
I must migrate my website to Drupal 8 with Webform, but i don't find anything about hook.
Anybody can help me to find a solution to use hook to Drupal 8.
Thanks a lot
Best regards
Denis
Hi all,
I've a custom content-type, on a Drupal8 site, that has a field called "field_status" that is a List (integer) defined in this way:
0|closed
1|open
2|rejected
...
How can I get the label (close, open,..) given the key (the id) of the option?
$statusID= $machine->get("field_status")->getValue()[0]['value'];
$statusLabel= ????