Article in article [SOLVED]

More
13 years 7 months ago #19934 by pshoeg
Replied by pshoeg on topic Article in article [SOLVED]
Hmm, okay, then it doesn't really solve my problem. I need it to show the article with all the HTML — images are stripped away, too. Thanks for your help, though.

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

More
13 years 7 months ago #19937 by ggppdk
Replied by ggppdk on topic Article in article [SOLVED]
Code:
$lists[$ord]['featured'][$i]->text = flexicontent_html::striptagsandcut($row->introtext, $mod_cut_text); ... $lists[$ord]['standard'][$i]->text = flexicontent_html::striptagsandcut($row->introtext, $mod_cut_text);

These are the lines that strip and cut text
mod_flexicontent/helper.php

i will add an option not to strip html ...
after thought i believe you are right there should be an option not to strip html of the item (article) text, like there is an option where to cut the text.

But note that if we don't strip html tags we can no longer cut at a maximum number of characters, since we now will have opening and closing html tags, so the full text will appear when you set not to strip tags ...

The new option will be on next download of v1.5.6 beta/final

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.

More
13 years 7 months ago #19944 by pshoeg
Replied by pshoeg on topic Article in article [SOLVED]
Great, thank you so much!

Not being able to choose number of characters will not be a problem for me, I need it to show the entire article :)

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

More
13 years 7 months ago #20089 by pshoeg
Replied by pshoeg on topic Article in article [SOLVED]
I have another question — when I use the mod_flexicontent module to display news it links to the news item in a weird way. You mentioned the lines of code that strip the HTML tags, and I've tried changing them. But for some reason, the HTML tags are still stripped from the item that's being linked to.

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

More
13 years 7 months ago #20099 by ggppdk
Replied by ggppdk on topic Article in article [SOLVED]
Have added this option to the FLEXIcontent Universal in revision r949 (the option not strip tags and cut text).

Also i have cleaned up the css FILE for the 'news' template and also improved the styling of it, so that it now more easy and comprehensive to style up the 'news' template and added a new option for standard items to be displayed in 2 columns (for news template)

Get this build here:
code.google.com/p/flexicontent/downloads/list

Be careful not to confuse options of standard and featured items.

If you set module to display 6 items of which 2 are featured, then the first 2 will be featured and the next 4 standard.

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.

More
13 years 7 months ago #20108 by pshoeg
Replied by pshoeg on topic Article in article [SOLVED]
Thanks — do you have any plans to make the change in FlexiContent 2 as well?

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

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