[Grok-dev] View titles & descriptions

Souheil CHELFOUH trollfot at gmail.com
Tue Jun 21 02:18:09 EDT 2011


title = grok.title.bind(default="My default title").get(class_or_object)

2011/6/21 Owen Shepherd <owen.shepherd at e43.eu>:
> OK, so lets say I give my view a title with the grok.title directive; how do
> I get this title in the rest of my code? Looking through the
> megrok.menu/zope.browsermenu code hasn't helped, and the Grok documentation
> doesn't really elaborate on this.
> -- Owen Shepherd
> http://www.owenshepherd.net
> owen.shepherd at e43.eu (general) / oshepherd1 at shef.ac.uk (academic)
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
>
>


More information about the Grok-dev mailing list