All questions about EDocman extension

SOLVED !!! License "Popup"

More
7 years 9 months ago - 7 years 9 months ago #100531 by Tim
SOLVED !!! License "Popup" was created by Tim
Hello,
I would like to use the "Licenses" quite extensive on a new site and would like to open the license details in a popup / modal by using either Bootstrap or another framework that comes with my template. Due to a certain configuration I cannot use the ?tmpl=component:

I would be able to modify the call for the popup / modal myself, if you would be so kind to point me to the right file where this is generated so I can change it as needed:
Code:
<a href="/documents-archive/license-123/view-license?tmpl=component" class="edocman-modal" rel="{handler: \'iframe\', size: {x: 800, y: 500}}">License 123</a>

Thank you!
Last edit: 7 years 9 months ago by Mr. Dam.

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

More
7 years 9 months ago #100644 by Tim
Replied by Tim on topic License "Popup"
Really, 3 1/2 days and no response to such an easy question?

I just bought the extension and I'm wondering if I made the right decision? I planned using EDocman to manage a fair amount of PDF documents for a new project but if support is like this before getting even started I'm worried!

Very disappointing :(

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

More
7 years 9 months ago #100645 by Mr. Dam
Replied by Mr. Dam on topic License "Popup"
Hi Tim,
Sorry for late response, in next time, please use Ticket system for you unique problem, your question will be answered quickly.
In case you can't use tmpl=component, you can try this way.
1. Open file: root > components > com_edocman > view > document > tmpl > default.php
2. Find:
Code:
<a href="<?php echo JRoute::_('index.php?option=com_edocman&view=license&id='.$this->item->license_id.'&Itemid='.$this->Itemid.'&tmpl=component'); ?>" class="edocman-modal" rel="{handler: \'iframe\', size: {x: 800, y: 500}}"><?php echo $this->item->license_title ; ?></a>
and change to
Code:
<a href="<?php echo JRoute::_('index.php?option=com_edocman&view=license&id='.$this->item->license_id.'&Itemid='.$this->Itemid.'&format=raw'); ?>" class="edocman-modal" rel="{handler: \'iframe\', size: {x: 800, y: 500}}"><?php echo $this->item->license_title ; ?></a>

If it doesn't work, please raise new ticket on category: Edocman and provide your site url with super admin account. We will make the change on Edocman source code to solve the issue for you.
Thanks
Dam
The following user(s) said Thank You: Tim

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

More
7 years 9 months ago #100648 by Tim
Replied by Tim on topic License "Popup"
Thank you very much! That was exactly what I was looking for!

I did not see the necessity to use your ticket system for this issue and assumed that the forum would be the fastest to get a response - noted for the future.

TNX
Tim

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

Moderators: Mr. Dam