FCKeditor has the pagebreak function must be helped by paging moudle?
I tested,and founded that if i didn't install the paging moudle ,no matter how you seting fckeditor.config.js as the following:
uncomment three lines

FCKConfig.PluginsPath = '../../plugins/' ;
FCKConfig.Plugins.Add( 'drupalbreak' ) ;
FCKConfig.Plugins.Add( 'imgassist' ) ;
FCKConfig.Plugins.Add( 'drupalpagebreak' ) ;

and then add the DrupalPageBreak botton to the fckeditor toolbar,pagebreak function doesn't work!
and btw,if i installed the latest paging module 6.x-1.0-beta1 under my drupal 6.6,when i post new story,the background with unable option,i cann't choose some options.(diy url,comments setting,pin article to top,etc)
Anything help,many thanks.
---------------------------------------
IT news,enjoy with you together.doexcel.com

Comments

Artur Formella’s picture

Assigned: cpascal » Unassigned

Does it happen always, in all browsers? drupalbreak doesn't need any paging module, DrupalPageBreak needs.
Please open "node/add/page", click DrupalPageBreak icon and Source-icon. You should see something like

<!--pagebreak-->
<p>&nbsp;</p>

Set a title, save. Then back to edit. If code is the same - it is a problem with other module.

cpascal’s picture

Thanks for reply.
YES.I means fckeditor drupalpagebreak needs the paging module,drupalbreak doesn't need any paging module.
And when you click Fckeditor DrupalPageBreak function botton,it just insert following string into the article:

 <!--pagebreak-->
<p>&nbsp;</p>

But,when you install the paging moudle,this moudle just accept the string to achieve drupalbreakpage function.And in fact,it's helped by paging moudle,,but when you choose drupalpagebreak(code see above),and at the same time when you choose pagebreak,the code like this:

<!--break-->
<p>&nbsp;</p>

you will see the code is just as a normal text added in the full article,and you see,it's a excrescent text for the reader.why?paging moudle problem with fckeditor moudle.

Artur Formella’s picture

Yes. When you click Fckeditor DrupalPageBreak-botton it just insert

string into the article.
Paging module should understand it and split articles into multiple pages.

Did you enabled the paging module (admin/settings/paging) ? Did you add paging to the filter (admin/settings/filters, select filter/configure)?
I have done it and everything works fine.

Artur Formella’s picture

Please also read this ticket: http://drupal.org/node/313205

cpascal’s picture

Thanks.
But when i use drupalpagebreak function by paging moudle,fckeditor break function(which break a article summary) doesn't work well.You can see the article summary,but when you read the full aticle ,you will find that fckeditor break function's string

<!--break-->

is a part plaintext of the full article.And you see,in this case,it's will be invisible in the full article.
How strange it is!And WHY?

------------------------------------
IT news website,Doexcel.com,Wellcome to you!

Artur Formella’s picture

Yes, that's strange.
Please disable FCKeditor module and try all again. If the bug disappear, it will be a problem with paging module.

wwalc’s picture

Can't reproduce it. I have used one teaser break <!--break--> and a couple of <!--pagebreak--> page break tags and everything is working fine. I have put the <!--break--> tag before any <!--pagebreak--> tag.

Jorrit’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closed because of inactivity. If it is still a problem, please reopen.