[Product-Developers] Aquiring objects with TAL
espen at medialog.no
Mon May 4 14:30:35 UTC 2009
1) I am not sure if it should be done with TAL (aquiring)
2) look at the folderviews and replace definer here. with here.myfolder.
Den 2. mai. 2009 kl. 18.50 skrev Joe C:
> Just a bit a background. I am new to Plone and I am going to
> convert our
> school web site to use Plone for delivery. Seems like the best
> tool for the
> job! I do not have Python experience but I have programmed in
> several other
> I am using Plone 3.2.1. My over all goal is to have an "Alert"
> viewlet that
> will be displayed under the plone.global_sections. I have managed
> to get
> the viewlet to display static content, now I need to display the
> contents of
> a folder. I have create a folder under the Plone root named
> "Alerts". In
> that folder I have added some paged that will serve as the alerts.
> The page
> description will be the alert and will link to the page for further
> At this point I am using a page template without a class. I am
> that I will have to make this into a class inthe future. But for
> now I just
> need to understand how to access the items in the Alerts folder. I
> looked at the Plone documentation and it refers content such as
> "template/title" and such. What I have not found is how to address a
> specific folder's content directly.
> How do I find the items in the Alerts folder? Once I can find that
> I can
> iterate over the items to get their attributes such as "Description".
> Thanks for any help, advice or direction.
> Joe C
> View this message in context: http://n2.nabble.com/Aquiring-objects-
> Sent from the Product Developers mailing list archive at Nabble.com.
> Product-Developers mailing list
> Product-Developers at lists.plone.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Product-Developers