No problem Daniel, I am already glad that you spend some time trying to solve my problem :
So, thisis what I have in com_content\views\article\tmpl\default.php
item->params;
$canEdit = $this->item->params->get('access-edit');
$user = JFactory::getUser();
?>
">
params->get('show_page_heading', 1)) : ?>
escape($this->params->get('page_heading')); ?>
get('show_title')) : ?>
get('link_titles') && !empty($this->item->readmore_link)) : ?>
readmore_link; ?>">
escape($this->item->title); ?>
escape($this->item->title); ?>
get('show_print_icon') || $params->get('show_email_icon')) : ?>
print) : ?>
get('show_print_icon')) : ?>
item, $params); ?>
get('show_email_icon')) : ?>
item, $params); ?>
item, $params); ?>
item, $params); ?>
get('show_intro')) :
echo $this->item->event->afterDisplayTitle;
endif; ?>
item->event->beforeDisplayContent; ?>
get('show_author')) OR ($params->get('show_category')) OR ($params->get('show_parent_category'))
OR ($params->get('show_create_date')) OR ($params->get('show_modify_date')) OR ($params->get('show_publish_date'))
OR ($params->get('show_hits'))); ?>
get('show_parent_category') && $this->item->parent_slug != '1:root') : ?>
escape($this->item->parent_title);
$url = 'item->parent_slug)).'">'.$title.'';?>
get('link_parent_category') AND $this->item->parent_slug) : ?>
get('show_category')) : ?>
escape($this->item->category_title);
$url = 'item->catslug)).'">'.$title.'';?>
get('link_category') AND $this->item->catslug) : ?>
get('show_create_date')) : ?>
item->created, JText::_('DATE_FORMAT_LC2'))); ?>
get('show_modify_date')) : ?>
item->modified, JText::_('DATE_FORMAT_LC2'))); ?>
get('show_publish_date')) : ?>
item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
get('show_author') && !empty($this->item->author )) : ?>
item->created_by_alias ? $this->item->created_by_alias : $this->item->author; ?>
item->contactid) && $params->get('link_author') == true): ?>
item->contactid;
$item = JSite::getMenu()->getItems('link', $needle, true);
$cntlink = !empty($item) ? $needle . '&Itemid=' . $item->id : $needle;
?>
get('show_hits')) : ?>
item->hits); ?>
item->toc)) : ?>
item->toc; ?>
get('access-view')):?>
item->text; ?>
get('show_noauth') == true AND $user->get('guest') ) : ?>
item->introtext; ?>
get('show_readmore') && $this->item->fulltext != null) :
$link1 = JRoute::_('index.php?option=com_users&view=login');
$link = new JURI($link1);?>
item->attribs); ?>
alternative_readmore == null) :
echo JText::_('COM_CONTENT_REGISTER_TO_READ_MORE');
elseif ($readmore = $this->item->alternative_readmore) :
echo $readmore;
if ($params->get('show_readmore_title', 0) != 0) :
echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit'));
endif;
elseif ($params->get('show_readmore_title', 0) == 0) :
echo JText::sprintf('COM_CONTENT_READ_MORE_TITLE');
else :
echo JText::_('COM_CONTENT_READ_MORE');
echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit'));
endif; ?>
item->event->afterDisplayContent; ?>
And what I have in myTemplate/html/com_content/article/default.php
getTemplate(true)->params;
JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers');
// Create shortcut to parameters.
$params = $this->item->params;
if ($templateparams->get('html5') != 1) :
require(JPATH_BASE.'/components/com_content/views/article/tmpl/default.php');
//evtl. ersetzen durch JPATH_COMPONENT.'/views/...'
else :
JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers');
?>
">
params->get('show_page_heading', 1)) : ?>
params->get('show_page_heading', 1) And $params->get('show_title')) :?>
escape($this->params->get('page_heading')); ?>
get('show_title')|| $params->get('access-edit')) : ?>
escape($this->item->title); ?>
params->get('show_page_heading', 1) And $params->get('show_title')) :?>
get('access-edit') || $params->get('show_print_icon') || $params->get('show_email_icon')) : ?>
print) : ?>
get('show_print_icon')) : ?>
item, $params); ?>
get('show_email_icon')) : ?>
item, $params); ?>
user->authorise('core.edit', 'com_content.article.'.$this->item->id)) : ?>
item, $params); ?>
item, $params); ?>
get('show_intro')) :
echo $this->item->event->afterDisplayTitle;
endif; ?>
item->event->beforeDisplayContent; ?>
get('show_author')) OR ($params->get('show_category')) OR ($params->get('show_parent_category'))
OR ($params->get('show_create_date')) OR ($params->get('show_modify_date')) OR ($params->get('show_publish_date'))
OR ($params->get('show_hits'))); ?>
get('show_parent_category') && $this->item->parent_slug != '1:root') : ?>
escape($this->item->parent_title);
$url = 'item->parent_slug)).'">'.$title.'';?>
get('link_parent_category') AND $this->item->parent_slug) : ?>
get('show_category')) : ?>
escape($this->item->category_title);
$url = 'item->catslug)).'">'.$title.'';?>
get('link_category') AND $this->item->catslug) : ?>
get('show_create_date')) : ?>
item->created, JText::_('DATE_FORMAT_LC2'))); ?>
get('show_modify_date')) : ?>
item->modified, JText::_('DATE_FORMAT_LC2'))); ?>
get('show_publish_date')) : ?>
item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
get('show_author') && !empty($this->item->author )) : ?>
item->author; ?>
item->created_by_alias ? $this->item->created_by_alias : $author);?>
item->contactid ) && $params->get('link_author') == true):?>
item->contactid),$author)); ?>
get('show_hits')) : ?>
item->hits); ?>
item->toc)) : ?>
item->toc; ?>
item->text; ?>
loadRenderer('modules');
$options = array('style' => 'xhtml');
$position = 'mPosition';
echo $renderer->render($position, $options, null);
?>
item->event->afterDisplayContent; ?>
I added this in the index.php of my template
jdoc:include type="component"
jdoc:include type="modules" name="mPosition"
The module is published on this position
I still have the display :
1. article
2. comment plugin
3. module
You can have look over here :
laireduvin