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',
),
);
}
In a theme I'm building, Javascript library doesn't load for logged in users. CSS is loaded fine for all. What needs to be done to load JS on all pages ?