Text below read more link keeps coming back

More
12 years 5 months ago #25789 by kevinb
Hi,

whenever I create an item and I use a read more line in the description field I'm unable to delete the text below the line.

I can delete the text but when I save the item the read more line comes back with the original text below it.

I've disabled versioning but that didn't seem to do the trick.

Is there any setting I need to tweak for the read more link to dissapear?

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

More
12 years 5 months ago #25794 by ggppdk
mmmm, this is a bug !!

we load existing item data merging them with the form posted data.

Since this is important i ll look at it now


-- 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
12 years 5 months ago #25796 by ggppdk
Please apply this fix in administrator/components/com_flexicontent/models/parentitemclass.php:
about line 1339
Code:
if ($tagPos == 0) { $item->introtext = $data['text']; } else { list($item->introtext, $item->fulltext) = preg_split($pattern, $data['text'], 2); }
add a line like this:
Code:
if ($tagPos == 0) { $item->introtext = $data['text']; $item->fulltext = ''; } else { list($item->introtext, $item->fulltext) = preg_split($pattern, $data['text'], 2); }
Thanks for reporting,
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.992 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