- Posts: 4
- Thank you received: 0
Any questions about Documents Sellers, post it here .
Adding a Field to the Document Database Table
- bzbeauty
- Topic Author
- Offline
- New Member
Less
More
14 years 2 months ago #5150
by bzbeauty
Adding a Field to the Document Database Table was created by bzbeauty
I need to add a field to the document Database Table - I've already added it to the database table itself - _dms_documents. And I've already added the field in the administrator section so it's there when you create a new document, or edit an existing one.
administrator/components/com_dms/views/document/tmpl/default.php
Now the problem is, it doesn't save/update to the database table. I've spent all morning trying to find where it does this and I'm coming up empty. Please help.
administrator/components/com_dms/views/document/tmpl/default.php
Code:
<tr>
<td class="key">
<?php echo JText::_('Product Link'); ?>
</td>
<td>
<textarea rows="5" cols="40" class="textarea" name="prod_link"><?php echo $this->item->prod_link; ?></textarea>
</td>
</tr>
Now the problem is, it doesn't save/update to the database table. I've spent all morning trying to find where it does this and I'm coming up empty. Please help.
Please Log in or Create an account to join the conversation.
- bzbeauty
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
14 years 2 months ago #5152
by bzbeauty
Replied by bzbeauty on topic Re: Adding a Field to the Document Database Table
Never mind. Found it already :silly:
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
14 years 2 months ago #5167
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Adding a Field to the Document Database Table
Great you figured it out .
In the next version, DMS will support custom fields so you won't have to hack into it's code .
Thanks,
Tuan
In the next version, DMS will support custom fields so you won't have to hack into it's code .
Thanks,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 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.