bullet
Hi,
i am using PowerCMS 2.00 and until now i did not have this problem;
if i paste a bullet or use in the editor menu the 'special character' and choose a bullet i get really weird results (se attachement)
Can anyone help me with this issue ?
Hi,
i am using PowerCMS 2.00 and until now i did not have this problem;
if i paste a bullet or use in the editor menu the 'special character' and choose a bullet i get really weird results (se attachement)
Can anyone help me with this issue ?
is this the way it shows in the Power CMS Admin? or in the page you are outputting the PCMS content to?
if it is on the output pager, make sure the page is using the UTF-8 character set:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
it shows in the output; in the admin i can see the bulletsI
and yes, it is utf8
Peter
in the connections/PowerCMSConnection.php file, try changing:
$PowerCMSConnection = mysql_pconnect($hostname_PowerCMSConnection, $username_PowerCMSConnection, $password_PowerCMSConnection) or trigger_error(mysql_error(),E_USER_ERROR);
to:
$PowerCMSConnection = mysql_pconnect($hostname_PowerCMSConnection, $username_PowerCMSConnection, $password_PowerCMSConnection) or trigger_error(mysql_error(),E_USER_ERROR);
mysql_set_charset('utf8',$PowerCMSConnection);Jason, that did not solve the problem.
in Firefox i get the bullets but in al other browsers i don't
Peter
can you send a link where i can see the problem please.
sure: maaskurkvloeren.com/
i used dashes so far. The upper 4 items show the problem at the moment.
Thanks Jason, for your efforts.
Peter
at line 1 of the admin/contents_insert.php and contents_update.php pages, add the following code:
<?php
if($_SERVER["REQUEST_METHOD"] == "POST") {
foreach($_POST as $key => $val) {
$_POST[$key] = str_replace("•","•",$val);
}
}
?>
this will convert the bullet to the html entity, make sure to edit any content areas that use the bullet to have the content in the db updated.
Jason,
this solved the problem!
But why?? Is this a problem with PowerCMS?
Thanks a lot!
Peter
in the admin_cms/contents_insert.php page and the contents_update.php page, the following line:
$CKEditor_config["entities"] = false;
should be set to true:
$CKEditor_config["entities"] = true;
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.