Copied to clipboard

Flag this post as spam?

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


  • bowling 4 posts 24 karma points
    Mar 01, 2012 @ 16:44
    bowling
    0

    How can I recursive a custom media type in folder media?

    Hi,

    I'm newby in umbraco.

    I've created custom media type (name Slider) to insert the slideshow . My slide has 5 properties 

    1.sImage (Type Upload) 

    2.sSubject (Type Text)

    3.sDescription (Type Text)

    4.sPrice (Type Text) 

    5.sPriceText 

    as below..

     

     

    Can I create XSLT to recursive each custom media type in folder? 

    Anyone have an example code? 

    Please help me , Thanks

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Mar 01, 2012 @ 16:54
    Thomas Höhler
    0

    With the umbraco.library:GetMedia you get an XML from the selected media optional containing all the childs. Take a look into the wiki: 

     http://our.umbraco.org/wiki/reference/umbracolibrary/getmedia

    Or this thread: 

    http://our.umbraco.org/forum/developers/xslt/29229-Getting-media-folder-ID-from-Content-Picker

    hth, Thomas

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies