Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 15 Hours, 43 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Modalizer + Docman 1.5
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Modalizer + Docman 1.5
#8008
Modalizer + Docman 1.5 1 Year, 10 Months ago  
I'm using both Modalizer + Docman 1.5.
When I configure Docmans Standard buttons and set "Show View" to Yes and "Show Details" to Yes a click on this buttons in Docman opens up two modal windows. The one in front can be closes by clicking the "X" on the right top, but the second one remains open and will only disappear, when I reload the current page.

Is there a potential conflict på Modalizers way to modify Joomla links and Docmans use of Joomla's default modal-window function.

Modalizer is configured

Modal Window Settings = None (System -component)
Modal Type Settings = SqueezeBox
Modal Syntax Settings = Yes
Links by Class Name Settings = No
Links with target="_blank" Settings = No
Email Link Settings = NO
PDF Link Settings = NO
Print Link Settings = NO
Include MooTools script = Yes
Include JQuery script = No
Show update icon = Yes

I'm using JSN_Epic_Pro as the default template for my side.

Any hint?
The administrator has disabled public write access.
 
#8010
Re: Modalizer + Docman 1.5 1 Year, 10 Months ago  
This is because Docman has its own modal thing and loads its own scripts. So stuff get done twice.
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8021
Re:Modalizer + Docman 1.5 1 Year, 10 Months ago  
Hi Peter.

That's what I have been thinking. Do you have any hint how to disable the modal thing within Docman or should I ask the people at Joomlatools - Mathias Verraes - for help?
The administrator has disabled public write access.
 
#8022
Re:Modalizer + Docman 1.5 1 Year, 10 Months ago  
What I have done for a site that has an extension that loads its own modal scripts (which is obsolete) is use ReReplacer to remove the script tag from he sites output.
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8027
Re:Modalizer + Docman 1.5 1 Year, 10 Months ago  
Hi again.

I tried to make the following change:
../com_docman/themes/default/templates/documents/task.tpl.php:

Orginal file:

foreach($this->doc->buttons as $button) {

if($button->params->get('popup', false))
{
JHTML::_('behavior.modal');
$popup = 'class="modal" rel="{handler: \'iframe\', size: {x: 800, y: 500}}"';
} else {
$popup = '';
}

$attr = '';

    if($class = $button->params->get('class', '')) {

     $attr = 'class="' . $class . '"';

    }

?><li <?php echo $attr?>>

        <a href="<?php echo $button->link?>" <?php echo $popup?>>

            <?php echo $button->text ?>

        </a>

    </li><?php

}


changed to:

foreach($this->doc->buttons as $button) {
        
?><li>
        {modal url=<?php echo $button->link?>}<?php echo $button->text ?>{/modal}
    </li><?php
}


Then I activated the 3 buttons: download, view, details and it worked fine with view and details, while the download button did not triggered the download at all.

Hans Uwe
Last Edit: 2010/03/24 09:37 By peter.
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Peter van Westen
MaxCDN | Content Delivery Network | Accelerate your site to the max
Open Source Training | Online Joomla! Training and Support
hosting joomla