Copied to clipboard

Flag this post as spam?

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


  • Natasha 79 posts 195 karma points
    Mar 02, 2014 @ 18:54
    Natasha
    0

    how to output media files content on child nodes from one marco

    Hi there

    I am trying to create a simple library as follows:

    • policy document
    1. Early years policy
    2. disabilty policy
    3. education policy

    on the parent node policy documents I have a marcro that filters all the policy documents in a media folder, but I want to further filter from the same macro - if policy document is category 1 publish/display on child node 1. If category 2 publish/display on child node 2 and so on.  Is this possible and if so how do I write it?

    Thanks for your help

    Natasha

     

  • Kasper Dyrvig 246 posts 379 karma points
    Mar 11, 2014 @ 16:02
    Kasper Dyrvig
    0

    Hi Natasha

    To be sure I understand you correct... You want a page called "Policies". That page should list the childnodes of the "Policies" page...? The list must of cause only show the nodes that are published and not hidden. 

    Is that right?

  • Natasha 79 posts 195 karma points
    Mar 13, 2014 @ 17:18
    Natasha
    0

    Hi Kasper

    Thanks for getting back to me. I want to list on the childnodes policy documents according to their categories.  What I want to know is do I need to write a separate xslt or can I have one xslt on the parent page that says when current page is early childhood list all policy and early childhood documents from the media folder? or if document contains the category policy and the theme early childhood then display this on childnode 1?

     

    Thanks again

    Natasha

     

  • Kasper Dyrvig 246 posts 379 karma points
    Mar 18, 2014 @ 08:28
    Kasper Dyrvig
    0

    No problem. (Sorry about the waiting time)

    I'm having a hard time figuring out your structure. Could you illustrate it...?

    Is it something like this:

    CONTENT SECTION:

    • Policy page (with list of categories)
      • Policy category (with list of documents)
        • Policy document (the document)

    Or is it something else? Please give as much info as possible.

Please Sign in or register to post replies

Write your reply to:

Draft