<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title></title>
		<link>http://www.silverstripe.org/forums/rss</link>
		<atom:link href="http://www.silverstripe.org/forums/rss" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Re: Translate the name of a dataobject (DOM)</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19912#post314129</link>
			<description>&lt;p&gt;You can use $yourDOM-&amp;gt;setAddTitle(_t('MyTranslation'));&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Translate the name of a dataobject (DOM) | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19912#post314129&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19912&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Thu, 24 May 2012 07:36:31 +1200</pubDate>
			<dc:creator>UncleCheese</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19912#post314129</guid>
		</item>
		
		<item>
			<title>Re: Product Portfolio</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/12051?start=8#post314119</link>
			<description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;Did anyone get anywhere with the write issue mentioned by Alfalfa Anne:&lt;/p&gt;&lt;p&gt;Call to a member function write() on a non-object in /home/content/g/o/u/gourmetsquare/html/chocolachocola.com/silverstripe/sapphire/forms/FileIFrameField.php on line 209 &lt;/p&gt;&lt;p&gt;I'm running into the same issue.&lt;/p&gt;&lt;p&gt;It only happens when creating a new record.&lt;/p&gt;&lt;p&gt;I've noticed in other back ends sometimes uploading the image is blocked when uploading other data with a message saying something like &quot;You can only add these images once you have saved&quot; . Can I do this somehow?&lt;/p&gt;&lt;p&gt;Thanks&lt;br /&gt;Daniel.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Product Portfolio | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/12051?start=8#post314119&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/12051&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Wed, 23 May 2012 14:48:04 +1200</pubDate>
			<dc:creator>Deej</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/12051?start=8#post314119</guid>
		</item>
		
		<item>
			<title>Re: When using more images in one dataobject -&gt; [Notice] Undefined index: uploaded_files</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/16999#post314117</link>
			<description>&lt;p&gt;Hi duskydesigns,&lt;/p&gt;&lt;p&gt;Did you ever get anywhere on this, I want to do something similar.&lt;/p&gt;&lt;p&gt;I want to have the main image and then be able to also be able to upload a thumbnail image all using image data object manager. At this stage I get the following error where the image upload form field for the thumbnail should be: &lt;/p&gt;&lt;p&gt;(note: The below is an error I get when in dev mode in test mode I don't get the error but run into more problems when I try to attach the image.)&lt;/p&gt;&lt;p&gt;[Notice] Undefined index: uploaded_files&lt;br /&gt;GET /admin/EditForm/field/ProductImages/EditUploadedForm/field/ColourImage/iframe?SecurityID=c71f8aba608611d03d4d6a09d225f5675decea60&amp;amp;ctf[ProductImages][start]=0&amp;amp;ctf[ProductImages][per_page]=10&amp;amp;ctf[ProductImages][showall]=0&amp;amp;ctf[ProductImages][sort]=SortOrder&amp;amp;ctf[ProductImages][sort_dir]=&amp;amp;ctf[ProductImages][search]=&amp;amp;ctf[ProductImages][filter]=&amp;amp;ctf[ProductImages][view]=grid&amp;amp;ctf[ProductImages][imagesize]=100&lt;/p&gt;&lt;p&gt;Line 524 in C:\wamp\&lt;a href=&quot;http://wwwcurrenttraditionalovensimplementationpublic_htmldataobject_managercodeFileDataObjectManager.php/&quot; rel=&quot;nofollow&quot;&gt;www\current\traditionalovens\implementation\public_html\dataobject_manager\code\FileDataObjectManager.php&lt;/a&gt;&lt;br /&gt;Source&lt;/p&gt;&lt;p&gt;515 &amp;nbsp;&amp;nbsp;&amp;nbsp;public function EditUploadedForm()&lt;br /&gt;516 &amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;517 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(!$this-&amp;gt;hasDataObject)&lt;br /&gt;518 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return $this-&amp;gt;closePopup();&lt;br /&gt;519 &lt;br /&gt;520 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$childData = $this-&amp;gt;getChildDataObj();&lt;br /&gt;521 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$validator = $this-&amp;gt;getValidatorFor($childData);&lt;br /&gt;522 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields = $this-&amp;gt;getFieldsFor($childData);&lt;br /&gt;523 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields-&amp;gt;removeByName($this-&amp;gt;fileFieldName);&lt;br /&gt;524 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$total = isset($_POST['totalsize']) ? $_POST['totalsize'] : sizeof($_POST['uploaded_files']);&lt;br /&gt;525 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$index = isset($_POST['index']) ? $_POST['index'] + 1 : 1;&lt;br /&gt;526 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields-&amp;gt;push(new HiddenField('totalsize','',$total));&lt;br /&gt;527 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields-&amp;gt;push(new HiddenField('index','',$index));&lt;br /&gt;528 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(isset($_POST['uploaded_files']) &amp;amp;&amp;amp; is_array($_POST['uploaded_files'])) {&lt;br /&gt;529 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$remaining_files = $_POST['uploaded_files'];&lt;br /&gt;530 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$current = $remaining_files[0];&lt;/p&gt;&lt;p&gt;Trace&lt;/p&gt;&lt;p&gt;    FileDataObjectManager-&amp;gt;EditUploadedForm(SS_HTTPRequest)&lt;br /&gt;    Line 143 of RequestHandler.php&lt;br /&gt;    RequestHandler-&amp;gt;handleRequest(SS_HTTPRequest)&lt;br /&gt;    Line 161 of RequestHandler.php&lt;br /&gt;    RequestHandler-&amp;gt;handleRequest(SS_HTTPRequest)&lt;br /&gt;    Line 161 of RequestHandler.php&lt;br /&gt;    RequestHandler-&amp;gt;handleRequest(SS_HTTPRequest)&lt;br /&gt;    Line 147 of Controller.php&lt;br /&gt;    Controller-&amp;gt;handleRequest(SS_HTTPRequest)&lt;br /&gt;    Line 282 of Director.php&lt;br /&gt;    Director::handleRequest(SS_HTTPRequest,Session)&lt;br /&gt;    Line 125 of Director.php&lt;br /&gt;    Director::direct(/admin/EditForm/field/ProductImages/EditUploadedForm/field/ColourImage/iframe)&lt;br /&gt;    Line 127 of main.php&lt;/p&gt;&lt;p&gt;Any help appreciated. Thanks.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: When using more images in one dataobject -&amp;gt; [Notice] Undefined index: uploaded_files | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/16999#post314117&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/16999&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Wed, 23 May 2012 13:12:19 +1200</pubDate>
			<dc:creator>Deej</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/16999#post314117</guid>
		</item>
		
		<item>
			<title>Re: Uploadify problem</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/18602#post314113</link>
			<description>&lt;p&gt;Hallo guys,&lt;/p&gt;&lt;p&gt;I found the same issue. The solution was very easy. Change the folder's name from Uploadify to uploadify.&lt;br /&gt;&lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/16793&quot; rel=&quot;nofollow&quot;&gt;http://www.silverstripe.org/dataobjectmanager-module-forum/show/16793&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Cheers&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploadify problem | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/18602#post314113&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/18602&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Wed, 23 May 2012 09:39:39 +1200</pubDate>
			<dc:creator>coffeespoon</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/18602#post314113</guid>
		</item>
		
		<item>
			<title>Re: DataObjects as Pages does not work :&lt;</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19911#post314090</link>
			<description>&lt;p&gt;This article by the author of the module gives pretty good instructions on how to use it. &lt;a href=&quot;http://www.ssbits.com/tutorials/2012/dataobject-as-pages-the-module/&quot; rel=&quot;nofollow&quot;&gt;http://www.ssbits.com/tutorials/2012/dataobject-as-pages-the-module/&lt;/a&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DataObjects as Pages does not work :&amp;lt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19911#post314090&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19911&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 22 May 2012 08:11:55 +1200</pubDate>
			<dc:creator>Tim Snadden</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19911#post314090</guid>
		</item>
		
		<item>
			<title>Re: DataObjects as Pages does not work :&lt;</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19911#post314089</link>
			<description>&lt;p&gt;If you are using the Data Objects as Pages module I believe the Controller method you need in the template is 'Items' for the listing page and 'Item' for the individual news article.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DataObjects as Pages does not work :&amp;lt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19911#post314089&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19911&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 22 May 2012 08:08:26 +1200</pubDate>
			<dc:creator>Tim Snadden</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19911#post314089</guid>
		</item>
		
		<item>
			<title>Re: DOM control loop template in siteconfig</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772#post314084</link>
			<description>&lt;p&gt;Solution....&lt;/p&gt;&lt;p&gt;Instead of creating the function inside the Page_Controller, I inserted this function inside the Decorator class that extends the Page_Controller.&lt;/p&gt;&lt;p&gt;Example:&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;class CarGalleryDecorator_Config extends DataObjectDecorator {&lt;br /&gt;      ..... // Here I define the relations and create a new tab that holds the DOM&lt;br /&gt;   }&lt;/p&gt;&lt;p&gt;   class CarGalleryDecorator_Controller extends Extension {&lt;/p&gt;&lt;p&gt;      function SidebarLinkList() {&lt;br /&gt;         return DataObject::get('SidebarLink');&lt;br /&gt;      }&lt;br /&gt;   }&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;and in mysite/_config.php&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;Object::add_extension('Page_Controller', 'CarGalleryDecorator_Controller');&lt;br /&gt;DataObject::add_extension('SiteConfig', 'CarGalleryDecorator_Config');&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;For some reason I would think that what was done in the previous post would work the same way as this one.&lt;br /&gt;But not....&lt;/p&gt;&lt;p&gt;By the way, happier now that it works!!!!&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DOM control loop template in siteconfig | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772#post314084&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19772&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 22 May 2012 02:36:41 +1200</pubDate>
			<dc:creator>mrcl</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772#post314084</guid>
		</item>
		
		<item>
			<title>Re: DOM control loop template in siteconfig</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772#post314080</link>
			<description>&lt;p&gt;I tried to create the following function at Page_Controller class&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;function CarList() {&lt;br /&gt;         return DataObject::get('Car');&lt;br /&gt;   }&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;then created a control loop to CarList in my template.&lt;br /&gt;no success....&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DOM control loop template in siteconfig | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772#post314080&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19772&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 22 May 2012 02:18:29 +1200</pubDate>
			<dc:creator>mrcl</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772#post314080</guid>
		</item>
		
		<item>
			<title>Translate the name of a dataobject (DOM)</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19912</link>
			<description>&lt;p&gt;Hi guys,&lt;/p&gt;&lt;p&gt;I've got a simple staffmember dataobject. evrything works fine. But my client wantet the labels and vlaues to be translated. It's possible to get the atributes of the do translated by the static $field_label function. The DOM is translated by a single line in the _config.php (i18n::include_locale_file('dataobject_manager', 'de_DE');) . But there is a question left: How to translate the name of the dataobject itself? In the Backend, on the DOM, the &quot;Add Staffmember&quot; button should show &quot;Mitarbeiter hinzufügen&quot;.&lt;/p&gt;&lt;p&gt;My code &lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;&amp;lt;?php&lt;br /&gt;class StaffMember extends DataObject&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;static $db = array (&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Anrede' =&amp;gt; &quot;Enum('Herr, Frau')&quot;, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Vorname' =&amp;gt; 'Varchar(100)',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Name' =&amp;gt; 'Varchar(255)',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Role' =&amp;gt; 'Varchar(100)',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Phone' =&amp;gt; 'Varchar(50)',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Mail' =&amp;gt; 'Varchar(50)',&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Location' =&amp;gt; &quot;Enum('Weißenfels, Zwickau')&quot;, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Description' =&amp;gt; 'Text',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'IsActive' =&amp;gt; 'Boolean',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'ShowOnContactPage' =&amp;gt; 'Boolean'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//1:n Beziehungen -&amp;gt; Staffmember hat eine Seite und ein Portraitbild&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;static $has_one = array (&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'StaffPage' =&amp;gt; 'StaffPage',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Photo' =&amp;gt; 'Image'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Standardwerte für die Dropdowns im DOM&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;static $defaults = array(&lt;br /&gt;      'Anrede' =&amp;gt; 'Herr',&lt;br /&gt;      'Location' =&amp;gt; 'Weißenfels',&lt;br /&gt;      'IsActive' =&amp;gt; 'true',&lt;br /&gt;      'ShowOnContactPage' =&amp;gt; 'false'&lt;br /&gt;      ); &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Fields to show in the DOM&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Todo checkbox in DOM für Anzeige auf der Kontaktseite&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;static $summary_fields = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Photo.CMSThumbnail.Tag',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Vorname' =&amp;gt; 'Vorname',  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Name' =&amp;gt; 'Name',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Location' =&amp;gt; 'Location',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'IsActive' =&amp;gt; 'IsActive',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'ShowOnContactPage' =&amp;gt; 'ShowOnContactPage'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;static $field_labels = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'StaffMember' =&amp;gt; 'Mitarbeiter',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Role' =&amp;gt; 'Stellenbeschreibung',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Phone' =&amp;gt; 'Telefon',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Mail' =&amp;gt; 'Mailadresse',&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Location' =&amp;gt; 'Zweigstelle', &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Description' =&amp;gt; 'Mitarbeiteraussage',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'IsActive' =&amp;gt; 'aktiver Mitarbeiter',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'ShowOnContactPage' =&amp;gt; 'Kontaktseitenanzeige',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;/p&gt;&lt;p&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;/p&gt;&lt;p&gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for your help. Pipifix&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Translate the name of a dataobject (DOM) | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19912&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19912&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 22 May 2012 01:53:14 +1200</pubDate>
			<dc:creator>Pipifix</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19912</guid>
		</item>
		
		<item>
			<title>Re: DOM control loop template in siteconfig</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772#post314078</link>
			<description>&lt;p&gt;I am having the same sort of problem....&lt;br /&gt;Is there anybody who could help us with that?&lt;/p&gt;&lt;p&gt;I can access any field I create in any tab of the SiteConfig. however when I try to run a control loop to a &lt;/p&gt;&lt;p&gt;// Relation into SiteConfig extension&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;$has_many=array('Cars'=&amp;gt;'Car');&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;// Relation into DataObject extension (Car)&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;$has_one=array('SiteConfig'=&amp;gt;'SiteConfig');&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;The following loop&lt;br /&gt;// .ss File&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;&amp;lt;% SiteConfig %&amp;gt;&lt;br /&gt;   &amp;lt;% Cars %&amp;gt;&lt;br /&gt;      &amp;lt;li&amp;gt;.........&amp;lt;/li&amp;gt;&lt;br /&gt;   &amp;lt;% end_control %&amp;gt;&lt;br /&gt;&amp;lt;% end_control %&amp;gt;&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;does not return any element from the list that I can manage using DataObjectManager(this works very smooth), which seats on a new Tab created in the SiteConfig.&lt;br /&gt;It is like Cars does not exist.&lt;/p&gt;&lt;p&gt;Thanks in advance....&lt;/p&gt;&lt;p&gt;PS: This Forum has been clarified lot of my doubts!!! (But I still have a lot to go....)&lt;/p&gt;&lt;p&gt;Cheers to you all..&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DOM control loop template in siteconfig | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772#post314078&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19772&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 22 May 2012 01:44:51 +1200</pubDate>
			<dc:creator>mrcl</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772#post314078</guid>
		</item>
		
		<item>
			<title>DataObjects as Pages does not work :&lt;</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19911</link>
			<description>&lt;p&gt;Hello SilverStripe folks,&lt;/p&gt;&lt;p&gt;I've got a newsarticle.php page and a newsarticleholder.php.&lt;/p&gt;&lt;p&gt;This is my NewsArticle.php&lt;/p&gt;&lt;p&gt;&amp;lt;?php&lt;br /&gt;class NewsArticle extends DataObjectAsPage {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//The class of the page which will list this DataObject&lt;br /&gt;    static $listing_class = 'NewsArticleHolder';&lt;br /&gt;    //Class Naming (optional but reccomended)&lt;br /&gt;    static $plural_name = 'NewsArticles';&lt;br /&gt;    static $singular_name = 'NewsArticle';&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;static $db = array (&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Title' =&amp;gt; 'Varchar(255)',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Date' =&amp;gt; 'Date',&lt;br /&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;'Author' =&amp;gt; 'Text',&lt;br /&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;'Content' =&amp;gt; 'HTMLText',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;static $has_one = array (&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'NewsHolder' =&amp;gt; 'NewsArticleHolder',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Summar fields&lt;br /&gt;    static $summary_fields = array(&lt;br /&gt;        'Title',&lt;br /&gt;        'Date',&lt;br /&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;'Author',&lt;br /&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;'Content'&lt;br /&gt;    );&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;function fieldLabels($includerelations = true) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $labels = parent::fieldLabels($includerelations);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $labels['Title'] = _t('newsarticle.TITLE', 'Titel');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $labels['Date'] = _t('newsarticle.DATE', 'Datum');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $labels['Author'] = _t('newsarticle.AUTHOR', 'Auteur');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $labels['Content'] = _t('newsarticle.CONTENT', 'Niewsbericht');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    return $labels;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;function getCMSFields() {&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $fields = new Fieldset();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $fields-&amp;gt;push(new TextField('Title','Titel'), 'Content');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $fields-&amp;gt;push($dateField = new DateField('Date','Datum'), 'Content');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $dateField-&amp;gt;setConfig('showcalendar', true);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $dateField-&amp;gt;setConfig('dateformat', 'dd/MM/YYYY');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;     &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $fields-&amp;gt;push(new TextField('Author','Auteur'), 'Content');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $fields-&amp;gt;push(new HtmlEditorField(&quot;Content&quot;, _t('SiteTree.FOO', &quot;Content&quot;, PR_MEDIUM, 'HTML editor title')));&lt;/p&gt;&lt;p&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    return $fields;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;and this is my NewsArticleHolder.php&lt;/p&gt;&lt;p&gt;&amp;lt;?php&lt;/p&gt;&lt;p&gt;class NewsArticleHolder extends DataObjectAsPageHolder {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;static $has_many = array (&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;'NewsArticles' =&amp;gt; 'NewsArticle',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public function getCMSFields() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields = parent::getCMSFields();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields-&amp;gt;addFieldsToTab(&quot;Root.Content.Nieuws&quot;, new DataObjectManager($this, 'NewsArticles', 'NewsArticle'));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return $fields;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;class NewsArticleHolder_Controller extends DataObjectAsPageHolder_Controller {&lt;br /&gt;    //This needs to know be the Class of the DataObject you want this page to list&lt;br /&gt;    static $item_class = 'NewsArticle';&lt;br /&gt;    //Set the sort for the items (defaults to Created DESC)&lt;br /&gt;    static $item_sort = 'Title ASC';&lt;/p&gt;&lt;p&gt;}&lt;br /&gt;?&amp;gt;&lt;/p&gt;&lt;p&gt;So my CMS just works fine, can add newsitems but when im on the newspage, &lt;br /&gt;it wont show my newsitems  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/sad.gif'&gt;  &lt;/p&gt;&lt;p&gt;This is my NewsArticleHolder.ss&lt;/p&gt;&lt;p&gt;&amp;lt;div class=&quot;typography&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;% if Level(2) %&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;breadcrumbs&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$Breadcrumbs&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;% end_if %&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;h2&amp;gt;$Title&amp;lt;/h2&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$Content&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;articles&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &amp;lt;ul id=&quot;NewsList&quot;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;% control NewsArticles %&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;foo&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$Title&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;% end_control %&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ul&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$Form&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$PageComments&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;Please help me guys!! I have no idea what i'm doing wrong, and im quite new to this....&lt;/p&gt;&lt;p&gt;Thanks!!&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DataObjects as Pages does not work :&amp;lt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19911&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19911&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 22 May 2012 01:31:02 +1200</pubDate>
			<dc:creator>phokki</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19911</guid>
		</item>
		
		<item>
			<title>DOM / Image Gallery Modules driving me right up the wall!!!</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19891</link>
			<description>&lt;p&gt;I'm starting to go round and round in circles on this one - two years down the track I still can't get it right! &lt;/p&gt;&lt;p&gt;1. Install ImageGallery module&lt;br /&gt;2. Install DataObjectManager Module&lt;br /&gt;3. Install Uploadify Module&lt;br /&gt;4. Test and find it's not working. &lt;br /&gt;5. Read SS Forum posts. Check module naming conventions. Uninstall Uploadify Module and try SWFUpload module. &lt;br /&gt;6. Read more SS Forum posts. Debug SWFUpload to get it working. &lt;br /&gt;7. Test and find that images are not showing, &lt;br /&gt;8. Read SS Forum posts. See that I should be using Uploadify instead of SWFUpload. Re-install Uploadify. &lt;br /&gt;9. Test and find that images are still not showing. &lt;br /&gt;10. Read SS Forum posts. Drop complete Database for site (luckily it wasn't populated) and start again... &lt;br /&gt;11. Test and find images are not showing... &lt;/p&gt;&lt;p&gt;I can see a link to the correct directory - the image is there, it's just not showing (not even a broken link image... &lt;/p&gt;&lt;p&gt;UncleCheese? Anybody? What's not happening?&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DOM / Image Gallery Modules driving me right up the wall!!! | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19891&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19891&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Thu, 17 May 2012 15:24:13 +1200</pubDate>
			<dc:creator>arthurdent</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19891</guid>
		</item>
		
		<item>
			<title>Re: DataObject in SiteConfig</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19853#post313906</link>
			<description>&lt;p&gt;I just bumped on the same problem.. So subscribing on this thread&lt;br /&gt;Any help would be awesome!&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DataObject in SiteConfig | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19853#post313906&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19853&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sat, 12 May 2012 00:57:49 +1200</pubDate>
			<dc:creator>KayB</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19853#post313906</guid>
		</item>
		
		<item>
			<title>Re: Uploadify HTTP Error</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=72#post313895</link>
			<description>&lt;p&gt;Hi Paul,&lt;/p&gt;&lt;p&gt;Just to double check, this is only a problem on the live site?&lt;/p&gt;&lt;p&gt;Check that all files are uploaded correctly and double check case on modules. Even try and setup a clean site if you can.&lt;/p&gt;&lt;p&gt;You are right since it is admin (from image gallery module), you shouldn't need to add allowed actions.&lt;/p&gt;&lt;p&gt;You can contact me direct if you want since we are both in nz. scott at scottfarmer dot co dot nz.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Regards&lt;br /&gt;Scott&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploadify HTTP Error | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=72#post313895&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/15133&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 11 May 2012 15:04:34 +1200</pubDate>
			<dc:creator>Scott Farmer</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=72#post313895</guid>
		</item>
		
		<item>
			<title>Re: Uploadify HTTP Error</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=72#post313894</link>
			<description>&lt;p&gt;Thanks Scott,&lt;/p&gt;&lt;p&gt;I have the same issue - fine on my local machine and on a dev server, but not on the live server.&lt;/p&gt;&lt;p&gt;The controller shouldn't be an issue as this is the IMage Gallery module being used in the CMS admin so the Uploadify field doesn't need specific access to any front end controllers.&lt;/p&gt;&lt;p&gt;Or am I wrong?&lt;/p&gt;&lt;p&gt;Paul&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploadify HTTP Error | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=72#post313894&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/15133&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 11 May 2012 14:52:13 +1200</pubDate>
			<dc:creator>bennettpr</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=72#post313894</guid>
		</item>
		
		<item>
			<title>Re: Uploadify HTTP Error</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=72#post313893</link>
			<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I just updated site with lastest version of uploadify and it was not working on the server, but worked fine on local site. Turns out that the Uploadify folder had to be lower case on the server (uploadify) and this got it working again. &lt;/p&gt;&lt;p&gt;Also check that your controller is in the $allowed_actions array.&lt;/p&gt;&lt;p&gt;Hope that helps.&lt;/p&gt;&lt;p&gt;Regards&lt;br /&gt;Scott&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploadify HTTP Error | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=72#post313893&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/15133&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 11 May 2012 14:45:06 +1200</pubDate>
			<dc:creator>Scott Farmer</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=72#post313893</guid>
		</item>
		
		<item>
			<title>Re: Uploadify HTTP Error</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=72#post313892</link>
			<description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;I've fixed an Uploadify issue on one site but am having sever issues on another (different host).&lt;/p&gt;&lt;p&gt;Using the Image Gallery module, when I load an image, the image loads fine but then doesn't appear as a thumbnail below the loader as expected.&lt;/p&gt;&lt;p&gt;Instead, the console show an error:&lt;/p&gt;&lt;p&gt;POST to http://domain/admin/EditForm/field/GalleryItems/UploadifyForm/field/UploadedFiles/refresh?SecurityID=49c204d8f6d65e09db6df5f9325477bdd3583d94&amp;amp;ctf[GalleryItems][start]=0&amp;amp;ctf[GalleryItems][per_page]=10&amp;amp;ctf[GalleryItems][showall]=0&amp;amp;ctf[GalleryItems][sort]=SortOrder&amp;amp;ctf[GalleryItems][sort_dir]=&amp;amp;ctf[GalleryItems][search]=&amp;amp;ctf[GalleryItems][filter]=AlbumID_23&amp;amp;ctf[GalleryItems][view]=grid&amp;amp;ctf[GalleryItems][imagesize]=100&amp;amp;FileIDs=879  &lt;/p&gt;&lt;p&gt;404 Not found&lt;/p&gt;&lt;p&gt;When visiting that URL I get the error &quot;I can't handle sub-URLs of a Form object.&quot; &lt;br /&gt;Clicking 'continue' on the Uploadify dialogue gives me the same error in the modal window. Closing the window, the image gallery pane tries to refresh but instead results in a blank screen...&lt;/p&gt;&lt;p&gt;Things I've tried:&lt;br /&gt;- Updated DoM, Uploadify and IMage Gallery to latest github versions&lt;br /&gt;- Uploadify::disable_authentication() and Uploadify::show_debug() set in _config.php&lt;br /&gt;- SecFilterEngine Off and  SecFilterScanPOST Off in .htaccess&lt;br /&gt;- magic_quotes_gpc = Off in php.ini&lt;br /&gt;- shifted session directory to custom and added other .htaccess directives as outlined here: &lt;a href=&quot;http://www.leftandmain.com/silverstripe-tips/2011/02/15/uploadify-http-error-explained-and-solved-maybe/&quot; rel=&quot;nofollow&quot;&gt;http://www.leftandmain.com/silverstripe-tips/2011/02/15/uploadify-http-error-explained-and-solved-maybe/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The error is generated from the RequestHandler class (sapphire/core/control/RequestHandler.php) - line 174&lt;/p&gt;&lt;p&gt;dumping the request into that error message provides the following straucture and data for the request&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;SS_HTTPRequest Object&lt;br /&gt;(&lt;br /&gt;    &lt;a&gt; =&amp;gt; admin/EditForm/field/GalleryItems/UploadifyForm&lt;br /&gt;    [dirParts:protected] =&amp;gt; Array&lt;br /&gt;        (&lt;br /&gt;            [0] =&amp;gt; UploadifyForm&lt;br /&gt;        )&lt;/p&gt;&lt;p&gt;    [extension:protected] =&amp;gt; &lt;br /&gt;    [httpMethod:protected] =&amp;gt; GET&lt;br /&gt;    [getVars:protected] =&amp;gt; Array&lt;br /&gt;        (&lt;br /&gt;            [url] =&amp;gt; /admin/EditForm/field/GalleryItems/UploadifyForm&lt;br /&gt;            [SecurityID] =&amp;gt; 4f77fb10f8dd08edad7a9b84e236694e776ba7b9&lt;br /&gt;            [ctf] =&amp;gt; Array&lt;br /&gt;                (&lt;br /&gt;                    [GalleryItems] =&amp;gt; Array&lt;br /&gt;                        (&lt;br /&gt;                            [start] =&amp;gt; 0&lt;br /&gt;                            [per_page] =&amp;gt; 10&lt;br /&gt;                            [showall] =&amp;gt; 0&lt;br /&gt;                            [sort] =&amp;gt; SortOrder&lt;br /&gt;                            [sort_dir] =&amp;gt; &lt;br /&gt;                            [search] =&amp;gt; &lt;br /&gt;                            [filter] =&amp;gt; AlbumID_23&lt;br /&gt;                            [view] =&amp;gt; grid&lt;br /&gt;                            [imagesize] =&amp;gt; 100&lt;br /&gt;                        )&lt;/p&gt;&lt;p&gt;                )&lt;/p&gt;&lt;p&gt;        )&lt;/p&gt;&lt;p&gt;    [postVars:protected] =&amp;gt; Array&lt;br /&gt;        (&lt;br /&gt;        )&lt;/p&gt;&lt;p&gt;    [headers:protected] =&amp;gt; Array&lt;br /&gt;        (&lt;br /&gt;            [Accept] =&amp;gt; text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&lt;br /&gt;            [Referer] =&amp;gt; http://domain/Security/login?BackURL=%2Fadmin%2FEditForm%2Ffield%2FGalleryItems%2FUploadifyForm%3FSecurityID%3D4f77fb10f8dd08edad7a9b84e236694e776ba7b9%26ctf%5BGalleryItems%5D%5Bstart%5D%3D0%26ctf%5BGalleryItems%5D%5Bper_page%5D%3D10%26ctf%5BGalleryItems%5D%5Bshowall%5D%3D0%26ctf%5BGalleryItems%5D%5Bsort%5D%3DSortOrder%26ctf%5BGalleryItems%5D%5Bsort_dir%5D%3D%26ctf%5BGalleryItems%5D%5Bsearch%5D%3D%26ctf%5BGalleryItems%5D%5Bfilter%5D%3DAlbumID_23%26ctf%5BGalleryItems%5D%5Bview%5D%3Dgrid%26ctf%5BGalleryItems%5D%5Bimagesize%5D%3D100&lt;br /&gt;        )&lt;/p&gt;&lt;p&gt;    [body:protected] =&amp;gt; &lt;br /&gt;    [allParams:protected] =&amp;gt; Array&lt;br /&gt;        (&lt;br /&gt;            [Action] =&amp;gt; EditForm&lt;br /&gt;            [ID] =&amp;gt; field&lt;br /&gt;            [OtherID] =&amp;gt; GalleryItems&lt;br /&gt;            [FieldName] =&amp;gt; GalleryItems&lt;br /&gt;        )&lt;/p&gt;&lt;p&gt;    [latestParams:protected] =&amp;gt; Array&lt;br /&gt;        (&lt;br /&gt;            [FieldName] =&amp;gt; GalleryItems&lt;br /&gt;        )&lt;/p&gt;&lt;p&gt;    [unshiftedButParsedParts:protected] =&amp;gt; 0&lt;br /&gt;)&lt;br /&gt;[/code]&lt;/p&gt;&lt;p&gt;Any help appreciated. I'm sure this is solvable  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/smile.gif'&gt; &lt;/p&gt;&lt;p&gt;Thanks,&lt;br /&gt;Paul    &lt;/p&gt;&lt;p&gt; &lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploadify HTTP Error | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=72#post313892&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/15133&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 11 May 2012 14:20:00 +1200</pubDate>
			<dc:creator>bennettpr</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=72#post313892</guid>
		</item>
		
		<item>
			<title>DataObject in SiteConfig</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19853</link>
			<description>&lt;p&gt;I am folllowing a walk through on using the data object manager in siteconfig (&lt;a href=&quot;http://archive.ssbits.com/2-4-working-with-siteconfig/&quot; rel=&quot;nofollow&quot;&gt;http://archive.ssbits.com/2-4-working-with-siteconfig/&lt;/a&gt;). I have managed to get it working to the point where I can add objects to the backend but I can't seem to get them to display on the template.&lt;/p&gt;&lt;p&gt;I am trying to loop through all items inside the object using a control loop but i don't seem to be having any joy... I get an error message [Notice] Undefined index: &lt;/p&gt;&lt;p&gt;SiteConfig Extender&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;&amp;lt;?php&lt;br /&gt;class SiteConfigExtra extends DataObjectDecorator{&lt;/p&gt;&lt;p&gt;function extraStatics() {&lt;br /&gt;      return array(&lt;br /&gt;        'db' =&amp;gt; array(&lt;br /&gt;            &quot;phone&quot; =&amp;gt; &quot;Varchar&quot;,&lt;br /&gt;            &quot;email&quot; =&amp;gt; &quot;Varchar&quot;,&lt;br /&gt;            &quot;twitterEmbed&quot; =&amp;gt; &quot;HTMLText&quot;,&lt;br /&gt;            &quot;suppliers&quot; =&amp;gt; &quot;HTMLText&quot;,&lt;br /&gt;            &quot;googleanalytics&quot; =&amp;gt; &quot;HTMLText&quot;&lt;br /&gt;        ),&lt;br /&gt;        'has_one' =&amp;gt; array(&lt;br /&gt;            &quot;logo&quot; =&amp;gt; 'Image',&lt;br /&gt;            &quot;slogan&quot; =&amp;gt; 'Image',&lt;br /&gt;            &quot;defaultbanner&quot; =&amp;gt; 'Image'&lt;br /&gt;        ),&lt;br /&gt;        'has_many' =&amp;gt; array(&lt;br /&gt;            &quot;nemomembers&quot; =&amp;gt; &quot;nemomember&quot;&lt;br /&gt;        )&lt;br /&gt;      );&lt;br /&gt;   }&lt;/p&gt;&lt;p&gt;   public function updateCMSFields(FieldSet &amp;amp;$fields) {&lt;br /&gt;        $fields-&amp;gt;addFieldToTab(&quot;Root.Logo&quot;, new ImageField('logo', ' Logo (174x79)', Null, Null, Null, 'Uploads/site-assets/'));&lt;br /&gt;        $fields-&amp;gt;addFieldToTab(&quot;Root.Logo&quot;, new ImageField('slogan', ' Slogan (483x52)', Null, Null, Null, 'Uploads/site-assets/'));&lt;br /&gt;        $fields-&amp;gt;addFieldToTab(&quot;Root.Main&quot;, new TextField('phone',&quot;Phone Number&quot;));&lt;br /&gt;        $fields-&amp;gt;addFieldToTab(&quot;Root.Main&quot;, new TextField('email',&quot;Email Address&quot;));&lt;br /&gt;        $fields-&amp;gt;addFieldToTab(&quot;Root.Main&quot;, new TextAreaField('twitterEmbed',&quot;Twitter Embed&quot;));&lt;br /&gt;        $fields-&amp;gt;addFieldToTab(&quot;Root.Main&quot;, new TextAreaField('googleanalytics',&quot;Google Analytics&quot;));&lt;br /&gt;        $fields-&amp;gt;addFieldToTab(&quot;Root.Main&quot;, new ImageField('defaultbanner', 'Default Banner (973x200)', Null, Null, Null, 'Uploads/site-assets/'));&lt;br /&gt;        $fields-&amp;gt;addFieldToTab(&quot;Root.Suppliers&quot;, new HTMLEditorField('suppliers',&quot;Suppliers&quot;));&lt;/p&gt;&lt;p&gt;        $manager = new DataObjectManager(&lt;br /&gt;            $this-&amp;gt;owner,&lt;br /&gt;            'NemoMembers',&lt;br /&gt;            'NemoMember'&lt;br /&gt;        ); &lt;br /&gt;        $manager-&amp;gt;setSourceID($this-&amp;gt;owner-&amp;gt;ID);&lt;br /&gt;        $fields-&amp;gt;addFieldToTab(&quot;Root.NemoMembers&quot;, $manager);&lt;br /&gt;   }&lt;/p&gt;&lt;p&gt;}&lt;br /&gt;class SiteConfig_DataObjectManager extends DataObjectManager {&lt;br /&gt;    function setSourceID($val) {&lt;br /&gt;        if (is_numeric($val)) {&lt;br /&gt;            $this-&amp;gt;sourceID = $val;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    function sourceID() {&lt;br /&gt;        if (isset($this-&amp;gt;sourceID) &amp;amp;&amp;amp; $this-&amp;gt;sourceID !== null &amp;amp;&amp;amp; is_numeric($this-&amp;gt;sourceID)) {&lt;br /&gt;            return $this-&amp;gt;sourceID;&lt;br /&gt;        }&lt;br /&gt;        return parent::sourceID();&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Member&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;&amp;lt;?php&lt;br /&gt;class NemoMember extends DataObject&lt;br /&gt;{&lt;br /&gt;    //db fields&lt;br /&gt;    static $db = array (&lt;br /&gt;        'Name' &amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; 'Varchar(255)',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Address1' &amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; 'Varchar(255)',&lt;br /&gt;        'Address2' &amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; 'Varchar(255)',&lt;br /&gt;        'Town' &amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; 'Varchar(255)',&lt;br /&gt;        'County' &amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; 'Varchar(255)',&lt;br /&gt;        'Postcode' &amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; 'Varchar(255)',&lt;br /&gt;        'Lat' &amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; 'Varchar(255)',&lt;br /&gt;        'Long' &amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; 'Varchar(255)',&lt;br /&gt;        'Email' &amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; 'Varchar(255)',&lt;br /&gt;        'Telephone' &amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; 'Varchar(255)'&lt;br /&gt;    );&lt;/p&gt;&lt;p&gt;    //Relations&lt;br /&gt;    static $has_one = array (&lt;br /&gt;        'Logo'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; 'Image'&lt;br /&gt;    );&lt;/p&gt;&lt;p&gt;    //Fields to show in the DOM table&lt;br /&gt;    static $summary_fields = array(&lt;br /&gt;        'Logo',&lt;br /&gt;        'Name',&lt;br /&gt;        'Address1',&lt;br /&gt;        'Postcode',&lt;br /&gt;        'Lat',&lt;br /&gt;        'Long'&lt;br /&gt;    );&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;/**&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Fields for DOM popup&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param &amp;nbsp;&amp;nbsp;&amp;nbsp;void&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @return &amp;nbsp;&amp;nbsp;&amp;nbsp;FieldSet DOM Object&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;br /&gt;    public function getCMSFields()&lt;br /&gt;    {&lt;br /&gt;        return new FieldSet(&lt;br /&gt;            new TextField('Name'),&lt;br /&gt;            new TextField('Address1'),&lt;br /&gt;            new TextField('Address2'),&lt;br /&gt;            new TextField('Town'),&lt;br /&gt;            new TextField('County'),&lt;br /&gt;            new TextField('Postcode'),&lt;br /&gt;            new TextField('Lat'),&lt;br /&gt;            new TextField('Long'),&lt;br /&gt;            new TextField('Email'),&lt;br /&gt;            new TextField('Telephone'),&lt;br /&gt;            new ImageField('Logo', 'Logo', Null, Null, Null, 'Uploads/member-logos/')&lt;br /&gt;        );&lt;br /&gt;    }&lt;br /&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Template&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;&amp;lt;% control SiteConfig.NemoMembers %&amp;gt;&lt;br /&gt;    &amp;lt;p&amp;gt;$Name&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;% end_control %&amp;gt;&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Please help, I have looked through other forum posts and haven't managed to get it to work. Please tell me it's something stupid that I have missed. It is driving me mad not being able to get it to work!&lt;/p&gt;&lt;p&gt;Many thanks,&lt;br /&gt;Alex&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DataObject in SiteConfig | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19853&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19853&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 11 May 2012 00:25:23 +1200</pubDate>
			<dc:creator>ABK</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19853</guid>
		</item>
		
		<item>
			<title>Re: Problem with SiteTree in DOM</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/14611#post313818</link>
			<description>&lt;p&gt;Well, you basically tell the DOM in the 4th parameter with an array which method in the DataObject to use to display in the overview.&lt;br /&gt;For example:&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;new DataObjectManager(&lt;br /&gt;                $this,&lt;br /&gt;                'TeaserImages',&lt;br /&gt;                'TeaserImage',&lt;br /&gt;                array(&lt;br /&gt;                    'Image' =&amp;gt; 'Bild',&lt;br /&gt;                    'getSelectedSiteTitle' =&amp;gt; 'verlinkte Seite',&lt;br /&gt;                ),&lt;br /&gt;                'getCMSFields_forPopup'&lt;br /&gt;            )&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;will call TeaserImage-&amp;gt;getSelectedSiteTitle() for displaying a value in the second column of the DOM overview. Within the DataObject inherited class put the method and access the DataObjects values (example is for a SiteTree):&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;public function getSelectedSiteTitle() {&lt;br /&gt;        return $this-&amp;gt;obj('LinkTo')-&amp;gt;Title;&lt;br /&gt;    }&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Problem with SiteTree in DOM | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/14611#post313818&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/14611&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 08 May 2012 05:43:29 +1200</pubDate>
			<dc:creator>abschwoerung</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/14611#post313818</guid>
		</item>
		
		<item>
			<title>Re: ULTIMATE GUIDE - installing image gallery</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/11205#post313806</link>
			<description>&lt;p&gt;jim! creds for you! thanks!&lt;/p&gt;&lt;p&gt;unclecheese! what's web dev without you. thanks!&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: ULTIMATE GUIDE - installing image gallery | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/11205#post313806&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/11205&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 07 May 2012 19:34:40 +1200</pubDate>
			<dc:creator>moogi</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/11205#post313806</guid>
		</item>
		
		<item>
			<title>DOM TableList Spreadsheet</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19828</link>
			<description>&lt;p&gt;Dear SS&lt;/p&gt;&lt;p&gt;Has anyone used DOM or TableList like a spreadsheet?&lt;/p&gt;&lt;p&gt;I need to be able to add or update a row in-line without any pop-up forms.&lt;/p&gt;&lt;p&gt;Thanks in advance&lt;br /&gt;Gerry Silva&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DOM TableList Spreadsheet | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19828&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19828&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sat, 05 May 2012 17:07:54 +1200</pubDate>
			<dc:creator>Gerry S</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19828</guid>
		</item>
		
		<item>
			<title>Install/remove modules.. Site crashes and burns. </title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19827</link>
			<description>&lt;p&gt;Installed 2.4.7, worked through the tutorials, created a basic template and installed the forum without trouble. Then tried to install Diary,  and this reported a missing dependency. Installed Calendar as it sounded as if this contained the dependency. Still neither worked, so removed both folders from the site root and did /dev/build?flush. Result: White screen of death when attempting to access admin area. Public pages still work. &lt;/p&gt;&lt;p&gt;Looking at the database, I see that the Diary and Calendar tables are still there. There are no file types with missing classes. &lt;/p&gt;&lt;p&gt;There is a 2010 post describing a very similar problem, and it looks like the bug still exists.  &lt;br /&gt;&lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/11903&quot; rel=&quot;nofollow&quot;&gt;http://www.silverstripe.org/dataobjectmanager-module-forum/show/11903&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Debug output: &lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;[User Error] Bad RecordClassName '' and $baseClass not set&lt;br /&gt;GET \stripe\admin?flush=1&lt;/p&gt;&lt;p&gt;Line 2762 in stripe\sapphire\core\model\DataObject.php&lt;br /&gt;Source&lt;/p&gt;&lt;p&gt;2753 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;foreach($records as $record) {&lt;br /&gt;2754 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(empty($record['RecordClassName'])) {&lt;br /&gt;2755 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$record['RecordClassName'] = $record['ClassName'];&lt;br /&gt;2756 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;2757 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(class_exists($record['RecordClassName'])) {&lt;br /&gt;2758 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$results[] = new $record['RecordClassName']($record);&lt;br /&gt;2759 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else {&lt;br /&gt;2760 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(!$baseClass) {&lt;br /&gt;2761 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;user_error(&quot;Bad RecordClassName '{$record['RecordClassName']}' and &quot;&lt;br /&gt;2762 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;. &quot;\$baseClass not set&quot;, E_USER_ERROR);&lt;br /&gt;2763 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if(!is_string($baseClass) || !class_exists($baseClass)) {&lt;br /&gt;2764 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;user_error(&quot;Bad RecordClassName '{$record['RecordClassName']}' and bad &quot;&lt;br /&gt;2765 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;. &quot;\$baseClass '$baseClass not set&quot;, E_USER_ERROR);&lt;br /&gt;2766 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;2767 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$results[] = new $baseClass($record);&lt;br /&gt;2768 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Install/remove modules.. Site crashes and burns.  | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19827&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19827&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sat, 05 May 2012 08:37:27 +1200</pubDate>
			<dc:creator>Anteaus</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19827</guid>
		</item>
		
		<item>
			<title>I can&#39;t handle sub-URLs of a Form object.</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19816</link>
			<description>&lt;p&gt;After many hours, I thought I'd worked out the problems with DOM and Uploadify last night, but today I can't successfully use the &quot;Add &lt;em&gt;object&lt;/em&gt;&quot; dialog. The dialog gets to 100%, but there are no attached files. Then I usually get logged out of the admin. Sometimes I can find the file when I log back in in the &quot;Choose Existing&quot; tab and import from there.&lt;/p&gt;&lt;p&gt;-I'm using the latest version of Silverstripe and the latest versions of Uploadify and DOM from github. &lt;/p&gt;&lt;p&gt;-Folders are named &quot;dataobject_manager&quot; and &quot;uploadify&quot;.&lt;/p&gt;&lt;p&gt;-In mysite/_config.php I have the lines&lt;/p&gt;&lt;p&gt;UploadifyField::show_debug(); (doesn't show any errors)&lt;br /&gt;UploadifyField::disable_authentication(); (solved http error)&lt;/p&gt;&lt;p&gt;-Console shows two 404 errors:&lt;/p&gt;&lt;p&gt;GET &lt;a href=&quot;http://neldnerconstruction.com/admin/EditForm/field/HomePageSlides/UploadifyForm/field/UploadedFiles/refresh?&quot; rel=&quot;nofollow&quot;&gt;http://neldnerconstruction.com/admin/EditForm/field/HomePageSlides/UploadifyForm/field/UploadedFiles/refresh?&lt;/a&gt;.....&lt;/p&gt;&lt;p&gt;   and&lt;/p&gt;&lt;p&gt;POST &lt;a href=&quot;http://neldnerconstruction.com/admin/EditForm/field/HomePageSlides/UploadifyForm?&quot; rel=&quot;nofollow&quot;&gt;http://neldnerconstruction.com/admin/EditForm/field/HomePageSlides/UploadifyForm?&lt;/a&gt;&lt;/p&gt;&lt;p&gt;-I get this error message in the Upload dialog if I click &quot;Continue&quot; after the file has finished 100% -&lt;/p&gt;&lt;p&gt;&quot;I can't handle sub-URLs of a Form object.&quot;&lt;/p&gt;&lt;p&gt;-I've tried in both Firefox and Safari and get identical behavior in both.&lt;/p&gt;&lt;p&gt;Any ideas about how to resolve this?&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: I can&amp;#39;t handle sub-URLs of a Form object. | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19816&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19816&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 04 May 2012 12:20:09 +1200</pubDate>
			<dc:creator>cmc</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19816</guid>
		</item>
		
		<item>
			<title>Re: FilteredDropdownSet - not filtered</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19246#post313705</link>
			<description>&lt;p&gt;The problem is in the FieldSet. FilteredDropdownSet does not work inside a FieldSet nor a FieldGroup. I had that same problem, f*ck*ng nightmare. Try it out like this :&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;$filter = new FilteredDropdownSet(array( &lt;br /&gt;         new DropdownField('ProvinceID', 'Province', $province_map), &lt;br /&gt;         new DropdownField('TownID', 'Town', $town_map) &lt;br /&gt;      ), &lt;br /&gt;      &quot;ProvinceID&quot;, &lt;br /&gt;      &quot;Town&quot; &lt;br /&gt;);&lt;/p&gt;&lt;p&gt;$fields-&amp;gt;addFieldToTab(&quot;Root.Main&quot;, $filter);&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Be sure to fully populate the $province_map and $town_map.&lt;/p&gt;&lt;p&gt;Cheers, hope it works.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: FilteredDropdownSet - not filtered | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19246#post313705&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19246&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Thu, 03 May 2012 23:30:13 +1200</pubDate>
			<dc:creator>pedro2555</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19246#post313705</guid>
		</item>
		
		<item>
			<title>Re: Uploadify HTTP Error</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=64#post313683</link>
			<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Uploadify HTTP errors:&lt;br /&gt;I was banging my head against the wall on this one! It turns out it was a rather simple solution.&lt;/p&gt;&lt;p&gt;Make sure the function name is the same name used in the form. The controller action.&lt;br /&gt;i.e. &lt;/p&gt;&lt;p&gt;function ImageUploadStepForm() {&lt;/p&gt;&lt;p&gt;$fields = new FieldSet(&lt;br /&gt;new FileUploadField('UserPhoto2', 'Upload Image')&lt;br /&gt;);&lt;/p&gt;&lt;p&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;/p&gt;&lt;p&gt;$form = new Form($this, 'ImageUploadStepForm' (!!!Has to be the same!!!), $fields, $actions);&lt;/p&gt;&lt;p&gt;Hope that helps other people with this issue.&lt;/p&gt;&lt;p&gt;Regards&lt;br /&gt;Scott&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploadify HTTP Error | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=64#post313683&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/15133&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Thu, 03 May 2012 11:33:37 +1200</pubDate>
			<dc:creator>Scott Farmer</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=64#post313683</guid>
		</item>
		
		<item>
			<title>Re: Audio - MP3 no  icon in DOM - no source in template</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19654#post313657</link>
			<description>&lt;p&gt;up!&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Audio - MP3 no  icon in DOM - no source in template | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19654#post313657&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19654&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Wed, 02 May 2012 19:29:18 +1200</pubDate>
			<dc:creator>borriej</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19654#post313657</guid>
		</item>
		
		<item>
			<title>Re: DOM control loop template in siteconfig</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772#post313584</link>
			<description>&lt;p&gt;Here's my Dataobject code(SwfBannerResource.php)&lt;/p&gt;&lt;p&gt;&amp;lt;?php &lt;/p&gt;&lt;p&gt;class SwfBannerAdResource extends DataObject&lt;br /&gt;{&lt;br /&gt;    static $db = array (&lt;br /&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;'AdName' =&amp;gt; 'Text',&lt;br /&gt;        'Link' =&amp;gt; 'Text'&lt;/p&gt;&lt;p&gt;    );&lt;/p&gt;&lt;p&gt;    static $has_one = array (&lt;br /&gt;        'Attachment' =&amp;gt; 'Image', //Needs to be an image&lt;br /&gt;        'Swf' =&amp;gt; 'File',&lt;/p&gt;&lt;p&gt;        'SiteConfig' =&amp;gt; 'SiteConfig'&lt;/p&gt;&lt;p&gt;    );&lt;/p&gt;&lt;p&gt;    public function getCMSFields_forPopup()&lt;br /&gt;    {&lt;br /&gt;        return new FieldSet(&lt;br /&gt;        &amp;nbsp;&amp;nbsp;&amp;nbsp;new TextField('AdName'),&lt;br /&gt;            new TextField('Link'),&lt;br /&gt;            //new FileIFrameField('Attachment'),&lt;br /&gt;          &amp;nbsp;&amp;nbsp;&amp;nbsp;new FileAttachmentField('Attachment', 'Static jpeg 1017px by 112px'),&lt;br /&gt;          &amp;nbsp;&amp;nbsp;&amp;nbsp;new FileAttachmentField('Swf', 'Swf 1017px by 112px')&lt;/p&gt;&lt;p&gt;        );&lt;br /&gt;    }&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;Here's my Site config (part of it)&lt;/p&gt;&lt;p&gt;public function updateCMSFields(FieldSet &amp;amp;$fields) {&lt;/p&gt;&lt;p&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp; $manager = new DataObjectManager( &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;         $this-&amp;gt;owner, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;         'SwfBanners', &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;         'SwfBannerAdResource',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;         //'Swf', &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;         array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;         &amp;nbsp;&amp;nbsp;&amp;nbsp;'AdName' =&amp;gt; 'AdName',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;            'Link' =&amp;gt; 'Link',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;            'Attachment.Name' =&amp;gt; 'Attachment',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;            'Swf.Name' =&amp;gt; 'Swf',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;            &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;         ), &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;         'getCMSFields_forPopup' &lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;); &lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$manager-&amp;gt;setParentClass('SiteConfig'); &lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$manager-&amp;gt;setSourceID($this-&amp;gt;owner-&amp;gt;ID); &lt;br /&gt;/*&lt;br /&gt;      $manager-&amp;gt;setUploadFolder(&quot;PublicationPage-&quot; . $this-&amp;gt;ID); &lt;br /&gt;      $manager-&amp;gt;setAllowedFileTypes(array ('pdf','doc')); &lt;br /&gt;*/&lt;/p&gt;&lt;p&gt;       $fields-&amp;gt;addFieldToTab(&quot;Root.SwfBanner&quot;, $manager); &lt;/p&gt;&lt;p&gt;And here's my template:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;% control SiteConfig %&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;% control SwfBanners %&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$Attachment&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div id=&quot;FlashContainer&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &amp;lt;a href=&quot;$Link&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$Attachment&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* &amp;lt;![CDATA[ */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;swfobject.embedSWF(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &quot;$Swf.URL&quot;, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &quot;FlashContainer&quot;, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &quot;1017&quot;, &quot;112&quot;, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &quot;9.0.0&quot;, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &quot;nzkier2/nzskier/js/swfobject/expressInstall.swf&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* ]]&amp;gt; */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;% end_control %&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;% end_control %&amp;gt;&lt;/p&gt;&lt;p&gt;I haven't got randomizing yet, I'm just trying to loop thru all the SwfBanner data object and get them to display.&lt;/p&gt;&lt;p&gt;But only &quot;/assets/&quot; is output by the template even tho in the CMS i can see the files, urls, etc.&lt;/p&gt;&lt;p&gt;Any Ideas?&lt;/p&gt;&lt;p&gt;Thanks in advance&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DOM control loop template in siteconfig | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772#post313584&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19772&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sun, 29 Apr 2012 00:46:53 +1200</pubDate>
			<dc:creator>badjedi</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772#post313584</guid>
		</item>
		
		<item>
			<title>DOM control loop template in siteconfig</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772</link>
			<description>&lt;p&gt;I am Swf banner, that randomly rotates for each page.&lt;/p&gt;&lt;p&gt;I have made a Dataobject, with file upload and alternate text/images fine in CMS.&lt;/p&gt;&lt;p&gt;But When trying to loop thru in templates i get no data even tho  i see several items in the DOM inside siteconfig.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DOM control loop template in siteconfig | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19772&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sun, 29 Apr 2012 00:42:02 +1200</pubDate>
			<dc:creator>badjedi</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19772</guid>
		</item>
		
		<item>
			<title>Re: Language problem after installing DataObjectManager</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19722#post313575</link>
			<description>&lt;p&gt;Hi Patsar, i may help you. Based on your website URL, your in Canada. I am in Montreal.&lt;/p&gt;&lt;p&gt;Event calendar uses &lt;/p&gt;&lt;p&gt;setlocale(LC_TIME, 'fr_FR.UTF8', 'fr_FR', 'fr-FR', 'french');&lt;/p&gt;&lt;p&gt; and not &lt;/p&gt;&lt;p&gt;i18n::set_locale('fr_FR');&lt;/p&gt;&lt;p&gt;But i see your Calendar is in French thought.&lt;/p&gt;&lt;p&gt;Qu'avez-vous fait?&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Language problem after installing DataObjectManager | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19722#post313575&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19722&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sat, 28 Apr 2012 14:15:26 +1200</pubDate>
			<dc:creator>wilsonStaff</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19722#post313575</guid>
		</item>
		
		<item>
			<title>Re: display ALL dataobjects per page as default</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/18056#post313566</link>
			<description>&lt;p&gt;Here's a more complete solution. &lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Show All by default&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$manager-&amp;gt;per_page = &quot;9999&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$manager-&amp;gt;setPageSize(9999);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(isset($_REQUEST['ctf']['RelationName'])) $manager-&amp;gt;setPageSize($_REQUEST['ctf']['RelationName']['per_page']);&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Be sure to replace RelationName with the actual name of the relation in question.&lt;/p&gt;&lt;p&gt;Explanation:&lt;br /&gt;Only using setPageSize (line 3) means the drop down no longer works, so after setting it to default you set it based on the request value (line 4). Setting per_page (line 1) is necessary for the dropdown to have All selected in the dropdown by default. It is necessary to make a small hack of changing the decleration of per_page from protected to public in DataObjectManager.php for this last bit to work. Everything else works fine without the hack.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: display ALL dataobjects per page as default | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/18056#post313566&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/18056&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 27 Apr 2012 18:18:16 +1200</pubDate>
			<dc:creator>pbz</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/18056#post313566</guid>
		</item>
		
		<item>
			<title>Navigation menu interferes with ImageGallery</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19760</link>
			<description>&lt;p&gt;I've installed the Image Gallery module on my website and it's looking great but I have a major issue that needs to be sorted before I make it live. &lt;br /&gt;When the user clicks on the image and the pop up window appears, the navigation menu appears over the top of the image.&lt;br /&gt;Any ideas on what I can do??&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Navigation menu interferes with ImageGallery | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19760&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19760&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 27 Apr 2012 09:35:43 +1200</pubDate>
			<dc:creator>Rachel</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19760</guid>
		</item>
		
		<item>
			<title>Re: Uploadify HTTP Error</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=64#post313557</link>
			<description>&lt;p&gt;I just stumbled across the same problem as gieser. %EF%BB%BF is the Unicode byte order mark. This means that some file is saved as UTF8. To fix the error find the file (it is most probably some file you wrote yourself!) and save as UTF8 without byte order mark. Most editors should be capable of doing this. In Notepad++ it is done by choosing Encoding-&amp;gt;Encode in UTF-8 without BOM.&lt;/p&gt;&lt;p&gt;sticks had/has %0D%0A, which is windows style newline (CR LF ). Look for a newline in front of &amp;lt;?php&lt;/p&gt;&lt;p&gt;HTH&lt;br /&gt;Jak&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploadify HTTP Error | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=64#post313557&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/15133&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 27 Apr 2012 03:24:26 +1200</pubDate>
			<dc:creator>jak</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=64#post313557</guid>
		</item>
		
		<item>
			<title>Re: Uploadify problem</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/18602#post313517</link>
			<description>&lt;p&gt;I'm having this same problem with the Files &amp;amp; Images tab. I've checked the console, but I'm not seeing any errors. Does anybody have suggestions on where else to check?&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploadify problem | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/18602#post313517&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/18602&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 24 Apr 2012 18:15:02 +1200</pubDate>
			<dc:creator>wvujeb</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/18602#post313517</guid>
		</item>
		
		<item>
			<title>Uploadify/FileDOM setUploadFolder Issue</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19736</link>
			<description>&lt;p&gt;I have a a DataObject that a specify I custom folder for uploads (based on the DataObject's Title), I've noticed that when I upload files using uploadify it uses the correct folder however when it passes over to the DOM it seems to recreate the the custom folder under assets/assets/customFolder and place a copy of the file in there.&lt;/p&gt;&lt;p&gt;Any ideas?&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploadify/FileDOM setUploadFolder Issue | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19736&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19736&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sun, 22 Apr 2012 11:32:46 +1200</pubDate>
			<dc:creator>zenmonkey</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19736</guid>
		</item>
		
		<item>
			<title>Re: Uploadify &#39;Choose existing&#39; and DataobjectManager &#39;Grid View&#39; not working</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/18454#post313467</link>
			<description>&lt;p&gt;Just revisiting this...&lt;br /&gt;It looks like one of the problems was permissions issues on the folders within the assets folder, and once they were changed the grid view and 'choose existing' worked for most of the folders in that area. &lt;/p&gt;&lt;p&gt;Also some specific files seemed to have been causing the break and generating that error - once they were removed it all worked again. The files appeared to be Jpegs just like all the others but I've no idea how these were saved or generated (uploaded by the client). &lt;/p&gt;&lt;p&gt;But if anyone can shed any light on why specific files could cause it let me know.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploadify &amp;#39;Choose existing&amp;#39; and DataobjectManager &amp;#39;Grid View&amp;#39; not working | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/18454#post313467&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/18454&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sun, 22 Apr 2012 03:29:01 +1200</pubDate>
			<dc:creator>neilcreagh</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/18454#post313467</guid>
		</item>
		
		<item>
			<title>Language problem after installing DataObjectManager</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19722</link>
			<description>&lt;p&gt;First of all, I am really new to Silverstripe. That being said... I set my site in French using i18n::set_locale('fr_FR');  in /mysite/_config.php and everything was fine. Then I installed the Event Calendar and DataObjectManager and now some parts of the site (CMS Login form) and the CMS itself reverted to english even when the option is set on French. I wasn't able to get it back to French. I searched the forums but cannot find anything about this... I am looking here for advice. Thanks&lt;/p&gt;&lt;p&gt;the site, in case that could help: &lt;a href=&quot;http://www.lafourmiliere.ca/&quot; rel=&quot;nofollow&quot;&gt;www.lafourmiliere.ca&lt;/a&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Language problem after installing DataObjectManager | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19722&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19722&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 20 Apr 2012 12:39:39 +1200</pubDate>
			<dc:creator>patsar</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19722</guid>
		</item>
		
		<item>
			<title>Re: Filtering / Searching DataObjects in the Front End</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19306#post313312</link>
			<description>&lt;p&gt;I tried a few different methods and never REALLY got to what I wanted.&lt;/p&gt;&lt;p&gt;I'm currently playing around with extending the SS search function, but this is a personal project so I don't get much time to work on it!&lt;br /&gt;I might give up soon and pay one of my devs to sort it for me! Happy to share the results if/when i do...&lt;/p&gt;&lt;p&gt;here's the latest progress/attempt:&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;public function SearchForm() {&lt;br /&gt;        $context = singleton('Apartment')-&amp;gt;getCustomSearchContext();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;        $extraFields = $context-&amp;gt;getSearchFields();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields = new FieldSet(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new DropdownField(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'RoomsMin', 'Min Rooms',  array( '' =&amp;gt; 'Any', '1' =&amp;gt; '1', '2' =&amp;gt; '2', '3' =&amp;gt; '3', '4' =&amp;gt; '4', '5' =&amp;gt; '5', '6' =&amp;gt; '6', '7' =&amp;gt; '7', '8' =&amp;gt; '8', '9' =&amp;gt; '9', '10' =&amp;gt; '10')),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new DropdownField(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'RoomsMax', 'Max Rooms',  array( '' =&amp;gt; 'Any', '1' =&amp;gt; '1', '2' =&amp;gt; '2', '3' =&amp;gt; '3', '4' =&amp;gt; '4', '5' =&amp;gt; '5', '6' =&amp;gt; '6', '7' =&amp;gt; '7', '8' =&amp;gt; '8', '9' =&amp;gt; '9', '10' =&amp;gt; '10')),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new DropdownField(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'TownID',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Choose a town',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dataobject::get(&quot;Town&quot;)-&amp;gt;toDropdownMap(&quot;ID&quot;, &quot;Name&quot;, &quot;Please Select&quot;)),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new DropdownField(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Amenity.ID',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Choose amenities',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dataobject::get(&quot;Amenity&quot;)-&amp;gt;map(&quot;ID&quot;, &quot;Name&quot;, &quot;Please Select&quot;))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   &lt;br /&gt;        $form = new Form($this, &quot;SearchForm&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields,&lt;br /&gt;            new FieldSet(&lt;br /&gt;                new FormAction('doSearch', 'Search')&lt;br /&gt;            )&lt;br /&gt;        );&lt;/p&gt;&lt;p&gt;        return $form;&lt;br /&gt;    }&lt;br /&gt;    public function doSearch($data, $form) {&lt;br /&gt;        $context = singleton('Apartment')-&amp;gt;getCustomSearchContext();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Add fields so that only published are shown.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//$data['isActive'] = '1';&lt;br /&gt;        $results = $context-&amp;gt;getResults($data);&lt;br /&gt;        return $this-&amp;gt;customise(array(&lt;br /&gt;            'Results' =&amp;gt; $results&lt;br /&gt;        ))-&amp;gt;renderWith(array('SearchPage_results', 'Page'));&lt;br /&gt;    }&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Filtering / Searching DataObjects in the Front End | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19306#post313312&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19306&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sat, 14 Apr 2012 01:20:12 +1200</pubDate>
			<dc:creator>CHD</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19306#post313312</guid>
		</item>
		
		<item>
			<title>Re: Does anybody know how to iterate DataObject::database_fields</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19653#post313311</link>
			<description>&lt;p&gt;Pretty much!&lt;/p&gt;&lt;p&gt;With one minor difference - these fields would be used by the CMS administrator, not the web user.&lt;/p&gt;&lt;p&gt;If you ever program VB Access in the old days, you know how every data controls that gets bound by certain data source's record source's properties? In every VB form, you can bind the whole form to an entire table, along with its data controls to their corresponding fields?&lt;/p&gt;&lt;p&gt;That's what I'm trying to here in SS!  I want to reproduce that similar experience here in UDF for those UDF's input fields.&lt;/p&gt;&lt;p&gt;I'm very curious how we can port this aspect of VBA's IDE within SS environment...?&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Does anybody know how to iterate DataObject::database_fields | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19653#post313311&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19653&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sat, 14 Apr 2012 01:19:43 +1200</pubDate>
			<dc:creator>CMSPlayer</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19653#post313311</guid>
		</item>
		
		<item>
			<title>Re: Filtering / Searching DataObjects in the Front End</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19306#post313307</link>
			<description>&lt;p&gt;hi there&lt;/p&gt;&lt;p&gt;have you had a look at the code in generic-views? or probable you can even just use generic views. once i've used smth like this - it worked but as far as i remember i had some troubles filtering many_many's.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.silverstripe.org/generic-views-module/&quot; rel=&quot;nofollow&quot;&gt;http://www.silverstripe.org/generic-views-module/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;best&lt;br /&gt;lukas&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Filtering / Searching DataObjects in the Front End | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19306#post313307&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19306&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sat, 14 Apr 2012 00:51:08 +1200</pubDate>
			<dc:creator>lerni</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19306#post313307</guid>
		</item>
		
		<item>
			<title>Re: Filtering / Searching DataObjects in the Front End</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19306#post313306</link>
			<description>&lt;p&gt;Hi CHD,&lt;/p&gt;&lt;p&gt;Did you have any luck with this? I'm looking to do something very similar within the eCommerce module.&lt;/p&gt;&lt;p&gt;Cheers&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Filtering / Searching DataObjects in the Front End | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19306#post313306&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19306&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sat, 14 Apr 2012 00:26:43 +1200</pubDate>
			<dc:creator>ambient</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19306#post313306</guid>
		</item>
		
		<item>
			<title>DataObjects as Pages</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19684</link>
			<description>&lt;p&gt;Hi SilverStripe members,&lt;/p&gt;&lt;p&gt;I'm using DataObject as Pages at the moment, and&lt;br /&gt;i've got my categorie Football and there in i got the products.. but my question is&lt;br /&gt;can i make Categorie football -&amp;gt; categorie Balls, Shoes, Suits -&amp;gt; then the products (like Redballs, Blue) &lt;/p&gt;&lt;p&gt;Does anyone know how to do this ?&lt;/p&gt;&lt;p&gt;Sincerly, phokk&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DataObjects as Pages | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19684&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19684&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 13 Apr 2012 20:01:05 +1200</pubDate>
			<dc:creator>phokki</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19684</guid>
		</item>
		
		<item>
			<title>DOM or ImageGallery NIGHTMARE!</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19681</link>
			<description>&lt;p&gt;Client is administering their SS site in production. Parent page has 6 ImageGallery child pages. Client relocates the parent page in the CMS tree. Now all the images in all the albums (more than 300 total) are displaying the broken image icon in the CMS and the galleries are hosed on the frontend. After cracking open the database there are records in the ImageGalleryItem table, but the corresponding records in the File table ARE NOT THERE!&lt;/p&gt;&lt;p&gt;Needless to say, I have one very pissed-off client with little confidence in my &quot;World-Class&quot; web application. I've traced the code into the File class, where it seems to think that the image on the file system does not exist (it does), while trying to copy the image so it deletes the File table entry??? Makes zero sense, so I'm asking Uncle Cheese or any other gurus for assistance.&lt;/p&gt;&lt;p&gt;Any help would be very much appreciated.&lt;/p&gt;&lt;p&gt;PC&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DOM or ImageGallery NIGHTMARE! | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19681&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19681&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 13 Apr 2012 10:01:34 +1200</pubDate>
			<dc:creator>pcbender</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19681</guid>
		</item>
		
		<item>
			<title>Re: Uploadify HTTP Error</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=64#post313278</link>
			<description>&lt;p&gt;I had this same HTTP error when trying to upload a PDF file using Uploadify with FileUploadField, although it worked fine with ImageUploadField. &lt;br /&gt;I decided to go back to the old FileIFrameField upload method. This gave me the error: &quot;[User Error] Bad RecordClassName '' and $baseClass not set&quot;. I looked in the File table and found several records with empty ClassName fields. When I fixed this issue FileIFrameField started working, as did FileUploadField.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploadify HTTP Error | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=64#post313278&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/15133&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 13 Apr 2012 09:52:55 +1200</pubDate>
			<dc:creator>Neuman</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/15133?start=64#post313278</guid>
		</item>
		
		<item>
			<title>Re: Access to $many_many Object(s) from Within $belongs_many_many Object(s)</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19657#post313259</link>
			<description>&lt;p&gt;&lt;em&gt;What's funny is that this very approach was my instinct but there is something unintuitive about a control loop around a non-plural term, you know? I.e.: &quot;CaseStudy&quot; vs. &quot;CaseStudies&quot;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Well normally you name the relationship with a plural...&lt;/p&gt;&lt;p&gt;-B-: &lt;br /&gt;class SubService extends DataObject { &lt;/p&gt;&lt;p&gt;   static $has_one = array( &lt;br /&gt;      &quot;Service&quot; =&amp;gt; &quot;Service&quot;       &lt;br /&gt;   );&lt;/p&gt;&lt;p&gt;   static $belongs_many_many = array( &lt;br /&gt;      &quot;CaseStudies&quot; =&amp;gt; &quot;CaseStudy&quot;  // &amp;lt;-- note case studies&lt;br /&gt;   );&lt;/p&gt;&lt;p&gt;-C-: &lt;br /&gt;class CaseStudy extends Page { &lt;/p&gt;&lt;p&gt;   static $many_many = array( &lt;br /&gt;    &quot;SubServices&quot; =&amp;gt; &quot;SubService&quot; &lt;br /&gt;   );&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Access to $many_many Object(s) from Within $belongs_many_many Object(s) | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19657#post313259&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19657&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Thu, 12 Apr 2012 18:52:00 +1200</pubDate>
			<dc:creator>Willr</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19657#post313259</guid>
		</item>
		
		<item>
			<title>Re: DataObject as Page sorting by categories</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19663#post313251</link>
			<description>&lt;p&gt;You need a &amp;lt;% control Children %&amp;gt; control inside your GroupBy. The function creates a new DataObjectSet. You can use $Debug inside a control to help you determine what available to you&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DataObject as Page sorting by categories | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19663#post313251&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19663&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Thu, 12 Apr 2012 08:13:17 +1200</pubDate>
			<dc:creator>zenmonkey</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19663#post313251</guid>
		</item>
		
		<item>
			<title>Re: DataObject as Page sorting by categories</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19663#post313250</link>
			<description>&lt;p&gt;Thanks for reply. No, I don´t use the module. Start working on the project before the module came out.&lt;br /&gt;I followed the tutorial and used that code.&lt;/p&gt;&lt;p&gt;GroupBy(Category) and SortBy(Category) doesn´t work:&lt;br /&gt;&amp;lt;% control Products.GroupBy(Category) %&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;produktthumb&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;a href=&quot;$Link&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;h2&amp;gt;$Title&amp;lt;/h2&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;span class=&quot;price&quot;&amp;gt;$Price&amp;lt;/span&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;clear&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$Image.CroppedImage(250,175)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;lt;% end_control %&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;% control Products.GroupBy(Category) %&amp;gt; and &amp;lt;% control Products.SortBy(Category) %&amp;gt; only returns nothing.&lt;br /&gt;&amp;lt;% control Products.GroupedBy(CategoryPage) %&amp;gt; and &amp;lt;% control Products.GroupedBy(Categories.ID) %&amp;gt; returns only one product.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DataObject as Page sorting by categories | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19663#post313250&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19663&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Thu, 12 Apr 2012 08:03:41 +1200</pubDate>
			<dc:creator>Bereusei</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19663#post313250</guid>
		</item>
		
		<item>
			<title>Re: DataObject: Member of the Month</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19562#post313241</link>
			<description>&lt;p&gt;At its simplest you need to add a CurrentTrojan Varchar to Leden DataObject to store the current month the do something like this&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;function getTrojanoftheMonth(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$currentTrojan = DataObject::get_one(&quot;Leden&quot;, &quot;CurrentTrojan=&quot;.date(&quot;M&quot;));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if($currentTrojan) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return $currentTrojan;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}else{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$oldTrojan = DataObject::get_one(&quot;Leden&quot;, &quot;CurrentTrojan IS NOT NULL &quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$newTrojan = DataObject::get_one(&quot;Leden&quot;, &quot;CurrentTrojan IS NULL &quot;,false, 'RAND()');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if($oldTrojan &amp;amp;&amp;amp; $newTrojan) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$oldTrojan-&amp;gt;CurrentTrojan = NULL;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$oldTrojan-&amp;gt;write();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$newTrojan-&amp;gt;CurrentTrojan = date(&quot;M&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$newTrojan-&amp;gt;write();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return $newTrojan;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;Basically you're looking at Leden for anyone whose CurrentTrojan is the same month as the current month, if there isn't one with the current month to looks for the old one and a new random one. On the old one it removes the month marker and on the new one it sets the month to the current month and returns it. I didn't include a case for the first time you run it (It'll fail because it won't find an oldTrojan) you can either add the fallback case or just manually set the CurrentTrojan of a Leden before call the function.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DataObject: Member of the Month | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19562#post313241&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19562&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Thu, 12 Apr 2012 02:41:18 +1200</pubDate>
			<dc:creator>zenmonkey</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19562#post313241</guid>
		</item>
		
		<item>
			<title>Re: DataObject as Page sorting by categories</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19663#post313240</link>
			<description>&lt;p&gt;Are you using the DataObjectAsPage Module? It simplifies some of the work.&lt;/p&gt;&lt;p&gt;But if you're already looping though your products in the template you can do the sort right in the template by using the built in GroupedBy.&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;&amp;lt;% control Products.GroupedBy(Category)  %&amp;gt;&lt;br /&gt;$Title&lt;br /&gt;&amp;lt;% control Children %&amp;gt;&lt;br /&gt;..product info..&lt;br /&gt;&amp;lt;% end_control %&amp;gt;&lt;br /&gt;&amp;lt;% end_control %&amp;gt;&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;and I'm pretty sure you can &amp;lt;% control Children.SortBy() %&amp;gt; in the template as well&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DataObject as Page sorting by categories | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19663#post313240&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19663&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Thu, 12 Apr 2012 02:14:47 +1200</pubDate>
			<dc:creator>zenmonkey</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19663#post313240</guid>
		</item>
		
		<item>
			<title>Re: Access to $many_many Object(s) from Within $belongs_many_many Object(s)</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19657#post313236</link>
			<description>&lt;p&gt;@Willr...... Once again...... you are my knight in shining armor!&lt;/p&gt;&lt;p&gt;This works brilliantly.  I am now seeing all the Case Studies which are associated with a Service THROUGH a Subservice.  Couldn't be happier.&lt;/p&gt;&lt;p&gt;What's funny is that this very approach was my instinct but there is something unintuitive about a control loop around a non-plural term, you know?  I.e.: &quot;CaseStudy&quot; vs. &quot;CaseStudies&quot; as you would do in the outer loop.  But I knew CaseStudies wouldn't work because there's no reference to that anywhere.  Thank you so much, my good man.  If I ever come to NZ you drink for free.&lt;/p&gt;&lt;p&gt;Now that I have this I will not require the solution to my other post from the same day but will file that snippet in my toolbox.  Thanks for that too.&lt;/p&gt;&lt;p&gt;//Garrett&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Access to $many_many Object(s) from Within $belongs_many_many Object(s) | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19657#post313236&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19657&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Thu, 12 Apr 2012 01:28:14 +1200</pubDate>
			<dc:creator>Garrett</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19657#post313236</guid>
		</item>
		
		<item>
			<title>DataObject as Page sorting by categories</title>
			<link>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19663</link>
			<description>&lt;p&gt;He guys,&lt;/p&gt;&lt;p&gt;I´ve made an product catalogue following this tutorial: &lt;a href=&quot;http://www.ssbits.com/tutorials/2010/dataobjects-as-pages-part-2-using-model-admin-and-url-segments-to-create-a-product-catalogue/&quot; rel=&quot;nofollow&quot;&gt;http://www.ssbits.com/tutorials/2010/dataobjects-as-pages-part-2-using-model-admin-and-url-segments-to-create-a-product-catalogue/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Now I have an Page where all products from all categories are listed. My problem is, I can´t figure out how to sort my products on the CategoryPage by categories and then by the title of the product, so that the products from one category are standing together.&lt;br /&gt;I try to modify the getProductsList-function like this:&lt;/p&gt;&lt;p&gt;public function getProductsList()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return $this-&amp;gt;Products(Null, 'Category.Title ASC, Title ASC');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/p&gt;&lt;p&gt;I can´t figure out, how to call the category from the products. &lt;/p&gt;&lt;p&gt;Does anyone have a solution? I hope the problem is clear.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: DataObject as Page sorting by categories | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/show/19663&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/dataobjectmanager-module-forum/reply/19663&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Wed, 11 Apr 2012 21:33:33 +1200</pubDate>
			<dc:creator>Bereusei</dc:creator>
			<guid>http://www.silverstripe.org/dataobjectmanager-module-forum/show/19663</guid>
		</item>
		

	</channel>
</rss>
