7913 Posts in 1355 Topics by 930 members
|Go to End||Next >|
21 May 2010 at 8:39pm Last edited: 21 May 2010 10:39pm
21 May 2010 at 9:08pm
I have a website with multi languages. (English, Portuguese, Chinese)
When I want to "insert a link" to my content on Portuguese/Chinese it only shows the default language links in the drop down tree, in this case English, in the past it used to list the pages from the current language.
I need to know if this is a bug or if there is a setting to fix this.
Thanks in advance.
1 June 2010 at 2:20pm
I am using ImageDataObjectManager from trunk with SS 2.4. I have a Photo object that extends Image.
The manager is defined in Category.php as:
$manager = new ImageDataObjectManager(
array('Title' => 'Title', 'Description' => 'Description', 'DateTaken' => 'DateTaken'),
I have a problem where OwnerID isn't being set on the File object. It seems that Member::currentUserID() is returning 0 in line 623 of FileDataObjectManager.php. This is strange, because of echo Member::currentUserID() from the CategoryController, it returns 1.
Have you experienced this problem with the latest versions?
1 June 2010 at 3:14pm
ImageDOM manages DataObjects that contain images. Not images or subclasses thereof. Try ImageAssetManager.
1 June 2010 at 3:41pm
Thanks UncleCheese but I have the same problem with ImageAssetManager:
$manager = new ImageAssetManager(
array('Title' => 'Title', 'Description' => 'Description', 'DateTaken' => 'DateTaken')
OwnerID is set to 0 even though I'm logged in.
1 June 2010 at 3:48pm
Does your Image subclass have a has_one relation to the page?
1 June 2010 at 3:54pm
Yes, and everything is working except OwnerID being set in the File table. Images are uploading and showing correctly related to the page.
|Go to Top||Next >|