× All questions about EDocman extension

Edit Document History in front end

  • Chris
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 months 4 weeks ago #136606 by Chris
Edit Document History in front end was created by Chris
How do I enable editing the Document History from the front end. I can't see any options in the configuration.
Thanks

Please Log in or Create an account to join the conversation.

More
3 months 4 weeks ago #136609 by Mr. Dam
Replied by Mr. Dam on topic Edit Document History in front end
Hi,
Currently, Edocman doesn't show Document history in Document modification page at frontend. If you want to add document history at frontend side, you can follow below steps
1. Open file: root -> components -> com_edocman -> view -> document -> tmpl -> edit.php
2. Add below code
<tr>
	<td class="key" style="vertical-align:top;">
		<?php echo $this->form->getLabel('document_history'); ?>	
	</td>
	<td>
		<?php echo $this->form->getInput('document_history'); ?>		
	</td>
</tr>

below code
<?php
if($this->config->show_license_form){
?>
<tr>
	<td class="edocman_title_col">
		<?php echo $this->form->getLabel('license'); ?>
	</td>
	<td class="edocman_field_cell">
		<?php echo $this->form->getInput('license'); ?>
	</td>
</tr>
<?php } ?>

Good luck
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam