in einer umfangreicheren Website benötige ich den Teaser in verschiedensten Varaitionen. Dazu brauche ich in der Auswahl für die Teaser-Darstellung mehr als 4 html-Tenplates haben.
In der class.content.type.teaser.html habe ich ab Zeile 738 folgendes gefunden:
Code: Alles auswählen
// set other avariable options manually
$htmlSelectOption = new cHTMLOptionElement(i18n("Slider style"), 'cms_teaser_slider.html', false);
$htmlSelect->appendOptionElement($htmlSelectOption);
$htmlSelectOption = new cHTMLOptionElement(i18n("Image style"), 'cms_teaser_image.html', false);
$htmlSelect->appendOptionElement($htmlSelectOption);
$htmlSelectOption = new cHTMLOptionElement(i18n("Text style"), 'cms_teaser_text.html', false);
$htmlSelect->appendOptionElement($htmlSelectOption);
$htmlSelectOption = new cHTMLOptionElement(i18n("Blog style"), 'cms_teaser_blog.html', false);
$htmlSelect->appendOptionElement($htmlSelectOption);
$additionalOptions = getEffectiveSettingsByType('cms_teaser');
foreach ($additionalOptions as $sLabel => $sTemplate) {
$htmlSelectOption = new cHTMLOptionElement($sLabel, $sTemplate, false);
$htmlSelect->appendOptionElement($htmlSelectOption);
}
Code: Alles auswählen
$htmlSelectOption = new cHTMLOptionElement(i18n("Image2 style"), 'cms_teaser_image2.html', false);
$htmlSelect->appendOptionElement($htmlSelectOption);
Kann mir da jemand helfen?
Gruß farina