On Thu, Sep 10, 2009 at 11:32:52AM +0200, Roijen, Bas wrote: > I got it! > It was getting its own title and not that of it's parent, found this out > by trying to get the id. It returned the name of the contenttype. > So how do i get the title of the parent and not of itself?
Try self.aq_inner.aq_parent.Title(). Depending on the exact code path the aq_parent might not be what you expect and the extra aq_inner should help there. -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "Yes, we study economics, got to make the money make some kind of sense." - Geoff Mann _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
