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

More
6 years 5 months ago #77556 by AlainR
Hello.
I test many options but all my descriptions are truncated. I see the FLEXI_CUT_INTRO option but, whatever I write over 145, only the 145 characters are displayed.
Even I put No to the option above, OK the value from FLEXI_CUT_INTRO is unnecessary, but my descriptions are only 145 characters long.

In the code, I see that $item->fields->display only contains the 145 first characters.

I see the options, but I cannot use them : so how is it possible to display the whole description of each item in Blog or Presentation view/template ?

Many thanks in advance for your help.

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

More
6 years 5 months ago #77559 by micker
hello in your category config you can remove redmore option

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
6 years 5 months ago #77565 by AlainR

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

More
6 years 5 months ago #77567 by micker
can you send me an access ?

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
6 years 4 months ago #77606 by AlainR
Thank you micker, sent by MP

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

More
6 years 4 months ago #77609 by ggppdk
Hello

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

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 ?


-- 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 review. Thanks!

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

More
6 years 4 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
6 years 4 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
6 years 4 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
6 years 4 months ago - 6 years 4 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 review. Thanks!
Last edit: 6 years 4 months ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
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
Save