I finally have imged and project swiki functioning properly. Doing so
requires that you replace
/installDirectory/ComSwiki/swiki/default/files/plug-in/SwikiNavigation.st
with the file that Je77 sent out last week. Also replace the html code in
/installDirectory/ComSwiki/swiki/refs/templates/68 with the following:

<OBJECT
        ID="SqueakOCX Control"
        WIDTH="<?embedWidth?>" HEIGHT="<?embedHeight?>"
        type="application/x-squeak-source"
        CLASSID="CLSID:2BE9C39E-8386-4435-B337-FCDAD8EAB006"
        CODEBASE="http://squeakland.org/installers/SqueakPluginInstaller.exe";
>       <PARAM name="width" value="<?embedWidth?>">
        <PARAM name="height" value="<?embedHeight?>">
        <PARAM name="src" value="<?fullSrcUrl?>">
        <PARAM name="codeUrl" value="<?fullCodeUrl?>">
        <PARAM name="projectUrl" value="<?fullProjectUrl?>">
        <PARAM name="bookUrl" value="<?fullBookUrl?>">
        <PARAM name="pageId" value="<?pageId?>">
        <PARAM name="locked" value="<?isLocked?>">
        <PARAM name="types" value="<?types?>">
        <PARAM name="update" value="111">
        <PARAM name="win32" value="Squeak3.2gamma of 12 January 2002 [latest
update: #4879]">
        <PARAM name="macos" value="Squeak3.1alpha of 16 May 2001 [latest update:
#4081]">
        <PARAM name="loader_url" value="http://squeakland.org/project.jsp";>
        <PARAM name="pluginspage" value="http://squeakland.org/detect.html";>
        <PARAM name="update_url" value="http://squeakland.org/update/";>
<embed
        type="application/x-squeak-source"
        src="<?fullSrcUrl?>"
        codeUrl="<?fullCodeUrl?>"
        projectUrl="<?fullProjectUrl?>"
        bookUrl="<?fullBookUrl?>"
        pageId="<?pageId?>"
        locked="<?isLocked?>"
        types="<?types?>"
        width="<?embedWidth?>"
        height="<?embedHeight?>"
        pluginspage="<?pluginUrl?>"
>
</OBJECT>

In addition replace /installDirectory/ComSwiki/swiki/imged/templates/1 with
the following:

<?doctype?>
<html>
<head>
<title>Edit <?imageName?> image</title>
<?endHead?></head>
<body<?colorScheme?>>
<?beforeButtons?><?showButtons?><?afterButtons?>
<h2>Edit <?imageName?> image</h2>
<OBJECT
        ID="SqueakOCX Control"
        WIDTH="752" HEIGHT="418"
        type="application/x-squeak-source"
        CLASSID="CLSID:2BE9C39E-8386-4435-B337-FCDAD8EAB006"
        CODEBASE="http://squeakland.org/installers/SqueakPluginInstaller.exe";
>
        <PARAM name="width" value="752">
        <PARAM name="height" value="418">
        <PARAM name="src" value="<?urlPrefix?><?srcUrl?>">
        <PARAM name="imageurl" value="<?urlPrefix?><?imageUrl?>">
        <PARAM name="uploadurl" value="<?urlPrefix?><?uploadUrl?>">
        <PARAM name="returnurl" value="<?urlPrefix?><?returnUrl?>">
        <PARAM name="memory" value="15">
        <PARAM name="update" value="111">
        <PARAM name="win32" value="Squeak3.2gamma of 12 January 2002 [latest
update: #4879]">
        <PARAM name="macos" value="Squeak3.1alpha of 16 May 2001 [latest update:
#4081]">
        <PARAM name="loader_url" value="http://squeakland.org/project.jsp";>
        <PARAM name="pluginspage" value="<?pluginUrl?>">
        <PARAM name="update_url" value="http://squeakland.org/update/";>
<embed
        type="application/x-squeak-source"
        src="<?urlPrefix?><?srcUrl?>"
        imageurl="<?urlPrefix?><?imageUrl?>"
        uploadurl="<?urlPrefix?><?uploadUrl?>"
        returnurl="<?urlPrefix?><?returnUrl?>"
        width="752"
        height="418"
        align="left"
        memory="15"
        pluginspage="<?pluginUrl?>"
>
</OBJECT>
<?endBody?></body>
</html>

Finally, restart the server.

Good luck,

John

Reply via email to