Jul 4, 2012 at 2:05 PM
Edited Jul 5, 2012 at 7:06 AM
|
I have a site built with a structure like this:
- Website 1 (WEBSITE)
- DK (HomePage)
- Page 1 (ContentPage)
- Page 2 (ContentPage)
- Page 3 (ContentPage)
- BOXES (Boxes)
- Box 1 DK (Box)
- Box 2 DK (Box)
- UK
- Page 1
- Page 2
- Page 3
- BOXES
- FR
- Page 1
- Page 2
- Page 3
- BOXES
- Website 2
And i'd like to make a Data Type that makes it possible to select "Boxes" from the current site and language only.
For instance, if i'm on page "Website 1 -> UK -> Page 1" i'd only be able to select "Box 1 DK" and "Box 2 DK"
If i'm on "Website 1 -> FR -> Page 1" i'd be able to select "Box 1 FR" and "Box 2 FR"
Is that possible?
I've tried playing around with "Xpath type" and "Xpath Expression", but i can't get it to work.
// Bødlen
|