[Zope-CMF] (no subject)
seb bacon
seb@jamkit.com
Mon, 2 Jul 2001 19:08:18 +0100
It's nothing to do with contentItems, you're right. It's probably
simply that there's no ProjIndex folder where you're calling it from.
Where is it in the ZMI?
seb
* Boddy Stephen <Stephen.Boddy@btcellnet.net> [010702 16:31]:
> Please can someone explain why this works for a Reviewer, but not a Member,
> or Anonymous user. (I want the published links to be viewable by anyone)
>
> <dtml-if ProjIndex>
>
> <dtml-in "ProjIndex.contentItems(filter={'Type':['Favorite', 'Link']})"
> sort=id>
> <div><a href="&dtml-remote_url;">&dtml-title_or_id;</a></div>
> <dtml-else>
> <div>No entries yet.</div>
> </dtml-in>
>
> </dtml-if>
>
> Turning off Access future portal content & Review portal content (which are
> the only security settings different from Member) for Reviewers makes no
> difference, it still works! From what I can tell in the source, contentItems
> is public, but then the problem is occuring before that when looking for
> ProjIndex. From viewing the generated source it does not appear to be
> detecting the folder ProjIndex in the current folder. Removing the dtml-if
> statements causes the page to throw an exception for Members.
>
> Thanks in advance
> Steve
>
>
>
> **********************************************************************
> This email and any attachments may be confidential and the subject of
> legal professional privilege. Any disclosure, use, storage or copying
> of this email without the consent of the sender is strictly prohibited.
> Please notify the sender immediately if you are not the intended
> recipient and then delete the email from your inbox and do not
> disclose the contents to another person, use, copy or store the
> information in any medium.
> **********************************************************************
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests
--
[] j a m k i t
seb bacon
T: 020 7749 7218
F: 020 7739 8683
M: 07968 301 336
W: www.jamkit.com