diff --git a/ModulePageHeadline.php b/ModulePageHeadline.php index 605f0a4..d0e3ff8 100644 --- a/ModulePageHeadline.php +++ b/ModulePageHeadline.php @@ -41,7 +41,7 @@ public function generate() $objTemplate->title = $this->headline; $objTemplate->id = $this->id; $objTemplate->link = $this->name; - $objTemplate->href = 'typolight/main.php?do=modules&act=edit&id=' . $this->id; + $objTemplate->href = 'contao/main.php?do=modules&act=edit&id=' . $this->id; return $objTemplate->parse(); } @@ -61,7 +61,7 @@ protected function compile() $this->Template->headline = strlen($objPage->pageTitle) ? $objPage->pageTitle : $objPage->title; - // Current page has an image + // Current page has a headline if (strlen($objPage->pageHeadline)) { $this->Template->headline = $objPage->pageHeadline; diff --git a/dca/tl_page.php b/dca/tl_page.php index 59ea116..36d7c16 100644 --- a/dca/tl_page.php +++ b/dca/tl_page.php @@ -39,6 +39,6 @@ ( 'label' => &$GLOBALS['TL_LANG']['tl_page']['pageHeadline'], 'inputType' => 'text', - 'eval' => array('maxlenght'=>255, 'tl_class'=>'long'), + 'eval' => array('maxlenght'=>255, 'allowHtml'=>true, 'tl_class'=>'long'), ); diff --git a/templates/mod_pageheadline.html5 b/templates/mod_pageheadline.html5 index 0021d52..48fda3b 100644 --- a/templates/mod_pageheadline.html5 +++ b/templates/mod_pageheadline.html5 @@ -1,4 +1,4 @@ -
cssID; ?>style): ?> style="style; ?>"> +
cssID; ?>style): ?> style="style; ?>"> <hl; ?>>headline; ?>hl; ?>> -
\ No newline at end of file +