James G. Sack (jim) wrote:
>
> Here's a piece of the recipe..
>
> A customized portlet can be created by:
> in ZMI goto <root>/portal_skins/plone_portlets/portal_recent
> which displays an edit page
> Filesystem Page Template at .../portlet_recent
> click the customize tab, then the customize button
> which creates a copy of the template in the
> <root>/portal_skins/custom/ subdir
> and leaves you in edit mode.
>
> The content can be edited, as can the metadata: in properties,
> security,
> interfaces (whatever that means?).
>
> I have verified that turning off View prevents display (but inserts an
> AccessControl.unauthorized... error message).
Verified also.
> Further, clicking the test tab shows a page containing
> "name 'isAnon' is not defined"
> among other things.
same here
> (Minor-) Aha! .. Now, I remember seeing a tutorial using a property
> named isAnon (or allowAnon, or..). And isAnon _is_ in the template
> code,
> so... If I can find that tutorial again, it might make more sense, now
> that I have a real context.
>
> Allowing anon viewing, rremoves the error on access by non-manager,
> but
> still produces isAnon not defined upon clicking test from within ZMI
> --
> so I think there may in fact be a bug in the template code, even
> though
> it doesn't show in the usual plone interface.
>
> There's probably an easy way (once the answer is found, it's always
> easy, eh?) to either
>
> a) hide recent changes portlet except for role >= manager
> b) show recent changes but omit deletions unless manager
>
> Recent changes in the nav-menu is, I think a feature of value to all
> users, so I would vote for something like b) -- anybody else agree?
>
> Maybe I should ask whether hiding deletions (from general users) is
> considered desirable? I was thinking we're just trying to keep it from
> cluttering the nav-menu.
I guess we would have to answer another question first, for whom is
the "recent changes" displayed. The average viewer doesn't really
care, I think. Because they're not into managing the site so much, and
more into viewing the content. Those who are sitemanagers would like
to see it when they log in, because it tells them something about the
state of the site.
Just my $.03 (inflation)
--
Neil Schneider pacneil_at_linuxgeek_dot_net
http://www.paccomp.com
Key fingerprint = 67F0 E493 FCC0 0A8C 769B 8209 32D7 1DB1 8460 C47D
There's no trick to being a humorist when you have the whole
government working for you. Will Rogers US humorist & showman (1879
- 1935)
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-steer