Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services
All questions about EDocman extension

SOLVED !!! Document details view

  • Ina Weissflog
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago - 9 years 11 months ago #88628 by Ina Weissflog
SOLVED !!! Document details view was created by Ina Weissflog
Hi Edocman Team,
I am using the Edocman 1.7.7 Version and on the Documents details view, there is now below the Title of the document the "pubshed on...by..." visible (.edocman_document_details_information).
Please see the attached file for better understanding.
I could not find a way to switch it off via the backend. I could switch it off via CSS, but this is not my preferd option. Is there a way via the backend?

Thanks in advance for your efforts.

Kind regards,
Ina
Last edit: 9 years 11 months ago by Mr. Dam.

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

More
9 years 11 months ago #88631 by Mr. Dam
Replied by Mr. Dam on topic Document details view
Hi Ina,
You can remove that part in document details view by modifying file: root > components > com_edocman > view > document > tmpl > default.php
Find:
Code:
<p class="edocman_document_details_information"> <?php if($item->created_time > 0){ ?> <span class="created-on-label"> <time datetime="<?php echo $item->created_time;?>" itemprop="datePublished"> <?php echo JText::_('EDOCMAN_PUBLISHED_ON');?> <?php echo date("j F Y",strtotime($item->created_time));?> </time> </span> <?php } if($item->created_user_id > 0){ ?> <span class="owner-label"> <?php echo JText::_('EDOCMAN_BY'); ?> <span itemprop="author"><?php echo JFactory::getUser($item->created_user_id)->name;?></span> </span> <?php } if ($this->config->show_number_downloaded){ ?> <meta content="UserDownloads:<?php echo $item->downloads;?>" itemprop="interactionCount"> <span class="hits-label"> <?php echo $item->downloads;?> <?php echo JText::_('EDOCMAN_DOWNLOADS');?> </span> <?php } ?> </p>

and remove it
Good luck
Dam

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

  • Ina Weissflog
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #88640 by Ina Weissflog
Replied by Ina Weissflog on topic Document details view
Hi Dam,

Many thanks for your quick answer. Then I rather prefer to use CSS on my template, so it won`t be changed next time I will upgrade Edocman.

Regards,

Ina

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

More
9 years 10 months ago #89561 by sandstorm871
Replied by sandstorm871 on topic Document details view
Can that file root > components > com_edocman > view > document > tmpl > default.php not be used as a template overide?

Nil Satis Nisi Optimum

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

  • Ina Weissflog
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #89877 by Ina Weissflog
Replied by Ina Weissflog on topic Document details view
Instead of changing it in my template, I changed it in the custom.css of Edocman (root–components-com_edocman-assets-css-custom.css). Hopefully it will not be changed during the next upgrade of Edocman ;)

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

More
9 years 6 months ago #94984 by Mr. Dam
Replied by Mr. Dam on topic Document details view
Hi Sandstorm871,
You can make the override for that layout by copying file: root > components > com_edocman > view > document > tmpl > default.php to: root > templates > your_using_template > html > com_edocman > document directory and modifying it.
Thanks
Dam

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

Moderators: Mr. Dam