[Zope] Epoz Editor

Shaun Einolf shaune@p-wave.com
Thu, 17 Jul 2003 12:09:56 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_001F_01C34C5C.5672C450
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am having a problem using the epoz editor for more than one field on a =
page. For example i have two areas on my page to be edited description =
and title.

the code in my page template is as follows:

         <tr>
           <th>Description</th>
           <td tal:content=3D"structure python: =
here.Epoz(name=3D'description',data=3DvarDict['description'],toolbox=3D'/=
toolbox',lang=3D'en',style=3D'width: 620px; height: 250px; border-stlye: =
solid; border: 1px solid #000000;')"></td>
         </tr>

         <tr>
           <th>Title</th>
           <td tal:content=3D"structure python: =
here.Epoz(name=3D'title',data=3DvarDict['title'],toolbox=3D'/toolbox',lan=
g=3D'en',style=3D'width: 620px; height: 250px; border-stlye: solid; =
border: 1px solid #000000;')"></td>
         </tr>

What happens, is the editor decides to not allow editing of title and =
moves the title content to description box and it just seems i cant have =
epoz used more than once on a page to be edited. Any help would be =
appreciated

Thanks
Shaun Einolf
------=_NextPart_000_001F_01C34C5C.5672C450
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am having a problem using the epoz =
editor for=20
more than one field on a page. For example i have two areas on my page =
to be=20
edited description and title.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>the code in my page template is as=20
follows:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&lt;tr&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;=20
&lt;th&gt;Description&lt;/th&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;=20
&lt;td tal:content=3D"structure python:=20
here.Epoz(name=3D'description',data=3DvarDict['description'],toolbox=3D'/=
toolbox',lang=3D'en',style=3D'width:=20
620px; height: 250px; border-stlye: solid; border: 1px solid=20
#000000;')"&gt;&lt;/td&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
&lt;/tr&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&lt;tr&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;=20
&lt;th&gt;Title&lt;/th&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;=20
&lt;td tal:content=3D"structure python:=20
here.Epoz(name=3D'title',data=3DvarDict['title'],toolbox=3D'/toolbox',lan=
g=3D'en',style=3D'width:=20
620px; height: 250px; border-stlye: solid; border: 1px solid=20
#000000;')"&gt;&lt;/td&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
&lt;/tr&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>What happens, is the editor decides to =
not allow=20
editing of title and moves the title content to description box and it =
just=20
seems i cant have epoz used more than once on a page to be edited. Any =
help=20
would be appreciated</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Shaun Einolf</FONT></DIV></BODY></HTML>

------=_NextPart_000_001F_01C34C5C.5672C450--