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 am supporting a site originally built by another. I have a "vendor" role that is registered at /vendor/register and normal users register at user/register. I have two questions.
1) I cannot see where the /vendor/register page is defined and built. If I wanted to add a new field or modify what the user must enter to register where would I find it? It is already customized. I cannot find any reference to customized code in our themes directory.
We're experiencing a weird issue/bug where our blog node is displaying incorrectly at random but occasionally fixes with a cache clear. Interestingly enough, a cache clear can also break the display again...
From a Twig Debug comparison of the working version and broken version there's a few values that stand out most.
I have a problem with my bootstrap theme development. I can't create any slideshow with my local server. Everytime I do so then I get a message like ' Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\vexel\includes\database\select.inc on line 1377 '. Please help me with that.
How to check if anchor tag in a generated menu link (eg. by main navigation block) has a certain class. For the container li there is the item['attributes']->hasClass() method. However there is nothing of the form item['url']->hasClass(). Can item['url']['urlGenerator'] has something to offer in this regard ?
I wanted to change the edit profile page with the user-profile-edit.tpl.php.
I added this function in template.php .
function minimi_theme() {
return array(
// The form ID
'user_profile_form' => array(
// Forms always take the form argument.
'arguments' => array('form' => NULL),
'render element' => 'form',
'template' => 'templates/user-profile-edit',
),
);
}