Hi All,
i have added a simple image to my site, as below code.. When i try to edit the page in the cms, and choose Attach image 'From the File Store' the drop down list will not load. i.e. no folders no images, just says 'loading...' i can load from my computer successfully.
I am running the latest MAMP, SS and Modules; DataObjectManager, uploadify, ecommerce, payment-v0.3.0
I have tried removing DataObjectManager & uploadify and dev/build?flush=1 and flush=all
it appears ok when i load the image panel from the wysiwyg tinymce editor, just not the specific image tab?? Any advice would be greatly appreciated.
Thanks in advance
public static $has_one = array(
'HeroShot' => 'Image'
);
...
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.Content.Images", new ImageField('HeroShot', 'Load your hero image'));
return $fields;
}