5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 774 Views |
-
Use different language items in SimpleTreeDropDownfield

31 January 2011 at 2:26am
Hi,
I use a simple TreeDropdownfield to define a relationship between a page and a Dataobject.
So for the popup I use:
public function getCMSFields_forPopup()
{
return new FieldSet(
new SimpleTreeDropdownField('PageLinkID', 'Interner Link', 'SiteTree')
);
}
This works great for the default language (german) but when I translate the pages and I use this dataobject on the english pages, I get only a list of german pages to use. Maybe because the backend is used in german.How can I control the language of items that are used in the sitetree.....
Greetz
Spanky
| 774 Views | ||
|
Page:
1
|
Go to Top |

