"HTML-Code"-Modul als Include-Element: Abstand und CSS
Hallo zusammen,
wenn man ein "HTML-Code"-Modul als Include-Element in einen Artikel einsetzt, dann werden die Angaben wie CSS-ID und -Klasse, sowie die Abstände nicht übernommen.
Man kann die mod_html.tpl folgendermaßen verändern:
Vorher:
PHP-Code:
<?php echo $this->html; ?>
Neu:
PHP-Code:
<?php if ($this->class || $this->cssID || $this->style): ?>
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<?php endif; ?>
<?php echo $this->html; ?>
<?php if ($this->class || $this->cssID || $this->style): ?>
</div>
<?php endif; ?>
So funktioniert es bei mir jetzt!
Vielleicht sollte das auch als Ticket übernommen werden? Oder sehe ich die ganze Sache falsch oder habe etwas übersehen?
Viele Grüße
Jan