In the tab menu views, there's no 'read more' link, which gives the impression there's nothing further in the post, and so there's nothing to lead the user into viewing the full node.

Comments

lightsurge’s picture

I adapted a neat little solution here #287812: Provide a "Content: Read more link" field to make a 'Read full post' link display on nodes that have further body content to view, and re-used the 'subscribe' css class to make the link appear like the 'join' and 'request to join' links in the group directory.

  • Download/install Views Custom Field module.
  • Add, exclude from view and remove labels for a node path and a node body field
  • Add a customfield, remove label.
  • Re-order the fields and move below teaser
  • Rewrite Path field output to something like<a href="[path]">Read full post&raquo;</a>
  • Rewrite customfield output to something like<div class="views-field-subscribe"><span class="[phpcode]"> [path]</span></div>
  • Add a php value to the customfield of
    <?php
    print (strlen($data->node_revisions_body) > strlen($data->node_revisions_teaser) ? 'readmorelink': 'hidden');
    ?>
  • Add to css .hidden { visibility: hidden; }

Looks good to me.

ezra-g’s picture

Priority: Minor » Normal

Thanks for the suggestion - Marking as normal priority.

My sense is this would be best implemented without adding an additional contributed module. However, any solution can be moved along faster with a patch :).

japerry’s picture

Version: » 6.x-2.x-dev
Issue summary: View changes
Status: Active » Closed (won't fix)

Cleaning up the queue. No longer applicable in 7.x-3.x and we're not fixing non-security bugs in commons 6.x-2.x