close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

html editor users

Thread began 5/01/2011 4:34 pm by info271221 | Last modified 4/11/2012 10:12 am by jo271221 | 2686 views | 4 replies |

info271221

html editor users

We have some pages on our site that simply upload to the upload folder and our new Barrel Racing events updates to the uploadEditor. Can we program our insert and update pages on our barrel racing events to take advantage of the userid folder and not affect the other forms on the site that are using the older version of the html editor and NOT uploading to the new uploadEditor folder? If so, what is the procedure to program our insert and update pages to upload the the users id's folder. It uploadEditor/175 would be userID 175. Thank You

Sign in to reply to this post

Jason ByrnesWebAssist

in the html editor instance, click the pencil icon next to Editor preset. For the Upload directory enter:
uploadEditor/'.$_SESSION["your_session_variable_name"].'/


where "your_session_variable_name" is the name of the user ID session variable.

make sure to add:
<?php @session_start(); ?>

at line 1 of the page.

Sign in to reply to this post

jo271221

Screen shots on attachments

What if anything can be deleted from the server? (since we are not uploading the folder html editor)

This code used to be on the page – where is it now?
<?php
// The initial value to be displayed in the editor.
$CKEditor_initialValue = "";
$CKEditor = new CKEditor();
$CKEditor->basePath = "../webassist/ckeditor/";
$CKEditor_config = array();
$CKEditor_config["wa_preset_name"] = "BHot";
$CKEditor_config["wa_preset_file"] = "BHot.xml";
$CKEditor_config["width"] = "100%";
$CKEditor_config["height"] = "200px";
$CKEditor_config["skin"] = "kama";
$CKEditor_config["docType"] = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">";
$CKEditor_config["dialog_startupFocusTab"] = false;
$CKEditor_config["fullPage"] = false;
$CKEditor_config["tabSpaces"] = 4;
$CKEditor_config["filebrowserBrowseUrl"] = "../webassist/kfm/index.php?uicolor=".urlencode(isset($CKEditor_config["uiColor"])?str_replace("#","#",$CKEditor_config["uiColor"]):"#eee")."&theme=webassist_v2&showsidebar=false";
$CKEditor_config["toolbar"] = array(
array( 'Source','Save','Preview'),
array( 'Cut','Copy','Paste','PasteText','PasteFromWord','-','SpellChecker'),
array( 'Redo','Undo','Replace'),
array( 'Bold','Italic','Underline'),
array( 'NumberedList','BulletedList','-','Outdent','Indent'),
array( 'Link','Unlink','Anchor'),
array( 'Image','Flash','Table','HorizontalRule','Smiley'),
array( 'Styles','Format','Font','FontSize'),
array( 'TextColor','BGColor'),
array( 'Maximize','ShowBlocks','-','About'));
$CKEditor_config["contentsLangDirection"] = "ltr";
$CKEditor_config["entities"] = false;
$CKEditor_config["pasteFromWordRemoveFontStyles"] = false;
$CKEditor_config["pasteFromWordRemoveStyles"] = false;
$CKEditor->editor("texteditor", $CKEditor_initialValue, $CKEditor_config);
?>

This looks like a really old interface - please see attachments.

Attached Files
htmleditor-oddscreenshots-looks-old.zip
htmleditor.zip
Sign in to reply to this post

Jason ByrnesWebAssist

do you have HTML Editor 3 installed? The screen shot looks like the HTML Editor 2 interface. Not HTML Editor 3.

make sure to install HTML Editor 3 in order to use the most current HTM Editor version.

If you have CSS form Builder 2, the HTML Editor version included will be version 2, you will need to install HTML Editor 3 in order to use that version.

Sign in to reply to this post

jo271221

unistalled, re-installed resolved

Thanks! I misunderstood and thought html editor was part of design extender. I uninstalled and reinstalled in the correct order and it is resolved.

Sign in to reply to this post

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