i have problems using tinymce that it doesn't puts <!--break--> into posts, and i have to do this manualy, is there a fix for this?

Comments

rlbravo’s picture

Yes it is. Tinymce module for Drupal had a directory with this plugin and drupal-image. For activating them you need to put their directories in tinymce plugins directory. Then, activate them in admin/settings/tinymce profiles.

Hope it helps

rlbravo

mostly water’s picture

the tinyMCE module does have the drupla plugin (tinymce>plugins>drupalbreak). From what I see, it lets you manually set the breakpoint in a post for the teaser, using a button in the tinyMCE editor. It does not do this automatically like the normal text posts in drupal.

following rlbravo's tip, i found the README.TXT for drupalbreak, which had me copy the drupalbreak plugin into
tinymce/tinymce/jscripts/tiny_mce/plugins

Then I edited the plugin_reg.php, adding the 2 lines to enable the plugin.
$plugins['drupalbreak'] = array();
$plugins['drupalbreak']['theme_advanced_buttons3'] = array('drupalbreak', 'drupalpagebreak');

Then, in drupal, I enabled the break button in admin>settings>tinyMCE.

Question -does anyone know of a way to automatically trim the posts for teasers? I like having them go directly to the front page of our site, but I do not what to have to teach everyone how to add the break tag.

Thanks, john.

danmurf’s picture

I think TinyMCE strips out the automatic trimming of posts. I've found that if I disable TinyMCE, then submit the node it will be trimmed, however, if TinyMCE is enabled then you have to add the break manually either by coding the html or using the drupalbreak button. Does anyone know a way around this?