By flanderz on
I want to control how Drupal is creating the teaser. In the preview it says use the delimiter. I tried that and its being ignored (and includes as part of the text.) I'm using Drupal 5.0-RC1 and FCKeditor.
I want to control how Drupal is creating the teaser. In the preview it says use the delimiter. I tried that and its being ignored (and includes as part of the text.) I'm using Drupal 5.0-RC1 and FCKeditor.
Comments
show html source
If you can then enter HTML source mode in FCKeditor and then enter the
<!--break-->It works for me using HTMLarea module.
<break>
In Drupal 5 RC1, it's no longer an HTML comment, but a real tag. So use <break> instead of <!--break-->.
(Username formerly my full name, Richard Eriksson.)
I just became aware of
I just became aware of this.. I'm looking into it for the next version of the FCKeditor module
--
I work for Ontwerpwerk
This is a change coming from
This is a change coming from this issue: http://drupal.org/node/87145
The fix must be in a plugin for FCKeditor as it looks now.
--
I work for Ontwerpwerk
It should work again in
It should work again in Drupal 5.0 , the new
<break>behavior was dropped and the old<!--break-->works again.--
I work for Ontwerpwerk
FCKeditor plugin
FCKeditor doesn't insert a <!--break--> when clicking on "pagebreak" - it gives some other code which doesn't help us. To get the correct page breaking code you'll need to install this plugin which unzips into the FCKeditor plugins folder, along with adding 'DrupalBreak' into your fckeditor.config.js and removing 'PageBreak' in the relevant places.
Browsers usually cache .js files so you'll need to either empty your cache or type in the full url to fckeditor.config.js and refresh the page to make sure you're getting the changes.
Teaser
You could use one of the teaser modules like Excerpt to provide more fine-grained control of the teaser content without worrying about using the break delimiter.