- Posts: 5
- Thank you received: 0
All questions about EDocman extension
Multiple categories in front end upload
- Karen Charney
- Topic Author
- Offline
- New Member
-
Less
More
11 years 11 months ago #30674
by Karen Charney
Multiple categories in front end upload was created by Karen Charney
I need the users on the front end to be able to add a document to multiple categories just as the users in the back end can. How can I make this happen?
Karen
Karen
Please Log in or Create an account to join the conversation.
- Karen Charney
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
11 years 11 months ago #30680
by Karen Charney
Replied by Karen Charney on topic Re: Multiple categories in front end upload
Never mind. Figured it out!
Please Log in or Create an account to join the conversation.
- GlenanPL
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
11 years 9 months ago #33075
by GlenanPL
Replied by GlenanPL on topic Re: Multiple categories in front end upload
Hello
In components/com_edocman/views/document/tmpl/edit.php
You have to insert in line 73 between 'category_id' and 'url' the code like :
<tr>
<td class="edocman_title_col">
<?php echo $this->form->getLabel('extra_category_ids'); ?>
</td>
<td class="edocman_field_cell">
<?php echo $this->form->getInput('extra_category_ids'); ?>
</td>
</tr>
Don’t forget to override with the template and also for EDOCMAN_EXTRA_CATEGORY
Regards
In components/com_edocman/views/document/tmpl/edit.php
You have to insert in line 73 between 'category_id' and 'url' the code like :
<tr>
<td class="edocman_title_col">
<?php echo $this->form->getLabel('extra_category_ids'); ?>
</td>
<td class="edocman_field_cell">
<?php echo $this->form->getInput('extra_category_ids'); ?>
</td>
</tr>
Don’t forget to override with the template and also for EDOCMAN_EXTRA_CATEGORY
Regards
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 9 months ago #33095
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Multiple categories in front end upload
Thanks GlenanPL for sharing the code. I will consider adding support for it in the next release of the extension .
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.