killtec
Goto Top

Problem mit Joomla Template - Darstellung Kategorie Blog

Guten Abend zusammen,
ich habe ein Problem mti der Darstellung eines Kategorieblogs in einem Joomlatemplate.
Es sieht so aus (Bildausschnitt):
2d255fcfcfbfce7c54d7eef1b05464b6

Und es sollte so aussehen (Bildausschnitt, so sollte es aussehen, jedoch als Blog und nicht als Liste):
6c9375a1edae02f3eb7dfbcd4130ce35

Es geht hierbei um den Footer bereich. der geht als leer über die ganze Seite, soll aber mit in dem Rahmen bleiben.

Habe die block_item.php schon angepasst, da ein Fehler aufgetreten ist. (Error on Line 6...)
Hier der angepasste Code (line 6 ist auskommentiert):
<?php
defined('_JEXEC') or die;  

JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');  
JHtml::_('behavior.tooltip');  
// JHtml::core();
if (method_exists('JHtml','core'))  
JHtml::core();
else
JHtmlBehavior::framework(); 

Artx::load("Artx_Content");  

$component = new ArtxContent($this, $this->params);
$article = $component->article('category', $this->item, $this->item->params);  

$params = $article->getArticleViewParameters();
if (strlen($article->title)) {
    $params['header-text'] = $this->escape($article->title);  
    if (strlen($article->titleLink))
        $params['header-link'] = $article->titleLink;  
}
// Change the order of ""if"" statements to change the order of article metadata header items. 
if (strlen($article->created))
    $params['metadata-header-icons'] = "<span class=\"art-postdateicon\">" . $article->createdDateInfo($article->created) . "</span>";  
if (strlen($article->modified))
    $params['metadata-header-icons'] = "<span class=\"art-postdateicon\">" . $article->modifiedDateInfo($article->modified) . "</span>";  
if (strlen($article->published))
    $params['metadata-header-icons'] = "<span class=\"art-postdateicon\">" . $article->publishedDateInfo($article->published) . "</span>";  
if (strlen($article->author))
    $params['metadata-header-icons'] = "<span class=\"art-postauthoricon\">" . $article->authorInfo($article->author, $article->authorLink) . "</span>";  
if ($article->printIconVisible)
    $params['metadata-header-icons'] = $article->printIcon();  
if ($article->emailIconVisible)
    $params['metadata-header-icons'] = $article->emailIcon();  
if ($article->editIconVisible)
    $params['metadata-header-icons'] = $article->editIcon();  
if (strlen($article->hits))
    $params['metadata-header-icons'] = $article->hitsInfo($article->hits);  
// Build article content
$content = '';  
if (!$article->introVisible)
    $content .= $article->event('afterDisplayTitle');  
$content .= $article->event('beforeDisplayContent');  
if (strlen($article->images['intro']['image']))  
    $content .= $article->image($article->images['intro']);  
$content .= $article->intro($article->intro);
if (strlen($article->readmore))
    $content .= $article->readmore($article->readmore, $article->readmoreLink);
$content .= $article->event('afterDisplayContent');  
$params['content'] = $content;  
// Change the order of ""if"" statements to change the order of article metadata footer items. 
if (strlen($article->category))
    $params['metadata-footer-icons'] = "<span class=\"art-postcategoryicon\">"  
        . $article->categories($article->parentCategory, $article->parentCategoryLink, $article->category, $article->categoryLink)
        . "</span>";  

// Render article
echo $article->article($params);

Ich hoffe mir kann jemand helfen.
P.S.: In der Listendarstellung ist es ok.

Content-Key: 221427

Url: https://administrator.de/contentid/221427

Printed on: April 19, 2024 at 23:04 o'clock