Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Robert J. Bullock 386 posts 405 karma points
    Jan 28, 2010 @ 15:07
    Robert J. Bullock
    0

    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?

  • Seth Niemuth 275 posts 397 karma points
    Jan 28, 2010 @ 15:21
    Seth Niemuth
    0

    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?

  • Robert J. Bullock 386 posts 405 karma points
    Jan 28, 2010 @ 15:40
    Robert J. Bullock
    0

    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! ;-)

  • Seth Niemuth 275 posts 397 karma points
    Jan 28, 2010 @ 15:59
    Seth Niemuth
    0

    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 

  • Robert J. Bullock 386 posts 405 karma points
    Jan 28, 2010 @ 18:02
    Robert J. Bullock
    0

    Seth,

    My problem is that the events in question are recurring, but not at regular intervals, so PDCalendar won't work.

    Robert

  • Seth Niemuth 275 posts 397 karma points
    Jan 28, 2010 @ 18:49
    Seth Niemuth
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft