I need to render the output of a macro on the tab of a document. Basically, what I'm trying to achieve is giving the Umbraco user a way to navigate a folder of items ordered and grouped by date, i.e., an XSLT macro generated view.
So, I need to grab the output of a macro and perhaps render it inside a Web Usercontrol then wrap that in a usercontrol datatype and display on a tab in the folder.
I imagine you could change the content picker data type a bit in order to get at what you want (or possibly the ultimate picker)...I am not sure though...what is actually the data that you will want to get from the user on their node/page? a page or media id?
That's the thing... I don't want them to get any data. I want them to be able to navigate to a child node.
What I'm doing is creating an Events Calendar. I want to have a folder with subfolders called "Events". Then a folder called "Calendar". Events will hold the basic event information: name, description, etc. Calendar will be a date folder type thing with "pointers" to events for a given day.
I am confused as to why you would want it as a datatype. Why wouldn't you have just Events and Event underneath it because you could set an event to repeat if you wanted it to rather than have this cumbersome 'Calendar' document type.
Oh, alright. So, on your 'Calendar' Document type which would be a certain day, you would want to select different events for it. You can use the ultimate picker on this calender type. You can specify the start node, set it to checkbox list and you can also do an alias filter so that you only show the 'Event' document types. Then, whichever events required could be checked or selected. If that isn't exactly what you want, i am guessing you could modify it to what you want.
Render Macro on Document Tab
I need to render the output of a macro on the tab of a document. Basically, what I'm trying to achieve is giving the Umbraco user a way to navigate a folder of items ordered and grouped by date, i.e., an XSLT macro generated view.
So, I need to grab the output of a macro and perhaps render it inside a Web Usercontrol then wrap that in a usercontrol datatype and display on a tab in the folder.
Any ideas?
I imagine you could change the content picker data type a bit in order to get at what you want (or possibly the ultimate picker)...I am not sure though...what is actually the data that you will want to get from the user on their node/page? a page or media id?
That's the thing... I don't want them to get any data. I want them to be able to navigate to a child node.
What I'm doing is creating an Events Calendar. I want to have a folder with subfolders called "Events". Then a folder called "Calendar". Events will hold the basic event information: name, description, etc. Calendar will be a date folder type thing with "pointers" to events for a given day.
Confused? Me too! ;-)
I am confused as to why you would want it as a datatype. Why wouldn't you have just Events and Event underneath it because you could set an event to repeat if you wanted it to rather than have this cumbersome 'Calendar' document type.
You should check out the Business starter package which includes ical: http://our.umbraco.org/projects/business-website-starter-pack
So, that maybe you won't have to recreate a calendar. Then you can use PDCalendar as a datatype for re-occurence:
http://our.umbraco.org/projects/pdcalendar
Seth,
My problem is that the events in question are recurring, but not at regular intervals, so PDCalendar won't work.
Robert
Oh, alright. So, on your 'Calendar' Document type which would be a certain day, you would want to select different events for it. You can use the ultimate picker on this calender type. You can specify the start node, set it to checkbox list and you can also do an alias filter so that you only show the 'Event' document types. Then, whichever events required could be checked or selected. If that isn't exactly what you want, i am guessing you could modify it to what you want.
is working on a reply...