Solved

Display Blog Dates Using Views in Drupal

Posted on 2012-04-04
3
198 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
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…

943 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

Need Help in Real-Time?

Connect with top rated Experts

1 Experts available now in Live!

Get 1:1 Help Now