Home
TeamSite
eWebEditPro
Priti
wondering if anyone has an issue with IE 6 closing when trying to open a template using visual format.
i have installed ewebeditpro but to no avail.
Find more posts tagged with
Comments
Migrateduser
We sometimes have problems when users create multiple instances of a VFE in a single DCT - since we are not using - what is known as a callout (where the users clicks a button which opens the VFE) However, our specs were clear that
using a callout approach was not an option.
In my view it really depends on the horse-power of the machine
Priti
we only have 1 instance of the VFE- why would IE6 cause Teamsite to close along with the browser? and not any other version?
Migrateduser
I really don't know why just one VFE would cause a problem - here's some info I've gathered from ekton/interwoven the past year and a half some of it may be helpful:
How is the editor installed or updated to the client PC?
http://www.ektron.com/index.cfm?doc_id=109
Because the editor is based on ActiveX technology, it will (with permission) automatically download and install from your web server onto the client computer using Internet Explorer. It only downloads and installs the first time the editor is used. It does not need to download every time. You do not need to distribute a setup application to every client computer.
Updates to the latest version are equally easy. The web page that contains the editor, also specifies the version of the editor. If the client computer does not have the latest version, it automatically downloads and installs it. All you have to do is copy the latest version of Ektron's eWebEditPro files to your web server.
For client using Netscape, a hyperlink appears to download and run a setup program that installs all the necessary files.
VFE – FAQ Questions
Question
1.) How many Visual Format Fields can I have within a dct
Answer
More than one editor can be implemented on one page, but make sure that memory
resources are available to handle the need for space. Windows '95 and '98 are
not extremely reliable for memory. Windows 2000 is more stable to carry the
large amount of space that is needed to run several editors at once. We suggest
running no more than 5 per page.
To have many editors on a page, it is recommended that you use a popup button
that opens just on editor at a time. Alternately, if you would like to put
more than 5 on one page, grouping them with a "next" key to bring up the next
batch is recommended.
--------------------------------------------------------------------------------
Question
2.) How can I stop VisualFormat from encapsulating the textareas in <p> </p> tags?
Answer
It is important that for 5.01 that SP2 is installed. The VF editor retains
the </p> tags, it checks whether there are values inside the tags when you
do a "Save". Therefore if you are validating that there is content in the
field, if the user did not type anything in it will see the field as empty.
Additionally, VF removes the </p> tags when saving the DCR for a blank VF field.
Thus, anything put into a VF field will be wrapped in </p> tags, though these
can be removed on the presentation template side with something like this:
<iw_perl>
<![CDATA[
my $head = iwpt_dcr_value('first.Contact Info') ;
$head =~ s/<p>//;
$head =~ s/<\/p>$//;
iwpt_output ("$head <br/>");
]]>
</iw_perl>
--------------------------------------------------------------------------------
Question
3.) How much content can I put in a VF field
Answer
The maximum size of content in the eWebEditPro editor has no internal
restrictions. The size of the content is restricted, by default, by the
maxContentSize parameter. This restriction is in place to protect the content
from being too large for limitations in the browser or server.
The maximum size of the content may be increased in some circumstances. There
are a number of factors that affect the maximum size allowed.
Netscape 4 fields are limited to 64K, that is 65535.
Form variables (e.g., hidden fields) may be limited in size by the web server,
though typically the size is very large.
If using a database, the database field type may be limited in size (e.g., 64K bytes).
Check your database documentation.
If using ODBC, the content may be limited in the version of the ODBC driver
installed on the server.
If using ASP on IIS, the content may be limited by the version ofthe ASP DLL
on the server.
And, of course, you may wish to limit the size as a matter of corporate policy,
personal preference, or to implement quotas where a user has a limited amount
of space allocated.
If you know that none of these restrictions apply to your situation, for
example, all users have Internet Explorer (IE), then you can increase the
value of maxContentSize in ewebeditprodefaults.js or set it in JavaScript.
To have no limit, set maxContentSize = 0.
Note: the maxContentSize parameter checks the number of characters, which may
be different than the number of bytes, depending on the encoding method.
--------------------------------------------------------------------------------
Question
4.) How to create a drop-down list of special characters on the toolbar with
descriptions instead of the actual character or a bitmap
Answer
Find the cmdchr command in the configuration XML data (e.g., config.xml). Change
the command to be similar to the one shown below. Create the list of <listchoice>
elements to include the special characters you wish to present. These can be any
character supported by the browser and the font used to display the character.
A list of characters, including mathematical symbols and Greek letters, is
defined by the W3C for HTML 4. The list is shown as character references, but
it easy to see the character codes.
<pre>The cmdchrX command is extensible in that the number, X, is the decimal
code of the character to be inserted. You can make the cmdchrX commands you
wish, for example, cmdchr128, cmdchr151, and cmdchr8224. These, respectively,
insert character codes 128, 151, and 8224.</pre>
<command name="cmdchr" style="list">
<caption>Characters</caption>
<tooltiptext>Special Characters</tooltiptext>
<selections name="chrlist">
<listchoice command="cmdchr128">Euro</listchoice>
<listchoice command="cmdchr151">Dash</listchoice>
<listchoice command="cmdchr8224">Dagger</listchoice>
<listchoice command="cmdchr913">Alpha</listchoice>
<listchoice command="cmdchr914">Beta</listchoice>
<listchoice command="cmdchr920">Theta</listchoice>
:
</selections>
</command>
You may wish to remove the cmdextchars command and other cmdchrX commands
that appears on the toolbar once you add your own drop-down list.
--------------------------------------------------------------------------------
Question
5.) Error message states the ActiveBar ActiveX control by Data Dynamics is for
30 day evaluation
Answer
The Evaluation message is easily removed by clicking the OK button. The
eWebEditPro editor will continue to function normally even after 30 days.
To prevent the Evaluation message from appearing, try the following ideas.
For Internet Explorer:
Ensure the ewebeditpro.lpk file is not corrupt and is accessible. It must be in the server directory where eWebEditPro was installed (e.g., /ewebeditpro2/).
Ensure the path is relative to the host. It cannot include the protocol (e.g., http
or the domain (e.g.,
www.domain.com
). The path is defined in ewebeditpro.js as eWebEditProPath.
Ensure a firewall does not block it.
Ensure the server permits .lpk file extensions. One way to ensure this is to type the URL to the ewebeditpro.lpk in the browser's address bar.
Ensure the server does not append any information to the end of the LPK file.
Running the client installation program should prevent the evaluation message from appearing.
Since the client installation program is required for Netscape, the Evaluation message should never appear when using Netscape.
--------------------------------------------------------------------------------
Question
6.) Why does Norton AntiVirus 2001 display a warning message when using
the spell checker in eWebEditPro?
Answer
Disable Script Blocking in Norton AntiVirus 2001.
To enable spell checking in eWebEditPro:
Open Norton AntiVirus 2001
Select Options
Click Script Blocking
Uncheck Enable Script Blocking
--------------------------------------------------------------------------------
Question
7.) How to prevent saving while viewing HTML source
Answer
There are two steps to preventing the editor from saving when viewing HTML
source. First, you will need to keep track of what each editor is viewing,
either WYSIWYG or HTML source. Second, you will need to detect when the editor
is about to save the content to the hidden field and prevent the save if
viewing HTML source.
To keep track of the current view mode, add JavaScript code to the
eWebEditProExecCommand event handler function to watch for the commands that
switch the view mode. Add the function below to your customevents.js file.
If you are using eWebEditPro 2.5 or later, a customevents.js file already
exists. For older versions you will need to create one and include it in
ewebeditpro.js unless you have already added custom event handlers in the
past. (Refer to the Developer's Reference Guide for details). If you already
have eWebEditProExecCommand defined, just add the contents of the function
to your existing function.
This function adds a custom property, isSourceView, to the JavaScript instance object.
function eWebEditProExecCommand(sEditorName, strCmdName, strTextData, lData)
{
if ("cmdviewashtml" == strCmdName)
{
eWebEditPro.instances[sEditorName].isSourceView = true;
}
else if ("cmdviewaswysiwyg" == strCmdName)
{
eWebEditPro.instances[sEditorName].isSourceView = false;
}
}
To check if any editor is viewing source, also add the following function to
your customevents.js file. This function will be called just before the content
is saved.
function checkView()
{
for (var i = 0; i < eWebEditPro.instances.length; i++)
{
if (eWebEditPro.instances
.isSourceView)
{
alert("Unable to save while viewing HTML source.\n\nPlease to switch to view WYSIWYG and try again.");
return false;
}
}
}
The last step is to configure eWebEditPro to call the checkView function prior
to saving the content to the hidden field. Add the following JavaScript to the
page that contains the editor. This line can be added anywhere on the page after
the ewebeditpro.**** file is included. This sets the onbeforesave event handler
to call the checkView function. Note that there are no parentheses after 'checkView'.
eWebEditPro.onbeforesave = checkView;
--------------------------------------------------------------------------------
Question
8.) Why is VF occasionaly unresposive after I configure it to remove certains tags
Answer
Do not remove offending tags using <tagonly>. Known problem tags include
TBODY and P (some times). Most tags will not cause a problem. The FONT tag,
which is commonly removed by sites formatted exclusively using style sheets
(CSS), are safe to remove using.
--------------------------------------------------------------------------------
Question
9.) Why does a carriage return look like it is inserting a
tag but actually inserts a <p> tag?
Answer
Visual Format, like most wysiwyg editors, standardizes on the "Enter" key
as inserting a <p> tag and "Shift+Enter" to enter a <br> tag. If you wish
to change how things look in the editor so that hitting Enter inserts a
blank line in between text, see KB 45636.
--------------------------------------------------------------------------------
Question
10.) What version of VisualFormat am I running?
Answer
You can determine the version by going to C:\WINNT\Downloaded Program
Files and getting the properties on the ewebeditpro component.
--------------------------------------------------------------------------------
Question
11.) How can I find out what files are installed by VisualFormat onto the client?
Answer
You can get this from Ektron's website. Here's the link:
http://www.ektron.com/support/ewebeditprokb.cfm?doc_id=1245
Priti
thanks!!
Baeck
Are you using Windows XP? If so, which version of TeamSite are you running? I know that there are issues with some versions of the VFE under Windows XP, so if you've recently switched to Windows XP, you may need to put an updated version of the VFE on the server. The VFE included in TS 5.5.2 should be fine under XP, but if you're still using an earlier version of TS (5.0.1, etc.), you will have a problem.
-Aaron Baecker
Senior Consultant
Quotient, Inc.
http://www.Quotient-Inc.com