View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Tutorial For Upgrading PowerCMS with the new HTML Editor

Thread began 12/03/2009 3:28 am by anonymous | Last modified 12/19/2009 4:16 pm by anonymous | 1897 views | 11 replies

shadow329043

Now I am annoyed enough to drop this project

I know I am not that dense! I have done this mod 6 times! I followed the instructions for the contents_insert.php page and it is NOT working! I don't know if I am missing something. When I originally did this project, I did the whole thing and the content_update.php section did work! Just not the first page - the content_insert page.
On the final version (this one) I moved the HTMLEditor folder from the site root to a folder under the CMS folder, corrected the path in the source from "/HTMLEditor/" to "../HTMLEditor/" and it STILL did not work.

I don't know if the problem is PATH or what - the one question that NO ONE answer was "Is the HTML editor folder in the same folder as the CMS?" I installed the CMS in its own folder, according to the case study (link posted earlier in this post) which is named "CMS" Attaching the content_insert page - but didn't see it when I saved this post, so I am pasting the 2 sections of code that I needed to change below

The "require once" section
<?php require_once( "../WA_Globals/WA_Globals.php" ); ?>
<?php require_once('../Connections/localhost.php'); ?>
<?php require_once( "../WA_CMS/WA_CMS.php" ); ?>
<?php require_once("../WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php require_once("../HTMLEditor/WARichEditorPHP.php"); ?>
<?php require_once( "../WA_SecurityAssist/Helper_PHP.php" ); ?>

The Editor instance itself
<?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_2 = CreateRichTextEditor ("ValueContent", "../HTMLEditor/", "713px", "400px", "Default", "../custom/contents_insert_ValueContent1.js", (isset($_POST['ContentValue']) ? $_POST['ContentValue'] : "");
?>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...