Needs work
Project:
Read More Control
Version:
7.x-1.x-dev
Component:
Field support
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
4 Aug 2015 at 08:23 UTC
Updated:
2 Dec 2016 at 19:23 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
alan d. commentedRight, any positive feedback / testing should see this committed.
Tested on terms and nodes without issue.
Important
You must set the Field option (labeled Append as an extra field) globally per entity type without overriding the bundle default settings OR set the default settings to use the extra field.
i.e. for nodes.
Global configuration
/admin/config/content/read-more-control
Page content type configuration
/admin/structure/types/manage/page/display
Note the core bug in that we can not control the default visibility, so once enabled, disable on the default display, then on the other enabled displays were you do not want to show this.
Comment #2
alan d. commentedPHP notice was being thrown. Quick fix attached.
Anyone tested this?
Comment #3
alan d. commentedSorry, this one:
Comment #4
amaisano commentedHi - trying to test this, but having trouble setting up. Starting from scratch, how, where, and which settings should be checked?
After applying the patch, I'm not getting any read more links anywhere, even when all settings on all pages (global and manage display) are set to 'Always show...'
Thanks.
Comment #5
alan d. commentedhehe, a bit hidden
Globally (so be warned, Drupal just shows these)
/admin/config/content/read-more-control
Under Global formatting settings fieldset, check "Custom settings" and it is final option on the Link placement option "Append as an extra field"
Or per content type (recommended)
/admin/structure/types/manage/page/display
As above.
And once enabled on a content type, by either of the above options, you can control the behaviour in individual display modes (i.e. teaser)
Comment #6
amaisano commentedOk, thanks for the clarification. I can confirm this allows me to use the field independently in Panels. However it's unfortunate that in Panels I still can't use this module to put the read more link inline (which is what I was going for in #2544492: Using Panelizer and Panopoly - link disappears if moved.). For that issue I've settled for using custom text with tokens for [summary] + "..." + [read_more_link] with inline elements.
Comment #7
trumanru commented#3 doesn't work for me.
I use DS. I tried to apply the patch. After I switched it on and enabled an option "Append as an extra field" on an individual content type's configuration for the view mode "Teaser" a new field/placeholder appeared in ncontent type view mode "Teaser" in the table with fields.
But this field shows always when I open any node in "Teaser" view mode.
After I disabled, removed and reenabled the module extra option "Append as an extra field" disappeared from per content type module's configurations.
Comment #8
marco aurelio rocca commentedThe patch worked for me! Thanks!
Using the 7.x-1.x-dev version along with Display Suite module and Display Suite Bootstrap Layouts module.