Note that this solution is for enabled option Field names in browse form in Basic Settings > Listings
Note that this solution is for enabled option Field names in browse form in Basic Settings > Listings
Ok.. I understand. But can you help us to limit the description in listings?
Some people make Big descriptions with many spaces between words.
So can you tell me how to limit the description in listings?
1.png
You can add the following style:
Code:Only registered members can view the code.
ok this work but user cannot read all the description if he want. how can user expand the description with a button?
It will require a small customization
Hello. Could you please tell me where in the new theme to limit the number of displayed characters in the description, just like it was in the previous Rainbow template.
2024-06-22_173939.png
2024-06-22_173640.png
Hello,
Add this style:
Code:Only registered members can view the code.
Thanks Rudi, but unfortunately it is unchanged. The full description is displayed, with no text reduction...
I solved it like this: featured_item.tpl and listing.tpl
add:style.css{if $item.Key == 'additional_information'}
<div class="hirdetes_item_szoveg">{$item.value|replace: '...':''|truncate:100:'...'}</div>
{/if}
add:.hirdetes_item_szoveg {
padding: 5px 10px 5px 0;
}
Thank you very much, but unfortunately this option gives me an error...
System error occurred
Smarty error:
And where do I need to insert the code in listing.tpl?