W tym przypadku chodzi o przywrócenie przycisków umożliwiających m.in. pobieranie itp funkcje. Można to osiągnąć nadpisując plik w ścieżce:
/www/components/com_docman/themes/default_polish/templates/documents/tasks.tpl.php
oraz w:
/www/components/com_docman/themes/default/templates/documents/tasks.tpl.php
takim plikiem w którym zminiłem jego oryginalną zawartość na taką:
Kod PHP:
<?php
/**
* DOCman 1.4.x - Joomla! Document Manager
* @version $Id: tasks.tpl.php 423 2007-10-29 22:18:47Z mjaz $
* @package DOCman_1.4
* @copyright (C) 2003-2007 The DOCman Development Team
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.joomlatools.org/ Official website
**/
defined('_VALID_MOS') or die('Restricted access');
/**
* Default DOCman Theme
*
* Creator: The DOCman Development Team
* Website: http://www.joomlatools.org/
* Email: support@joomlatools.org
* Revision: 1.4
* Date: February 2007
**/
/*
* Display the document tasks (called by document/list_item.tpl.php and documents/document.tpl.php)
*
* General variables :
* $this->theme->path (string) : template path
* $this->theme->name (string) : template name
* $this->theme->conf (object) : template configuartion parameters
* $this->theme->icon (string) : template icon path
* $this->theme->png (boolean): browser png transparency support
*
* Template variables :
* $this->doc->links (object) : holds the tasks a user can preform on a document
*/
if(isset($this->doc->buttons))
{
$list = $this->doc->buttons;
}
else
{
$list = $this->doc->links;
}
foreach($list as $button) {
$popup = ($button->params->get('popup', false)) ? 'type="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
}
Po nadpisaniu pliku tasks.tpl.php w 2 katalogach (wg wyżej podanych ścieżek) wyszukiwarka u mnie zaczęła funkcjonować prawidłowo.