Skip to content.

Etria Lists

 

[quills-dev] Can not display Quills sitemplate_view together with portlets, help needed...

Michael Reitsma mreitsma at gmail.com
Thu Nov 9 15:10:02 UTC 2006


thx Tim for the answer.

I was thinking..
Could i for the meantime not add a role in the ZMI and adjust the template
so that it checks for the role ?
If the user doesn't have the role it will display only his own entrys
otherwise it will show all.
That way i could just use portaltypes/aliases to use the siteplanet template
for all weblog instances.

Ofcourse i would still need a pointer (or two..) how to adjust the template
...
This is what collects the entrys in the template:

div id="content-weblog"
           tal:define="results python:container.portal_catalog
(portal_type='WeblogEntry',
                       sort_on='effective',
                       sort_order='reverse',
                       review_state='published');
                       qt python:container.quills_tool;
                       Batch python:modules['Products.CMFPlone'].Batch;
                       b_size python:20;
                       b_start python:0;
                       b_start request/b_start | b_start;
                       batch python:Batch(results, b_size, int(b_start),
orphan=1);
                       results_dict python:qt.sortWeblogEntriesToDates
(batch);"

regards Mike



On 11/9/06, Tim Hicks <tim at sitefusion.co.uk> wrote:
>
> Michael Reitsma wrote:
>
> > Limi suggested to use the default_page property on the homepage quills
> > weblog instance to have the instance show with a different template.
> > However as someone else pointed  out the product has to support this for
> it
> > to work.
> > I asked for this in this newsgroup but noone answered as yet.
> >
> > Can someone comment on how easy it is to include this in the product ?
>
> It should be easy to add this to Quills, and it does indeed sound like a
> good idea.  This change is too late for Quills 1.5, but it should
> probably go into Quills 1.6.  Please file a feature request in the
> Quills issue tracker and assign it to 1.6 - otherwise it may just get
> forgotten.
>
> I'm afraid I can't tell you when 1.6 (or even 1.5.0) will appear.
> Personally, I'm currently swamped with other work, and nobody has
> stepped up to sponsor my Quills development, so I'm unable to spend any
> time on it at the moment.
>
>
> Tim
>



-- 
met vriendelijke groeten / with kind regards

Michael Reitsma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.etria.com/pipermail/quills-dev/attachments/20061109/da405110/attachment.html


More information about the quills-dev mailing list