Any example ArchgenXML Products with configlets?

Eric Bréhault ebrehault at gmail.com
Fri May 4 12:12:44 UTC 2007


ok
well first you need to use prefs_main_template, not the regular
main_template, so you put this on your html tag
metal:use-macro="here/prefs_main_template/macros/master"

then you fill the prefs_configlet_main slot:
metal:fill-slot="prefs_configlet_main"

Eric

On 5/4/07, ChrisDerson <chris at protaform.com> wrote:
>
>
> Thanks for the response.
>
> It's the template I'm having problems with, not the UML.  I create a
> portal_tool (with autoinstall=1, configlet=1 etc etc) and set the view tag
> to edit.  What I get is standard edit view (navigation menu, left & right
> slots, context tabs etc).
> What I want is a configlet view template (Preferences menu, no context
> tabs,
> no portlets).
>
> I've worked out that I need something like:
>
> <div metal:use-macro="macro" fill-slot="top_slot" tal:define="dummy
> python:request.set('disable_border',1)">
>
> To disable the normal body frame, but I can't/haven't worked out how to
> replace the navigation menu with the Preferences menu, or how to add my
> widgets.  If you have an example .zpt for a Archetypes-based configlet I'd
> be ever so grateful.
>
> Ta,
>
> Chris Derson
>
>
> Eric Bréhault-2 wrote:
> >
> > Hello,
> >
> > In your ArgoUML model you just need to use the <<portal_tool>>
> stereotype
> > and add the following tagged values:
> > configlet=1
> > configlet:icon=your icon.gif
> > configlet:view=your template
> > configlet:title=a title
> > configlet:description=a description
> >
> > and normally ArchgenXML should generate the correct code
> >
> > I can send you a .zargo example if you want
> >
> > Eric
> >
> > On 5/4/07, ChrisDerson <chris at protaform.com> wrote:
> >>
> >>
> >> I have a very simple Products I am developing, and need a very simple
> >> configlet for it.  I have the configlet set up, and have set default
> view
> >> to
> >> Edit Ok, but it doesn't look like a configlet.
> >> Are there any ArchgenXML / Archetypes based Products with simple
> >> configlets
> >> I can learn from?
> >> I've worked through the very useful 'Customizing AT view templates',
> and
> >> can
> >> get oh-so-close, but need to see a working example to join the dots.
> >> Thanks.
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Any-example-ArchgenXML-Products-with-configlets--tf3690816s20094.html#a10318826
> >> Sent from the Product Developers mailing list archive at Nabble.com.
> >>
> >>
> >> _______________________________________________
> >> Product-Developers mailing list
> >> Product-Developers at lists.plone.org
> >> http://lists.plone.org/mailman/listinfo/product-developers
> >>
> >
> > _______________________________________________
> > Product-Developers mailing list
> > Product-Developers at lists.plone.org
> > http://lists.plone.org/mailman/listinfo/product-developers
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Any-example-ArchgenXML-Products-with-configlets--tf3690816s20094.html#a10321035
> Sent from the Product Developers mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20070504/4cc4d01b/attachment.html>


More information about the Product-Developers mailing list