Copied to clipboard

Flag this post as spam?

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


  • John Little 4 posts 20 karma points
    Mar 24, 2009 @ 00:47
    John Little
    0

    Using XSLT to search Media tree?

    Please forgive me as I'm new to Umbraco and XSLT... and I've tried searching on related topics but couldn't find anything specific to this problem. I'm using version 4.0.0.

    In the Admin Panel let's say I have the following structure under the Media tab:

    [code]Media
    - Locations
    -- Store1
    --- January
    ---- Calendar (PDF file, "/media/334/store1caljan09.pdf")
    --- February
    ---- Calendar (PDF file, "/media/453/store1calendarfeb.pdf")
    --- March
    ---- Calendar (PDF file, "/media/594/store1calendarmarch.pdf")
    --- April
    .
    .

  • Tommy Poulsen 514 posts 708 karma points
    Mar 24, 2009 @ 07:56
    Tommy Poulsen
    0

    Hi John, and welcome to the forum.

    You could take a look at this site http://blackpoint.dk/umbraco-workbench.aspx?Snippet=/umbraco-workbench/xslt/accessing-media-files.aspx

    It contains some sample code on how to access media file nodes etc.

    Tommy

  • John Little 4 posts 20 karma points
    Mar 25, 2009 @ 02:04
    John Little
    0

    Yes, thank you!

    I played around with the XSLT script from the link you sent and it seems to have what I am looking for. I'll post a solution when I get it worked out.

Please Sign in or register to post replies

Write your reply to:

Draft