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