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'd like to create a block, showing lists of node according to taxonomy, like this:
Category 01
node
node
node
Category 02
node
node
node
Category 03
node
node
etc.
I'm having trouble figuring out how best to do this in a block. If I use the Views Theme Wizard and choose "Grouped List", I get the Category name appearing each time with each node in the list in the block. I would like the Category name to appear one time only.
Anybody able to filter empty not empty for views? I can't seem to get it to work.
I have a CCK image field on a few different content types. I want to show all images in a view gallery. But if someone has a blog entry say, with no image, it shows up as a blank square. Anyway to just not show if empty?
I would like to theme my comments so that any comment or reply posted by the author of the original node displays differently from other comments. All I need to do this is to place a 'class="author"' in the comment.tpl.php file, and an 'if-then' statement in php. However, I am having trouble writing the if-then statement b/c I don't know what field designates the original author rather than the username of the current poster. Somehow, I need to figure out how to see if the username of the current poster matches the username of the node author, and if so, output class="author."
When validating my site, i get an error message. It seems like Drupal uses duplicate ID names which isn't allowed, onlt CSS classes can be repeat within a page. This is the Id name:
id="edit-submit"
it appears in all forms (ie, system-wide contact form, login and etc.).
How can i remove or change them to a CSS class instead?
This is probably in the wrong place, but seems to fit.
I want to have a different theme for my forum, which I roughly understand how to do.
However, I also want to turn off certain blocks when showing the forum, which I also sort of understand how to do. While this is fine on the "Forum" page, drilling down into a topic becomes a "/node/" address (not a "/forum/" address) and the blocks re-appear.
Can someone please suggest how it may be possible to resolve this?