issue with force read for intro items on blog template

More
10 years 5 months ago #42108 by kogos
I made a flexi category menu item, and in the category parameter i set up 1 leading article with no HTML striping or images, and 1 column , and the rest intro articles with HTML stripping+force read more.

"Force read more" function is not working for intro articles, when html stripping is off for the leading articles. If i enable stripping for the leading article, it's working for the intro articles as well. But if i have it enable only for the intro articles, it's not working...

Thanks in advance for your time.

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

More
10 years 5 months ago #42137 by ggppdk
Hello

you are speaking of parameters in the blog template so i have corrected the title of this forum thread.

about the issue, please edit files (inside folder: components/com_flexicontent/templates/blog/)
category_items.php
category_items_html5.php

search for:
Code:
$readmore_forced = $this->params->get('lead_strip_html', 1) == 1 ;
it will appear twice, replace the second occurrence with:
Code:
$readmore_forced = $this->params->get('intro_strip_html', 1) == 1 ;

and test


-- 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...

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

More
10 years 5 months ago #42138 by kogos
again, right on the spot...

it worked... i'll just replace in all custom blog layouts i made...

Again, 1k thanks.

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

More
10 years 5 months ago #42139 by ggppdk
Hello

thanks for reporting, and your description was good too

Regards


-- 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.289 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