All questions about EDocman extension

Remove edocman categories from Joomla Breadcrumb

  • Lorenzo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 months 3 weeks ago - 8 months 3 weeks ago #159750 by Lorenzo
Dear support,in my blog one of the articles has the shortcode to show some attachment. Unfortunately that messes badly with the Joomla Breadcrumb adding eDocman categories after them.How to remove them? The only relevant post was an old one, but I do not know if an option has now been implemented. joomdonation.com/forum/edocman/21710-unw...breadcrumbs.htmlKind regardsLorenzo
Last edit: 8 months 3 weeks ago by Lorenzo.

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

More
8 months 3 weeks ago #159757 by Mr. Dam
Hi Lorenzo,
Please open file: root -> components -> com_edocman -> view -> category -> html.php
find:
Code:
if (isset($menuItem->query['view']) && ($menuItem->query['view'] == 'categories' || $menuItem->query['view'] == 'category'))
and change to
Code:
if (isset($menuItem->query['view']) && ($menuItem->query['view'] == 'categories' || $menuItem->query['view'] == 'category') && $menuItem->query['option'] == 'com_edocman')
Good luck
Dam
The following user(s) said Thank You: Lorenzo

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

  • Lorenzo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 months 3 weeks ago #159759 by Lorenzo
Thank you Dam, that solved the issue.
Is it possible to apply this via template override?

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

More
8 months 3 weeks ago #159760 by Mr. Dam
Hi Lorenzo,
Nope, but i will think about this feature in future Edocman version
Thanks
Dam

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

Moderators: Mr. Dam