Hello,
In Plone3 I used to do like this:
<div metal:define-macro="portlet"
tal:define="yearmonth here/getYearAndMonthToDisplay;"
...
to get Year And Month To Display.
Now, in Plone4, it seems to me that we should use something like:
<div metal:define-macro="portlet"
tal:define="view context/@@calendar_view;
yearmonth view/getYearAndMonthToDisplay;"
...
But it doesn't work.
Gives me a AttributeError: @@calendar_view
What am I missing?
Thank you.
Marcello
--
View this message in context:
http://plone.293351.n2.nabble.com/how-to-use-calendar-view-in-a-Plone4-template-tp5334188p5334188.html
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers