Hello Guru's. Is it possible to hide the forum containers in the drop-down list when creating a new forum topic? I've been searching and assume it's an easy fix but can't figure it out. many thanks.

Comments

silverwing’s picture

Version: 6.19 » 8.x-dev
Category: support » bug

I believe that being able to select a container from the drop down list actually a bug since doing so returns an error message.

penyaskito’s picture

I think that showing the containers makes user life easier locating the desired forum where he/she wants the topic to be placed, so IMHO hiding the containers from the option list is not a possible solution.

What would you expect to happen if you select a container as the forum instead of the error? Or how do you think that the forums available should be displayed to the user?

silverwing’s picture

Title: Hide forum container from drop-down in create forum topic » Forum container should not be a selection choice from drop-down in create forum topic

Showing the container in the drop down list is a good thing, being able to select it is not. I re-titled this issue.

penyaskito’s picture

One possible way of achieving this is adding to the markup of the option the attribute "disabled".

However, the Forms API doesn't support this, and this solutions seems to not work in older versions of IE.

develcuy’s picture

Issue tags: +dlatino

Adding tag "dlatino" for reference of the Drupal Latino community.

Traverus’s picture

Issue tags: +Novice

One could specify the containers as optgroups and is supported by the form api by doing nested arrays in #options. I'll work on a patch soon if time permits. This would be easy for a novice to do.

chi’s picture

andypost’s picture

Status: Active » Closed (duplicate)