Hi All I just need a little help, (Zope Newbie:) ) I want to create a website creator, I want to provide my end users with a 1-2 page form with lots of check boxes, list boxes, etc.. Once the users has finished making his/hers selections, I want my product to go and create the web site. easy :) Now for the questions, How do I call other products from mine? ie, say I have install the Znavigator product. On my create website form the users has chosen a default menu of 'home','products','services','contacts'.
From my product I want to be able to call the Znavigator , create the menu, than create the menu items.
I can us manage_addFolder to create folders, but I can not figure out how to call add on products? Is there documentation on all the manage_xxxx functions? Can anyone point me in the right direction, Please ---------------------------------- E-Mail: Stephen Cimarelli <stephen@clari.net.au> Date: 14-Aug-00 Time: 09:20:12 ClariNet Internet Solutions +61 3 9486 0811 www.clari.net.au ----------------------------------
I need to know the value of (sequence-index mod 3)=0 in something like <dtml-if "sequence-index mod 3)=0"> how do I use the mod function correctly? since the divmod function is actualy returning 2 pair of value. Thanks guys. -IGUN- ICQ:1474584
Indra, Try: <dtml-if "_.divmod(_.int(_['sequence-item']),3)[0]==0"> hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Indra Gunawan" <neo@bdg.centrin.net.id> To: <zope@zope.org> Sent: Monday, August 14, 2000 2:38 AM Subject: [Zope] A very newbie question
I need to know the value of (sequence-index mod 3)=0 in something like <dtml-if "sequence-index mod 3)=0"> how do I use the mod function correctly? since the divmod function is actualy returning 2 pair of value. Thanks guys.
-IGUN- ICQ:1474584
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
oops, Should hae been: <dtml-if "_.divmod(_.int(_['sequence-item']),3)[1]==0"> hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Indra Gunawan" <neo@bdg.centrin.net.id> To: <zope@zope.org> Sent: Monday, August 14, 2000 2:38 AM Subject: [Zope] A very newbie question
I need to know the value of (sequence-index mod 3)=0 in something like <dtml-if "sequence-index mod 3)=0"> how do I use the mod function correctly? since the divmod function is actualy returning 2 pair of value. Thanks guys.
-IGUN- ICQ:1474584
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
<dtml-if "_['sequence-index']%3 ==0"> Indra Gunawan wrote:
I need to know the value of (sequence-index mod 3)=0 in something like <dtml-if "sequence-index mod 3)=0"> how do I use the mod function correctly? since the divmod function is actualy returning 2 pair of value. Thanks guys.
-IGUN- ICQ:1474584
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 ICQ: 79303381
participants (4)
-
Indra Gunawan -
Phil Harris -
Stephen Cimarelli -
Terry Kerr