Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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 - 4B - 3C - 2D - 1
Would display on the template as:
DCBA
Is this possible using umbraco (4.0.3) out of the box? Or is there an easier way?
Thanks
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.
Worked perfectly
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
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.
Worked perfectly
is working on a reply...