forum::attachments_enabled_p (public)
forum::attachments_enabled_p [ -forum_id forum_id ]
Defined in packages/forums/tcl/forums-procs.tcl
Check if attachments are enabled in forums. Simple attachment style uses the enabled shared attachments service. Complex style requires an attachments instance mounted beneath Forums. When forum_id is supplied, also require that forum's attachments_allowed_p option. Otherwise, determine the Forums instance from the current request.
- Switches:
- -forum_id (optional)
- Returns:
- 1 if the attachments are enabled in the forums, 0 otherwise.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- forum_message_new