Hi,
bei mir hat sich leider noch nichts getan.
Ich habe die ModuleNewsCategorylist.php durch die neue ersetzt, dann noch ein Datenbankupdate gemacht (was nicht nötig war) dann habe ich versucht in Template "news_latest.tpl" über die Headline die Kategorie zu packen:
Code:
<h2><?php echo $this->text ? $this->category : $this->category; ?></h2>
<h2><?php echo $this->text ? $this->linkHeadline : $this->newsHeadline; ?></h2>
oder auch so:
Code:
<h2><?php echo $this->category; ?></h2>
<h2><?php echo $this->text ? $this->linkHeadline : $this->newsHeadline; ?></h2>
oder auch so:
Code:
<h2><?php echo $this->categories; ?></h2>
<h2><?php echo $this->text ? $this->linkHeadline : $this->newsHeadline; ?></h2>
Aber er zeigt, wie vorher auch schon, nur Zahlen von 1-3 an. Bei der Variante mit $this->categories kommt nichts.
Das Ganze unter Contao 2.9.3
Was mache ich falsch? :-)
Lesezeichen