i dont get a button or an image button for create/edit node with the latest paging module and latest D6 version
ive tracked this down to paging/paging.js : line 67

  $('textarea.teaser').each(function() {

this loop adds the buttons dynamically when configured, the only problem is that my page source for edit/create node (story, body..) doesnt have a textarea with class ".teaser", and no other element with this class (actually i have a div.teaser on the preview page)
also, checking the code from -dev, i think the same bug is present there

does the widget work for anyone else? should i fix the javascript to target the textarea#edit-body or was there a reason for textarea.teaser and theres something not working right on my setup?

thanks

Comments

Gurpartap Singh’s picture

Have you disabled the teaser split part in JavaScript? (which lets you split content into two textareas).

textarea.teaser is always expected to present in normal case. Can you reply to the above question?

abaddon’s picture

i dont understand the question: teaser split part in JavaScript
im using a standard drupal 6 setup, i just have 1 textarea for the body, and via the standard drupal mechanism i can include the break special markup tag to split the body text into teaser and the rest of the content, but i dont have 2 boxes for this, do i need an additional module for this?
ive rechecked the readme file, handbook and project page, im not sure what you meant with 2 textareas, need help figuring out this part :-)

thank you for looking into this

Gurpartap Singh’s picture

Is there no "Split summary at cursor" form button above the body textarea?

Which theme are you using? Try it in garland?

Gurpartap Singh’s picture

Status: Active » Postponed (maintainer needs more info)
manuj_78’s picture

Status: Postponed (maintainer needs more info) » Active

I am also having this problem..

I can see the "Split summary at cursor" form button though as I use wysiwyg module, it makes "Split summary at cursor" useless

Thoough the automatic pagination works, I cant get

to work :-(

jenlampton’s picture

Status: Active » Closed (cannot reproduce)

@abaddon, every body field in Drupal 6 is actually made up of two textareas. The one at the top is for the teaser, it is smaller - only 10 rows tall, and it has a class of teaser. The one beneath that is the body field, it's larger - 20 rows tall. When you edit a node in Drupal 6, the top teaser textarea is hidden with JavaScript, and instead you see a button at the top right that says "Split summary at cursor". It's not until you click this button that you can see the smaller textarea at the top. The reason for targeting this field instead of the body is that we still want the widgets to appear above this textarea when it's visible.

The widgets both work for me (image and button), so I'm going to close this issue. Please re-open if you continue to have trouble.

@manuj_78 I have recently committed WYSIWYG module support, before that you would have had a lot of trouble using paging and WYSIWYG at the same time.