Hi,
I am using the latest DOM with SS 2.4rc2 - everything seems to work perfect ;-)
But I am not getting one last thing up and running with my multilingual site - the SimpleTreeDropdownField is just showing its tree from the default site and not the translated tree If I am withinin another language.
How can I configure SimpleTreeDropdownField to select only the tree items from the current language?
static $has_one = array (
'Page' => 'Page',
'Bild' => 'Image',
'MyUrl' => 'SiteTree',
);
public function getCMSFields_forPopup()
{
$f = new FieldSet(
$dropdown = new SimpleTreeDropdownField("MyUrlID", "Bitte waehlen Sie das Ziel aus", "SiteTree"),
new TextField('Ueberschrift'),
new SimpleWysiwygField('Beschreibung'),
new ImageField('Bild')
);
$dropdown->setEmptyString('-- Please select --');
return $f;
}
Can someone please give me a tip for that?
Thanks much
patte