Enabling document descriptions in the front-end Submit a document menu item
In DOCman 3.1 we disabled the document descriptions, in the front-end Submit a document menu item, as they are almost always unused. This only applies to new installs of 3.1.
Re-enabling the document descriptions in the front-end Submit a document menu item is very straightforward:
- Create an override for the file components/com_docman/views/submit/tmpl/form.html.php by copying it to your template's html folder.
The file should be copied to
- Add the following code to the top of the file (right after the line that says
defined('KOOWA') or die; ?>):
<?php $params->show_description = true; ?>
- Reload your frontend Submit a document menu item and you should see that the document description editor panel has been re-enabled.
This override will only work if you are using the default Joomla editor, or if the editor supports the Joomla Editor API's. Some editors like Ark Editor, will not work.