Seite 4 von 4

Re: mpArticleInclude (aka Article Include)

Verfasst: Do 18. Okt 2018, 21:13
von xmurrix
...Es steht in der 730a6156634fdd03f9d67e368e03eade6324c507.file.article_01.tpl.php
Wie merkwürdig ist das denn?...
Das ist ein dynamisch generiertes Template, d. h. es muss vorher irgendwo als Smarty-Template vorliegen, die Smarty-Template Engine kompiliert es und legt es am Ende unter "cms/cache/templates_c/" ab. Dazu muss es irgendwo ein Template geben...

Gruß
xmurrix

Re: mpArticleInclude (aka Article Include)

Verfasst: Fr 19. Okt 2018, 10:53
von DoroM
die Datei article_01.tpl fehlt in der Zip-Datei der altuellen 4.9er Version des Moduls. In älteren Versionen ist sie noch drin.
Da mein System aus einer Parallelinstalltion stammt, ist der Code aber im Cache-Ornder gewesen, weil ich das Modul früher schonmal installiert hatte (hatte ich nicht mehr auf dem Schirm:-( )

article_01.tpl

Code: Alles auswählen

{if 0 lt $ulId|strlen}<!-- includeArticle -->{/if}
<div class='' style=''>	
		{if $headline01 != ""}<h1>{$headline01}</h1>{/if}
		{if $headline02 != ""}<h2>{$headline02}</h2>{/if}
		{if $headline03 != ""}<h3>{$headline03}</h3>{/if}
		{if $text01 != ""}{$text01}{/if}
		{if $text02 != ""}{$text02}{/if}
		{if $text03 != ""}{$text03}{/if}
		{if $text04 != ""}{$text04}{/if}
		{if $text05 != ""}{$text05}{/if}
	
</div>
{if 0 lt $ulId|strlen}<!-- end includeArticle -->{/if}

Gruß Doro

mpArticleInclude in 4.10.

Verfasst: Fr 8. Nov 2019, 15:18
von Horst1234
Hallo
funktioniet das Modul auch noch in 4.10?
Gruß,
Horst

Re: mpArticleInclude in 4.10.

Verfasst: So 10. Nov 2019, 16:37
von xmurrix
Hallo Horst,
Horst1234 hat geschrieben:
Fr 8. Nov 2019, 15:18
...funktioniet das Modul auch noch in 4.10?...
ja, das Modul Funktioniert in CONTENIDO 4.10.* und auch mit PHP 7.3.

Gruß
xmurrix