<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : small improvement for page.edit.inc GENOA</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 15 Apr 2026 22:52:17 -0000</pubDate>

		<item>
			<title>ez</title>
			<description><![CDATA[<p>
	When using ckeditor the add will set the page type to HTML.<br />
	But on the edit it goes wrong.... the parsing will get overwritten with blank... IF you leave out the parser fields in the TPL.</p>
<p>
	There are more ways to fix it, but this fix in page.edit.inc.php on line 203 (near) wont break anything if a couple off admin fields<br />
	are left out off the TPL.. (They now get overwritten by blank....)</p>
<p>
	SO, i think this will improve MVC, because TPL should never influence the outcome..</p>
<p>
	(Just a pointer.... use it or not...)</p>
<p>
	 </p>
<p>
	              // LLS : 2basix : Modification START<br />
	                $ssql_admin="";<br />
	                if ($rpagetype!="") { $ssql_admin = "page_type = '".sed_sql_prep($rpagetype)."'"; }   <br /><br />
	                if ($rpageownerid!="") {<br />
	                    $ssql_admin .= ($ssql_admin=="") ? "" : ",";<br />
	                    $ssql_admin = "page_ownerid = '$rpageownerid'";<br />
	                }   <br /><br />
	                if ($rpageownerid!="") {<br />
	                    $ssql_admin .= ($ssql_admin=="") ? "" : ",";<br />
	                    $ssql_admin .= "page_count = '$rpagecount'";<br />
	                }   <br />
	                $ssql_admin .= ($ssql_admin=="") ? "" : ",";<br />
	                // LLS : 2basix : Modification END<br /><br />
	                /* orginal code<br />
	                $ssql_admin = "page_type = '".sed_sql_prep($rpagetype)."',<br />
	                page_ownerid = '$rpageownerid',<br />
	                page_count = '$rpagecount',";<br />
	                */</p>
]]></description>
			<pubDate>Mon, 23 May 2011 18:28:18 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6361&d=0#post29730]]></link>
		</item>
	</channel>
</rss>