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.
We have a website (in development) with a front page View, which is a list of teasers in masonry style. Every teaser has standard fields, like an image, taxonomy terms, body text with specific length,...
The taxonomy is a problem. The client adds taxonomy with depth. We need the depth because the menus are based on the taxonomy, but when displaying the teaser articles, we don't want to show the children of the taxonomy, only the parents.
Tried searching all over and can't find the proper solution.
I want the "Add New Comment" link to show on all content types. I love how it shows when a comment is posted and want the same if no comment is posted. DKN why this is part of the comment.module file in line 678. I am not using teasers, only full postings on the front page. All my custom display settings are unchecked in the Manage Display-Content Type settings.
I have a view of multiple content types. I only select the name and an image from those content types so I'm sure what the format of output is going to be. how can I get the field values of view in MYTHEME_preprocess_views_view_fields?
kpr() function doesn't work here because for every content type there is a specific name for fields, say for content type A and B it is field_A_name and field_B_name.
I am creating a theme for a news portal. After creating HTML files, I stuck up with converting it to D7 theme. I would like to know how to fulfill the following:
I'm trying to get Omega to display content the full-width of the screen as opposed to having the default 10px margins down the right and left hand sides of the screen. I've created a custom Grid which is working fine but I have been unable to work out what CSS I need to get the margins removed.
I'm pretty sure the CSS file I need to edit to get the site to display full-width in my desktop viewport would be:
Hi all,
I hope I'm in the good section of the forum.
I need to add a body class for a set of pages, so I've installed the "Node Class" module. I then added a class to a node, using the "Node Class Settings" .. but, I still can't see the class name in the page body, with my web development tool.