Hello,

We migrated to Drupal 6 and I just noticed that comment viewing options don't seem to take hold. They just get reset to the defaults.

I have them enabled at the bottom of the post.

I added

drupal_set_message(var_export($form,true));

At the bottom of comment_controls(), and after changing the display to show 10 comments per page, here's the output:

array ( 'mode' => array ( '#type' => 'select', '#default_value' => '4', '#options' => array ( 1 => 'Flat list - collapsed', 2 => 'Flat list - expanded', 3 => 'Threaded list - collapsed', 4 => 'Threaded list - expanded', ), '#weight' => 1, ), 'order' => array ( '#type' => 'select', '#default_value' => '2', '#options' => array ( 1 => 'Date - newest first', 2 => 'Date - oldest first', ), '#weight' => 2, ), 'comments_per_page' => array ( '#type' => 'select', '#default_value' => '50', '#options' => array ( 10 => '10 comments per page', 30 => '30 comments per page', 50 => '50 comments per page', 70 => '70 comments per page', 90 => '90 comments per page', 150 => '150 comments per page', 200 => '200 comments per page', 250 => '250 comments per page', 300 => '300 comments per page', ), '#weight' => 3, ), 'submit' => array ( '#type' => 'submit', '#value' => 'Save settings', '#weight' => 20, ), )

The form somehow doesn't pick up the changes.

I have Advanced Forum installed, but this shouldn't affect a non-forum posts.

Any ideas?

Andrey.

Comments

dpearcefl’s picture

Do you still have this problem? I believe I know what the issue is.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.