Solved

Display Blog Dates Using Views in Drupal

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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.

832 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