Change 'Comment viewing options' form to omit nested options

Pixelstyle - December 4, 2008 - 09:45
Project:Flatcomments
Version:6.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Is it possible to alter the 'Comment viewing options' form when Flatcomments is enabled for a certain content type?

It seems logical to remove 'Threaded list - expanded' and 'Threaded list - collapsed' from the options when Flatcomments is enabled. I don't know if it's at all possible, but who knows..

#1

Heine - December 5, 2008 - 12:44

Not with the current module, but it is certainly doable via form_alter.

#2

dragonwize - March 13, 2009 - 06:59
Status:active» fixed

Instead of altering the options, flatcomments now uses the display options to determine whether or not to flatten the replies. ie. If you select a flat list option the replies will be force to the post, if you choose threaded they will not.

This removes the old enable flatcomments check box and makes the interface more intuitive (hopefully).

#3

System Message - March 27, 2009 - 07:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.