SilvioSiefke Posted November 14, 2023 Report Share Posted November 14, 2023 Hallo, ich habe eine Frage zur Funktion trim. Ich habe in unseren Produkt Listing die Standard Trim 75 auf 110 erhöht, aber es ändert sich nichts im Frontend. Muss man wo anders noch etwas machen damit das wirksam wird? <div class="title"> <p class="h4"><a href="{$module_data.products_link}">{$module_data.products_name}</a></p> {if $module_data.products_short_description|strip_tags|trim != ''} # old > <p class="desc desc-short text-middle hidden-xs">{$module_data.products_short_description|strip_tags|truncate:75:'...'}</p> <p class="desc desc-short text-middle hidden-xs">{$module_data.products_short_description|strip_tags|truncate:110:'...'}</p> {elseif $module_data.products_description|strip_tags|trim != ''} # old > <p class="desc desc-long text-middle hidden-xs">{$module_data.products_description|strip_tags|truncate:75:'...'}</p> <p class="desc desc-long text-middle hidden-xs">{$module_data.products_description|strip_tags|truncate:110:'...'}</p> {/if} </div> Danke und schönen Tag Silvio Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.