View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

html editor

Thread began 10/25/2009 9:39 am by segalmedia367166 | Last modified 11/19/2009 11:45 pm by segalmedia367166 | 873 views | 5 replies

pete268226

Solved - sort of...

OK, there is a conflict between the old iRite and new HTML Editor. When you use HTML Editor to add that function to a custom (as in, my own) text field, you need to do three things:
1. Delete this line near the top of the document:
<?php require_once("../HTMLEditor/WARichEditorPHP.php"); ?>

2. Change this line at the location of the custom text field:
$WARichTextEditor_2 = CreateRichTextEditor ("ProductLongDesc", "../HTMLEditor/", "750px", "600px", "Custom", "../custom/Products_Insert_ProductLongDesc1.js", "".(isset($_GET['valid'])?ValidatedField("ProductsUpdate","ProductLongDesc"):$row_WADAProducts['ProductLongDesc']) ."");
to this line: (Change HTMLEditor reference to WA_iRite reference)
$WARichTextEditor_2 = CreateRichTextEditor ("ProductLongDesc", "../WA_iRite/", "750px", "600px", "Custom", "../custom/Products_Insert_ProductLongDesc1.js", "".(isset($_GET['valid'])?ValidatedField("ProductsUpdate","ProductLongDesc"):$row_WADAProducts['ProductLongDesc']) ."");

3. Move the .js file that is generated in the HTMLEditor/custom/ directory to the WA_iRite/custom/ directory and upload.

This allowed for the editor to work on my new field.

Now, the 'sort-of' part that I need help with:
I had used WA_Products['mynewtable'] as an initial variable so that when my client enters data, it is retained in that field on an update. When I added the HTMLEditor/iRite function, that init var disappeared and I don't know how to get it back. I see where to put the variable call - but it's not updating any longer.

Any ideas?
Thanks,
Pete

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...