Copied to clipboard

Flag this post as spam?

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


  • Barry 99 posts 187 karma points
    Aug 06, 2009 @ 09:35
    Barry
    0

    how to put data on pages that is stored in its own folder.

    What I'd like to have is Events (date, summary, clickable link) displayable on the main page and when clicked on it takes you to the events  page to make a booking. I am not entirely sure how to configure the document types/templates/content to enable this. In the main menu there will be an Events menu option but this will take you to the Events page (general, list events).

    Any thoughts on how best (best practice?) for structuring this and what I'd need to create?.

     

     

  • Roel Snetselaar 151 posts 305 karma points
    Aug 06, 2009 @ 10:10
    Roel Snetselaar
    0

    I would make the following documenttypes

    homepage
      event overviewpage
      event detailpage

    Add a marco + xslt to the eventoverviewpage masterpage  which shows all the children of overviewpage ie the event detailpages.

    On the homapage masterpage you can add another macro + xslt which also shows the children of the overviewpage.

    You just need to figure out some xpath queries which you can use within your xslt's

  • Roel Snetselaar 151 posts 305 karma points
    Aug 06, 2009 @ 10:11
    Roel Snetselaar
    0

    not clear in my previous post maybe but the structure would be:

    homepage
        event overviewpage
             event detailpage

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Aug 06, 2009 @ 10:14
    Thomas Höhler
    100

    First take a look on Peters Calendar

    In our intranet we have a similiar events category. The site structure is like this:

    Frontpage
    - Events
    --Event1
    ---User1
    ---User2
    --Event2
    ---User4
    ---User1

    On the frontpage we are showing the next events via xslt:

    <xsl:for-each select="$currentPage/descendant-or-self::node [@nodeTypeAlias='event']">

    On the events page we are showing all events

    On the event itself i have made a usercontrol where the user can say yes I will join. This UserControl cretes the nodes below the event with the informations about the user.

    hth, Thomas

Please Sign in or register to post replies

Write your reply to:

Draft