Solved

Display Blog Dates Using Views in Drupal

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

743 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

12 Experts available now in Live!

Get 1:1 Help Now