Based on this old issue: http://drupal.org/node/287812 which kept getting closed with people asking for a fresh ticket.

When you need to set your Row Style to Fields, there is no easy way to include a links section at the end of a Teaser field. It would be good to be able to structure these teasers as they are on the homepage, for example I have mine to show a "read more" link (if there is more to read), as well as the total number of reads (only visible to the admin user).

The workaround for a "read more" link is #19 in the above link.

Comments

Anonymous’s picture

BTW for those interested in the workaround I mentioned, I've just got around to implementing it myself, and you also need to read #21 on that link.

merlinofchaos’s picture

Status: Active » Fixed

All you should need to do is add the appropriate fields. Sometimes you need to use the 'inline' options to get them to line up properly. I believe there is a node: links field, or you can use global: custom text and build your own links fields out of tokens.

imclean’s picture

@merlinofchaos: can a "read more" link be hidden when there is nothing further to read?

I'm guessing the workarounds in the previous thread are enough and this won't be implemented within Views itself.

Anonymous’s picture

@imclean yes if you read the workaround i suggested, you will see that it hides the "read more" link when there is nothing more to read. And I also added my "total reads" info with the field NodeStatistics:TotalViewsField, and spent ages formatting it all to perfectly match the teasers on the homepage, but it is a big faff. It just strikes me that lots of people want this feature, and just because there is a workaround, it doesn't mean it shouldn't be implemented.

However, I'm not sure how the recent release of D7 will affect all this...

imclean’s picture

@jackocnr, I have read the workaround you suggested (#19 previous thread) as I wrote it. :-) I agree that it is just that: a workaround. While it is a much requested feature and would be very handy to have, based on comments by merlinofchaos in this topic and the previous one, he doesn't seem to consider it a problem to be fixed or a feature to be implemented.

@merlinofchaos: I believe you are responding to this very issue in comment #3: http://drupal.org/node/287812#comment-939923

imclean’s picture

Status: Fixed » Active

Changed status for further discussion.

iamjon’s picture

Status: Active » Closed (fixed)

Closing from a lack of activity.

beifler’s picture

For the people landing on this page looking for a solution, what worked well for me was using the token method merlinofchaos mentioned and in the view add the following fields:

Node: Link => Check "Exclude from Display" and under "Text to Display" put in something like "Read More" (if blank the link text will be "view")
Node: Teaser => Check "Exclude from Display" and "Strip HTML Tags"
Global: Custom text => Remove Label, and in the "Text" field add: [teaser] [view_node]

Voila!

dkingofpa’s picture

Sub

BlindWolf8’s picture

Subscribing.