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 trying to access the field content for a view. I have been using dump, kint with varying degrees of success. I have to quit the browser each time I try something new and clear the cache. (I have correctly setup debugging in my settings etc files.
I am coming from a very strong procedural drupal background. I have studies OOP, Symfony but I am just not connecting the dots.
I have function themename_preprocess_views_view_unformatted(&$variables) {
$variables[??????????????]
}
Might be my first post here and I couldn't find some decent information about this so I'll ask it here.
How would you load in an additional css sheet when a used is logged in.
I want to shave as much overhead for the visitor as possible and this is one of them.
Contains some tweaks so the user menu won't interfere with the admin menu's when logged in.
I've got my main css in style.css and an additional one, named style-admin.css.
I don't know why but drupal_set_message doesn't seems to be rendered anymore in my theme and I really don't know why (last week it works and I didn't work on the project).
Do you have an idea where can I check what might be wrong ?
Where are variables such as page, messages and tabs set?
For example, where is the tabs variable from the following syntax (excluding the word "and" and the whitespace before and after it) set (initially)?: if ($tabs):
and
print render($tabs);
If my question is unclear, in any way, please let me know so that I can make it clearer.