Copied to clipboard

Flag this post as spam?

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


  • Tizer 170 posts 201 karma points
    Jun 07, 2012 @ 10:43
    Tizer
    0

    How to do this

    OK - I have a DocumentType which has 4 tabs (A,B,C,D) each with its own unique content which displays on a single template.

    I would like to control the order of the tabs on the template via some kind of sorting system.

    I was thinking another tabs which simply has 4 Textstring properties representing each tab which you enter a number then sort by this, eg:

    A - 4
    B - 3
    C - 2
    D - 1

    Would display on the template as:

    D
    C
    B
    A

    Is this possible using umbraco (4.0.3) out of the box? Or is there an easier way?

    Thanks

  • Jon Boyer 37 posts 59 karma points
    Jun 12, 2012 @ 06:26
    Jon Boyer
    0

    This is absolutely possible out of the box.  Instead of putting your content directly on the template, write an xslt file to do a little pre-processing and then put the xslt file's macro on your template instead.

     

     

  • Tizer 170 posts 201 karma points
    Jul 11, 2012 @ 02:46
    Tizer
    0

    Worked perfectly

Please Sign in or register to post replies

Write your reply to:

Draft