[quills-dev] Fwd: [Plone-Users] how to change the default view template for one object ?
Michael Reitsma mreitsma at gmail.comWed Nov 8 08:44:23 UTC 2006
- Previous message: [quills-dev] Re: 1.5 final?
- Next message: [quills-dev] Fwd: [Plone-Users] how to change the default view template for one object ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Quillers, Can someone from the Quills dev group say if option number 1 is easy to be done and perhaps even in the 1.5 code-stream ? The choice i am referring to is the sitewide_planet template. rgrds Mike ---------- Forwarded message ---------- From: Andrew Burkhalter <andrewburkhalter at gmail.com> Date: Nov 8, 2006 8:44 AM Subject: Re: [Plone-Users] how to change the default view template for one object ? To: Michael Reitsma <mreitsma at gmail.com> The Plone way to do this is via the "display" menu, which is a very friendly UI. This appears for types of content that can potentially have a few different templates that you set on an object by object basis. If you go to the portal_types tool within the ZMI, you can see a few of the types have an additional field called "Available view methods". This appears for types that implement the ISelectableBrowserDefault interface found in CMFDynamicViewFTI. You can find plenty of background on that here: http://plone.org/documentation/tutorial/richdocument/dynamic-views Unfortunately for your case, this isn't supported out of the box by the Weblog type for Quills. Thus you have two options: 1) If your use case is common enough, you could take your case to either the Plone blogging or the quills-dev list 2) Subclass the weblog type in your own product and bake this in Starting with #1 is probably your easiest first step forward. Andrew On 11/7/06, Michael Reitsma <mreitsma at gmail.com> wrote: > Hi, > > I know that by changing the (Default) field value in the portal types/Aliases for the product you want, you can specify another view template here. This will then be used when an instance of this product is asked to render itself. > So if i wanted to change that Quills uses a sitewide template for every default view action on every Quills instance this would be the place to do it. > But i only want this to happen for one instance ! All the others should still use the normal view template. > Where do i specify this for this one instance? > > Plone 2.1.3 on WinXp. Quills used here is 1.5RC3 (but i think this is a Plone/Zope question not really Quills related) > > -- > met vriendelijke groeten / with kind regards > > Michael Reitsma > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Plone-Users mailing list > Plone-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/plone-users > > > -- met vriendelijke groeten / with kind regards Michael Reitsma -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.etria.com/pipermail/quills-dev/attachments/20061108/b40b3837/attachment.html
- Previous message: [quills-dev] Re: 1.5 final?
- Next message: [quills-dev] Fwd: [Plone-Users] how to change the default view template for one object ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the quills-dev mailing list