29/10/2022, 11:40:43
La version de PHP v 7.4.16 sur un serveur local.
L'onglet "image" est dans le template (gabarit) suivant :
{strip}
{$background_image="{content_image block='background_image' tab='Images' urlonly=1 label='Background Image (dimensions will vary based upon amount of conent), leave blank for none.'}"}
{/strip}
<div class="column row text-center expanded has-background" {if $background_image} style="background-image: url({$background_image});"{/if}>
<div class="row">
<h2>{title}</h2>
<div class="column menu-home">
{content label='full-width content'}
</div>
</div>
</div>
L'onglet "image" est dans le template (gabarit) suivant :
{strip}
{$background_image="{content_image block='background_image' tab='Images' urlonly=1 label='Background Image (dimensions will vary based upon amount of conent), leave blank for none.'}"}
{/strip}
<div class="column row text-center expanded has-background" {if $background_image} style="background-image: url({$background_image});"{/if}>
<div class="row">
<h2>{title}</h2>
<div class="column menu-home">
{content label='full-width content'}
</div>
</div>
</div>