I've tried using the pagebreak on normal body fields as well as CCK textbox fields... It won't seem to work though.

The content after the pagebreak shows up in the teaser as if there is no break there at all.

Am I missing something?

Comments

Steve Lockwood’s picture

Status: Active » Fixed

The module includes some code (in tinymce-jscripts-tiny_mce-plugins-pagebreak) which you need to overwrite the default TinyMCE page break code (which is in tinymce/jscripts/tiny_mce/plugins/pagebreak).

If you have done this correctly the pagebreak button will insert a Drupal break. The best way to check this has happened is to examine the HTML source code of a page which has been created in the editor.

The Drupal break should look like this:

  <!--break-->

The original TinyMce page break looks like this (I think). This will not be recognised by Drupal so you need to check that you have the replacement code installed properly.

  <!-- page-break -->

Changing issue status to fixed but please reopen if this does not address the problem.

OneTwoTait’s picture

Thanks. :) Works for the body field.

Can the cck text boxes use this too? If not, that will be confusing to users because the body and cck text boxes look the same but the pagebreak feature will only work on some of them.

Steve Lockwood’s picture

Unfortunately the pagebreak feature is available on all text boxes.

If it is used on anything other than the body field it will not have any effect or do any damage (but I agree it might confuse some users).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.