Subrion CMS Support Forums   Follow Subrion on Twitter Join Us on Facebook

Go Back   Subrion CMS Support Forums > Subrion CMS Core Discussion > Subrion Core Discussion

Subrion Core Discussion Here we discuss everything that is related to Subrion CMS core functionality. Additional features related to plugins and templates engines. New features that are related to Manage Pages functionality or anything that's not related to Subrion packages.

Reply

 

LinkBack Thread Tools Display Modes
Old 04-17-2007   #1 (permalink)
Junior Member
 
Join Date: Apr 2007
Posts: 22
redeye is on a distinguished road
Default Characters inserted into text on save - FIXED

Characters added to article text when saved ...

Quote:
\r\n
\r\nThe concept is a motorcycle categorized as a crossover, a vehicle type increasingly winning favour around the world.
\r\n
\r\nMM3 concept, as it is called, is Moto Morini’s third issue since its rebirth in 2004 and marks the bike manufacturer’s way of interpreting the crossover.
\r\n
\r\n
\r\nMM3
More times you save the more characters are added ..

Quote:
\r\n\\\\r\\\\n\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\n
\r\n\\\\r\\\\n\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nTh e concept is a motorcycle categorized as a crossover, a vehicle type increasingly winning favour around the world.
\r\n\\\\r\\\\n\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\n
\r\n\\\\r\\\\n\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nMM 3 concept, as it is called, is Moto Morini’s third issue since its rebirth in 2004 and marks the bike manufacturer’s way of interpreting the crossover.
\r\n\\\\r\\\\n\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\n
\r\n\\\\r\\\\n\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\n
\r\n\\\\r\\\\n\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nMM 3

Last edited by redeye; 04-21-2007 at 04:30 PM.
redeye is offline   Reply With Quote
Old 04-17-2007   #2 (permalink)
Senior Member
 
Join Date: Jan 2007
Posts: 289
admin is on a distinguished road
Default

Hi,
Please modify your admin/edit-article.php file

find the following line
PHP Code:
$Editor->Value    $article['body']; 
and change it to the following:
PHP Code:
$Editor->Value    $_POST stripslashes($article['body']) : $article['body']; 

The bugfix will be included in the next patch Thanks Red
admin is offline   Reply With Quote
Old 04-19-2007   #3 (permalink)
Junior Member
 
Join Date: Apr 2007
Posts: 22
redeye is on a distinguished road
Default Re: Characters inserted into text on save

The admin/edit-article.php file I'm using has that code!!

Code:
<td colspan="2"><strong>Article Body:</strong><br />
<?php require_once("../classes/xaFckeditor.class.php");
	$Editor = new FCKeditor('body') ;
	$Editor->Value	= $_POST ? stripslashes($article['body']) : $article['body'];
	$Editor->Height	= 300;
	$Editor->Create() 
?>
	</td>
... another file???
redeye is offline   Reply With Quote
Old 04-19-2007   #4 (permalink)
Senior Member
 
Join Date: Jan 2007
Posts: 289
admin is on a distinguished road
Default Re: Characters inserted into text on save

It is possible you already have the latest version. Does the problem still exist?
admin is offline   Reply With Quote
Old 04-20-2007   #5 (permalink)
Junior Member
 
Join Date: Apr 2007
Posts: 22
redeye is on a distinguished road
Default Re: Characters inserted into text on save

Will wait for 1.0.0.3 and check.
redeye is offline   Reply With Quote
Old 04-21-2007   #6 (permalink)
Junior Member
 
Join Date: Apr 2007
Posts: 22
redeye is on a distinguished road
Default Re: Characters inserted into text on save

Fixed with 1.0.0.2
redeye is offline   Reply With Quote
Old 04-22-2007   #7 (permalink)
Senior Member
 
Join Date: Jan 2007
Posts: 289
admin is on a distinguished road
Default Re: Characters inserted into text on save

Ok, good
admin is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 06:20 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0