Ура друзья решение найдено

для версии DocMan 1.5x
Вставьте данный код в конец файла /components/com_docman/themes/default/templates/documents/document.tpl.php
<?php
global $mainframe;
$lang =& JFactory::getLanguage();
$lang->load( 'com_jcomments', JPATH_SITE, null, true );
$comments = JPATH_SITE . '/components/com_jcomments/jcomments.php';
if (file_exists($comments)) {
require_once($comments);
echo '<br />';
echo '<div class="contentheading">'. JText::_('HEADER').'';
echo JComments::showComments($this->data->id, 'com_docman', $this->data->dmname);
}
?>
Воспользовался данным способом. Получилось более мене полноценно вывести JComments в DocMan 1.5.2
Редактируем /components/com_docman/themes/default/templates/documents/document.tpl.php
Вот что от него осталось. Можете вставить вместо своего.
<?php
/**
* @version $Id: document.tpl.php 1121 2010-01-14 20:17:39Z mathias $
* @category DOCman
* @package DOCman15
* @copyright Copyright (C) 2003 - 2009 Johan Janssens and Mathias Verraes. All rights reserved.
* @license This file can not be redistributed without the written consent of the
original copyright holder. This file is not licensed under the GPL.
* @link http://www.joomladocman.org
*/
defined('_JEXEC') or die('Restricted access');
/*
* Display document details (required)
*
* 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->data (object) : holds the document data
* $this->links (object) : holds the document operations
* $this->paths (object) : holds the document paths
*/
$mainframe = JFactory::getApplication();
$pathway = & $mainframe->getPathWay();
$pathway->addItem($this->data->dmname);
$mainframe->setPageTitle( _DML_TPL_TITLE_DETAILS . ' | ' . $this->data->dmname );
?>
<div id="dm_details">
<h1 class="dm_title"><?php echo _DML_TPL_DETAILSFOR ?><em> <?php echo htmlspecialchars($this->data->dmname)?></em></h1>
<?php
if ($this->data->dmthumbnail) :
?><img src="<?php echo $this->paths->thumb ?>" alt="<?php echo htmlspecialchars($this->data->dmname)?>" /><?php
endif;
?><br /><?php echo $this->data->dmdescription ?>
<div class="clr"></div>
</div>
<?php if(JRequest::getString('tmpl')!= 'component') :?>
<div class="dm_taskbar" >
<ul>
<?php
unset($this->buttons['details']);
$this->doc = &$this;
include $this->loadTemplate('documents/tasks.tpl.php');
?>
<li><a href="javascript: history.go(-1);"><?php echo _DML_TPL_BACK ?></a></li>
</ul>
</div>
<?php endif; ?>
<div class="clr"></div>
<?php
global $mainframe;
$lang =& JFactory::getLanguage();
$lang->load( 'com_jcomments', JPATH_SITE, null, true );
$comments = JPATH_SITE . '/components/com_jcomments/jcomments.php';
if (file_exists($comments)) {
require_once($comments);
echo '<br />';
echo JComments::showComments($this->data->id, 'com_docman', $this->data->dmname);
}
?>
<div class="clr"></div>
Далее выводим ссылки на скачиваемые файлы с помошью "mod_docman_lister"
Причем "Link type" : Show details pages