17488 Posts in 4473 Topics by 1978 members
|Go to End|
7 November 2008 at 7:31am Last edited: 7 November 2008 7:32am
how can i add different image for different languages?
class Page extends SiteTree
static $has_one = array(
'MenuImg' => 'Image'
$fields->addFieldToTab("Root.Content.Images", new ImageField('MenuImg','Menu image'));
but when i change image for one language version it's changed for another.
static $extensions = array(
but it doesn't help, and what is more using $extensions and Translatable it seems to me that other fields from Page became one language field.
can someone explain how i can meke it works?
|Go to Top|