Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.12
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
5 Jan 2011 at 11:49 UTC
Updated:
6 Mar 2019 at 15:46 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedBTW 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.
Comment #2
merlinofchaos commentedAll 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.
Comment #3
imclean commented@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.
Comment #4
Anonymous (not verified) commented@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...
Comment #5
imclean commented@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
Comment #6
imclean commentedChanged status for further discussion.
Comment #7
iamjon commentedClosing from a lack of activity.
Comment #8
beifler commentedFor 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!
Comment #9
dkingofpa commentedSub
Comment #10
BlindWolf8 commentedSubscribing.