Complete Description's items in Blog or Presentation view/template

More
4 years 5 months ago #77610 by micker
strange .... nothing was change ... can you try an other template just for testing ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #77613 by AlainR

micker wrote: strange .... nothing was change ... can you try an other template just for testing ?

With protostar this is the same : dev.artisan-du-web.ch/appartenances/medias?templateStyle=7

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #77614 by AlainR
Hello.

ggppdk wrote: are you using the a copy of our "blog" category layout ?

Yes, I made a copy of blog template

ggppdk wrote: The trimming parameters configuration exists 2 times
- once for the "leading" items list and once for the "intro" list

are you changing for the intro instead of the leading ?

I saw that and I wrote 2000 in each field (in french) "Longeur maximum du texte", in "Éléments en vedette" tab and in "Contenus standards" tab

I explore the code and test print_r($field); to see what is displaying. So I see that text is truncated before. So I don't understand where is the mistake in my parameters.

Many thanks again.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago - 4 years 5 months ago #77618 by ggppdk
Hello

edit file
category_items.php or category_items_html5.php

find code:
Code:
<?php if ($intro_use_description) : $desc_text = $this->params->get('intro_strip_html', 1) ? flexicontent_html::striptagsandcut( $item->fields['text']->display, $intro_cut_text, $uncut_length ) : $item->fields['text']->display;

backup file and change to
Code:
<?php if ($intro_use_description) : $desc_text = $item->fields['text']->display;

does it make a difference ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 4 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago - 4 years 5 months ago #77619 by AlainR
In category_items_html5.php file I did it but no change. $item->fields->display contains the already truncated text ??!!?
I added print_r($item->fields); before echo that you can see on the same page : dev.artisan-du-web.ch/appartenances/medias
Last edit: 4 years 5 months ago by AlainR.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.309 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline