PowerCMS and iRite
Hi i have just bought iRite how do i configure it with an existing Power CMS site that i have created so i can use my custom css styles in the editor regards Alistair
Hi i have just bought iRite how do i configure it with an existing Power CMS site that i have created so i can use my custom css styles in the editor regards Alistair
You will only need to edit the iRite instance on the insert and update page.
After you have installed iRite, open the contents_insert.php and contents_update.php pages.
in design view, select the iRite instance and click the edit button in the properties inspector.
ok i have done that although when editing contents_insert.php i cannot edit the iRite php entry its just a php symbol with:
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("ContentValue", "../../WA_iRite/", "713px", "400px", "Custom", "../custom/contents_insert_ContentValue1.js", (isset($_POST['ContentValue']) ? $_POST['ContentValue'] : "" ) );
in the propertys panel, ive uploaded the new files but when i go to edit a page the page just remains white and nothing appears HELP
Sorry i didnt say i can insert content even though its still not picking up my styles even after I specified my css file, but if i try to edit after that i just get a blank white page. This is getting urgent as client coming to see site on thursday (nb) im testing locally at the moment cheers Alistair
try changing:
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("ContentValue", "../../WA_iRite/", "713px", "400px", "Custom", "../custom/contents_insert_ContentValue1.js", (isset($_POST['ContentValue']) ? $_POST['ContentValue'] : "" ) );
to:
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("ContentValue", "../WA_iRite/", "713px", "400px", "Custom", "../custom/contents_insert_ContentValue1.js", "".(isset($_POST['ContentValue']))?$_POST['ContentValue']:("") ."");
any time you are getting a white screen, there is ussually a PHP error occuring. Add the following at line of the page to see the error:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
Ok did the changes and also changed in the head:
<?php require_once("../../WA_iRite/WARichEditorPHP.php"); ?> to
<?php require_once("../WA_iRite/WARichEditorPHP.php"); ?> now it works but my styles are still not there, the reason i bought iRite was because i thought it would be straight forward to incorporate my css file i will try to simplify the css file and try again any help much appreciated thanks Alistair
Update: Changed the CSS file and back to the white screen even when i try to put everything back to how it was. Also if i go to the contents_update.php page and edit the iRite i now get this error message (see attached) also not sure were to put the PHP code you gave me to view errors
I will need to look into this with you. I have created a support ticket for this. Please update your support ticket by logging into your support history:
supporthistory.php
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.