Hi all,
TeamSite 6.5 sp1 Windows 2003.Everything else works great.
But I have tried everything I can think of to create a custom button in the visual formatter with no luck.
I tried this article:
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=50254 and its just a copy and paste from ektrons manual.
tried the PDF manuals from both ektron and iwov and no luck. The button shows up, but it does nothing.
Here is what I got. what am I doing wrong?
VisualformatConfig.xml
-------------------------
customevents.js
-----------------
eWebEditProExecCommandHandlers["jsGetStockImage"] = function(sEditorName, strCmdName, strTextData, lData)
{
alert('hello world');
}
ewebeditproeventsiw.js (I tried this with no luck)
--------------------------
function eWebEditProExecCommand(sEditorName, strCmdName, strTextData, lData)
{
if ("jshyperlink" == strCmdName)
{
//Custom Hyperlink popup
InsertHyperlink(sEditorName);
}
else if ("cmdspellcheck" == strCmdName)
{
forAllInstances(sEditorName, strCmdName, strTextData, lData);
}
else if ("cmdfind" == strCmdName)
{
forAllInstances(sEditorName, strCmdName, strTextData, lData);
}
else if ("jsGetStockImage" == strCmdName)
{
alert('hello world');
}
}
ewebeditproevents.js (tried this with no luck too)
------------------------
eWebEditProExecCommandHandlers["jsGetStockImage"] = function(sEditorName, strCmdName, strTextData, lData)
{
alert('hello world');
}
I even tried to modify Interwovens own file in
e:\iw-home\http\webapps\content_center\formspub\datacapture_editor_events.js with no luck either.
I contacted support, but they have taken 3 days and still no answer to a basic question.
does anyone have the exact steps?
Keith.