Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download readmorecontrol-7.x-1.1-rc2.tar.gztar.gz 21.03 KB
MD5: ed4410e19b326faf4836efa821f744de
SHA-1: 34a84ce6cc77d3ff6e6db5d8954a7ec555b177f5
SHA-256: aa8a01a0de8bf47a32a07e5e23b1b11f5c654f3654fb0f5f280028b97f5b174e
Download readmorecontrol-7.x-1.1-rc2.zipzip 23.89 KB
MD5: a27c6dc919c2d3740682961161245dd8
SHA-1: b11154ec022a88607dc5d424eed5925a5eab2acd
SHA-256: 81e91af207217d535b224719337d0fa1f0ec99c504fcd287e5048afe9b0642bc

Release notes

Testers wanted!

The module now supports any entity and any view mode.

There are some restrictions to this:

  1. Entities must directly or indirectly define entity_url() and entity_label() callbacks. Within core, this is limited to:
    Nodes, Users, Terms and Comments.
  2. Entities must support more than these view modes: full, search_index, token. This means that only nodes will have support by default as these also have the rss, teaser and search_results view modes.
  3. Full (full) or default view modes can never have a read more link. This would be where the link goes to anyway!
  4. There are a small number of excluded view modes:
    • Full: No point linking to itself...
    • Search Index: This should reflect the full view mode and is only seen internally.
    • Token: Custom mode for token generation
    • Diff 7.x-3.x view modes: Comparisons shouldn't have links

Customizations of the Read more link itself is now included, and most (if not all) text based options include token support.

Settings are defined per supported entity in the entity display settings or (better) done globally per entity type @ admin > configuration > content authoring > read more control

To gain additional view modes, Entity view modes works well, but it does currently require a manual menu flush after adding the view mode or this patch: #1274478: View mode 'custom settings' set to false by default

This release candidate relies on the update scripts released 27th July, 2012 to clear the caches when the users ran update.php

Created by: Alan D.
Created on: 29 Jul 2012 at 09:12 UTC
Last updated: 17 Feb 2014 at 04:48 UTC
Bug fixes

Other releases