Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Display Blog Dates Using Views in Drupal

Posted on 2012-04-04
3
Medium Priority
?
237 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 1600 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

704 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