Replace Article, Blog Text with Graphics?

Events happening in the community are now at Drupal community events on www.drupal.org.
ithacaindy's picture

This is a two-for-one question: I want to replace the "Articles in 'Section'" text and the front-page 'Blog Blah' text with section graphics (example: TNR and TNR [right column]). How can this be accomplished?

Comments

If I understood you

stattler's picture

If I understood you correctly, you can achieve this from Views.

Go to the corresponding views configuration. For example, go to views settings for homepage blog block.

Then, under the Basic Settings, you will see an option called "Header". The default value is "none". Click on that "none" and that will open a text area. There you can put your html code with embedded graphics. That will do what you want. :)

Thanks, I was hoping it was

ithacaindy's picture

Thanks, I was hoping it was something that straight-forward.

I had some time to test this

ithacaindy's picture

I had some time to test this and I've encountered a problem. I have two areas I want to use graphics: news sections and blogs. I haven't tried the blogs yet, but with news, is there a way to indicate different header graphics based on subject? (For instance, the "Politics" section would display one graphic when listing articles in the politics section, while "Sports" would list another graphic when displaying articles from the sports section.)

I edited the "articles" view page tab to use full HTML for the header. My thought was it would print the graphic, then the "Articles in 'Sports'" line (where does that come from, btw?). However, it actually prints the "Articles in 'Sports'" line first and then the graphics. How do I reverse that?

As for the blogs, it appears their headers are more flexible. I noticed TNR can use different graphics for individual blogs while retains a simple global graphic when pointing to articles.

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: