Solved

Display Blog Dates Using Views in Drupal

Posted on 2012-04-04
3
219 Views
Last Modified: 2012-04-20
Via a View, I'm pushing four blog teasers to a page.

I'm showing the Title, Summary and Read More.

I want to hide the "author's" blog link, and replace that line with the blog post date.

Just like this home page:  www.serve.gov

(attached screen capture is my current View settings.)

What's the best approach?
sc.jpg
0
Comment
Question by:sandshakimi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Expert Comment

by:stephencolson
ID: 37807957
The best approach is to switch your display mode from teasers to field-based. You can then select individual fields (Node body as a teaser, node post date (or update date), content link as read more link, etc).

Go to the Format section and click on the word "Teaser" and change it to field, and you will have the ability to add/reorder these individual fields in the (currently disabled) "FIELDS" section.
0
 

Author Comment

by:sandshakimi
ID: 37810538
stephencolson,

Thanks, using that advice I got it.

What's left now is add some negative space between them. The blogss are stacked one atop another. How can I get a break or new line between them?

See screen capture.
sc2.jpg
0
 
LVL 5

Accepted Solution

by:
stephencolson earned 400 total points
ID: 37811225
Sandshakimi,

That is usually a job for css. If memory serves, the class selector you are looking for is views-row, and I would recommend putting something like "padding-bottom: 1.5em;" on it in your style.css file.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question