Add an input filter to specify location of link using a <!--more--> tag
spangaroo - November 5, 2009 - 13:36
| Project: | Read More link (Drupal 6 and earlier) |
| Version: | 6.x-5.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Todd Nienkerk |
| Status: | active |
Description
I was wondering if you know of any module or hack that would allow an editor/writer to choose *exactly* when the teaser stops? This would be a custom node by node basis, not only the system settings.
I'm having a problem with my teasers looking inconsistent as the system doesn't know, from a style point of view, the correct location to end the teaser.
Using a previous system, the editors would add the tag in the writer's post and that would create the teaser. From my experience the Read More module doesn't yet support this feature as it only moves the link out of meta section.
Just a suggestion. Thanks for all of your helpful support and contribution to Drupal.

#1
Well thought I'd update because I found that there's already a "Teaser Break" function included in TinyMCE.
I attached a screenshot because it needs to be enabled under admin/settings/wysiwyg/profile then "Edit" and under Buttons and Plugins you can enable it.
It's all the way the bottom right corner I'll be using this from now on.
So with Read More link and this Teaser Break feature, it looks like editors will be able to customize beautiful teasers, no problem.
#2
The <!--break--> tag is built into Drupal core. It's how Drupal knows to separate the teaser from the full body of the node. The "Teaser Break" button in TinyMCE is merely a way to drop that tag into the textarea.
Adding a <!--more--> tag is exactly the kind of feature I want to add in a future version of Read More, but I'll have to research the best way to implement the input filter necessary to achieve this.