Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi i would like to show all dates on calendar
i try to get all data
var root = Model.AncestorOrSelf(1);
on Partial View Macro File but i have error
how to get all DateRange from all page and show it on calendar (jquery ui)
I'm not sure how your pages are set-up, but you would need to get a list of all nodes that have a date range property. So something like:
var pages = Model.Content.AncestorOrSelf().Descendants().Where(x => x.HasProperty("dateRange"); foreach (page in pages) { var dateRange = page.GetPropertyValue<Diplo.DateRangePicker.DateRange>("dateRange"); }
See http://our.umbraco.org/documentation/Reference/Templating/Mvc/querying for how to query.
Hi
thx you very much it helps me. i have done it ;)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Show on calendar
Hi i would like to show all dates on calendar
i try to get all data
var root = Model.AncestorOrSelf(1);
on Partial View Macro File but i have error
how to get all DateRange from all page and show it on calendar (jquery ui)
I'm not sure how your pages are set-up, but you would need to get a list of all nodes that have a date range property. So something like:
See http://our.umbraco.org/documentation/Reference/Templating/Mvc/querying for how to query.
Hi
thx you very much it helps me. i have done it ;)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.