- Posts: 102
- Thank you received: 3
All questions about EDocman extension
Version number not displayed
- temills
- Topic Author
- Offline
- Premium Member
-
Less
More
8 years 4 months ago #91884
by temills
Version number not displayed was created by temills
Joomla version: 3.6.5
EDocman version: 1.7.9
Show version number is set to "Yes" in the configuration. The version number is not retained in the admin screen text box upon save and is no version is displayed on the frontend.
Thanks.
EDocman version: 1.7.9
Show version number is set to "Yes" in the configuration. The version number is not retained in the admin screen text box upon save and is no version is displayed on the frontend.
Thanks.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13023
- Thank you received: 1688
8 years 3 months ago #91939
by Mr. Dam
Replied by Mr. Dam on topic Version number not displayed
Hi Temills,
The document version is shown in Document details page
Thanks
Dam
The document version is shown in Document details page
Thanks
Dam
Please Log in or Create an account to join the conversation.
- temills
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 102
- Thank you received: 3
8 years 3 months ago #91964
by temills
Replied by temills on topic Version number not displayed
That's the problem. The document version is not showing in the "Version Number" text box on the document details page after I input a number and save.
Thanks,
Tem
Thanks,
Tem
Please Log in or Create an account to join the conversation.
- temills
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 102
- Thank you received: 3
8 years 3 months ago #92174
by temills
Replied by temills on topic Version number not displayed
Hi Dang,
I have included a copy of a portion of the page source for the document details page. There is no code for displaying the version number in the document info section. The only provisions are for the created and last updated dates.
Thanks
I have included a copy of a portion of the page source for the document details page. There is no code for displaying the version number in the document info section. The only provisions are for the created and last updated dates.
Code:
<div id="edocman-document-info" class="clearfix">
<table class="table table-bordered table-striped">
<tbody>
<tr>
<td class="edocman-document-property-label"><strong>Created Date:</strong></td>
<td class="edocman-document-property-value"> 10-24-2016 </td>
</tr>
<tr>
<td class="edocman-document-property-label">Last Updated Date:</td>
<td class="edocman-document-property-value"> 10-24-2016 </td>
</tr>
</tbody>
</table>
</div>
Thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13023
- Thank you received: 1688
8 years 3 months ago #92286
by Mr. Dam
Replied by Mr. Dam on topic Version number not displayed
Hi,
In file:
Thanks
Dam
In file:
You can see the coderoot > components > com_edocman > view > document > tmpl > default.php
Code:
if (($this->config->show_document_version) and ($this->item->document_version != ""))
{
?>
<tr>
<td class="edocman-document-property-label"><?php echo JText::_('EDOCMAN_VERSION') ?>:</td>
<td class="edocman-document-property-value"><?php echo $this->item->document_version; ?></td>
</tr>
<?php
}
Thanks
Dam
Please Log in or Create an account to join the conversation.
- temills
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 102
- Thank you received: 3
8 years 3 months ago #92307
by temills
Replied by temills on topic Version number not displayed
Hi Dang,
That estabilishes that code exists to show the version number -- that's great. But, as seen in the source code of the details page on my site, the lines:
<tr>
<td class="edocman-document-property-label"><?php echo JText::_('EDOCMAN_VERSION') ?>:</td>
<td class="edocman-document-property-value"><?php echo $this->item->document_version; ?></td>
</tr>,
have not been written to the page table in the <div id="edocman-document-info" even though "show version" is set to yes.
Also, can you tell me what field name in the #__edocman_documents contains the version number because my data table does not contain a "document_version" field?
Thanks,
Tem
That estabilishes that code exists to show the version number -- that's great. But, as seen in the source code of the details page on my site, the lines:
<tr>
<td class="edocman-document-property-label"><?php echo JText::_('EDOCMAN_VERSION') ?>:</td>
<td class="edocman-document-property-value"><?php echo $this->item->document_version; ?></td>
</tr>,
have not been written to the page table in the <div id="edocman-document-info" even though "show version" is set to yes.
Also, can you tell me what field name in the #__edocman_documents contains the version number because my data table does not contain a "document_version" field?
Thanks,
Tem
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13023
- Thank you received: 1688
8 years 3 months ago #92310
by Mr. Dam
Replied by Mr. Dam on topic Version number not displayed
Hi Tem,
You can check in the table: #__edocman_documents to see if field: document_version is existing or not?
Thanks
Dam
You can check in the table: #__edocman_documents to see if field: document_version is existing or not?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- temills
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 102
- Thank you received: 3
8 years 3 months ago #92316
by temills
Replied by temills on topic Version number not displayed
Hi Dam,
I've attached a file with the structure of the #_edocman_documents table. There is no document_version field in the table.
Thanks,
Tem
I've attached a file with the structure of the #_edocman_documents table. There is no document_version field in the table.
Thanks,
Tem
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13023
- Thank you received: 1688
8 years 3 months ago #92415
by Mr. Dam
Replied by Mr. Dam on topic Version number not displayed
Hi Temills,
That's the small issue with Edocman installation script while it doesn't add the column: document_version into MySQL table: #__edocman_documents. We have just fixed the issue, you can download Edocman 1.8.0 and install it to get the issue solved
Thanks
Dam
That's the small issue with Edocman installation script while it doesn't add the column: document_version into MySQL table: #__edocman_documents. We have just fixed the issue, you can download Edocman 1.8.0 and install it to get the issue solved
Thanks
Dam
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.