Download & Extend

Change 'Comment viewing options' form to omit nested options

Project:Flatcomments
Version:6.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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..

Comments

#1

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

#2

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

Status:fixed» closed (fixed)

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