<?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>TinyMCE buttons - SS buttons won&#39;t display </title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23782</link>
			<description>&lt;p&gt;Hi all &lt;/p&gt;&lt;p&gt;I want to change to TinyMCE editor and have my own set of buttons. I got everything working but some SS buttons won't display.&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;HtmlEditorConfig::get('cms')-&amp;gt;setButtonsForLine(1,array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'undo','redo','separator','bold','italic','separator','bullist','numlist','separator',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'justifyleft','justifycenter','justifyright',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'sslink','unlink','anchor','ssimage',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'styleselect','formatselect','cleanup', 'removeformat',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'attribs', 'template', 'preview','spellcheker','hr','separator','code'&lt;br /&gt;));&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;I tried some other variations like this one &lt;a href=&quot;https://stojg.se/blog/2013-03-29-customize-tinymce-for-silverstripe-cms&quot; rel=&quot;nofollow&quot;&gt;https://stojg.se/blog/2013-03-29-customize-tinymce-for-silverstripe-cms&lt;/a&gt;&lt;/p&gt;&lt;p&gt;But I don't get the ssimage to display in the editor. Some other buttons (e.g. spellcheck) won't work either. They are display in the second line, if I don't write …&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;HtmlEditorConfig::get('cms')-&amp;gt;setButtonsForLine(2,array());&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;What do I have to do to get this working? I want all my buttons in just one row.&lt;/p&gt;&lt;p&gt;Hope someone can help! Thanks!!&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: TinyMCE buttons - SS buttons won&amp;#39;t display  | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23782&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23782&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 20 May 2013 05:13:08 +1200</pubDate>
			<dc:creator>suntrop</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23782</guid>
		</item>
		
		<item>
			<title>Inserting search boxes from other sites</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23780</link>
			<description>&lt;p&gt;Hi there,&lt;/p&gt;&lt;p&gt;I'm new to silverstripe and not sure how this could be implemented.&lt;/p&gt;&lt;p&gt;My site is a travel website and I would like to add search box from Transport for London and another for hotel search from booking.com.&lt;br /&gt;If I try to add the code for by editing the HTML code on the CMS, nothing happens. The one from TFL shows everything but the search box. The one from booking.com has more than 600 lines of code with HTML and Java.&lt;/p&gt;&lt;p&gt;Can anyone give me some pointers? Any help will be much appreciated!&lt;/p&gt;&lt;p&gt;Thank you,&lt;br /&gt;Ana&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Inserting search boxes from other sites | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23780&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23780&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 20 May 2013 03:27:22 +1200</pubDate>
			<dc:creator>Ana</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23780</guid>
		</item>
		
		<item>
			<title>Preserve tab state on save and publish</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23767</link>
			<description>&lt;p&gt;Hi,&lt;br /&gt;I am using Silverstripe 3.0. I have added custom tabs/sub tabs for pages...if you are on a sub tab and you publish the page, the control returns to the main tab....I need the tabs preserved...&lt;/p&gt;&lt;p&gt;I noticed that this has been fixed in SS 3.0.5&lt;/p&gt;&lt;p&gt;Can someone please point out all the related files that have been modified to fix this in SS 3.0.5&lt;/p&gt;&lt;p&gt;Thanks in advance&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Preserve tab state on save and publish | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23767&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23767&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sat, 18 May 2013 04:46:55 +1200</pubDate>
			<dc:creator>Neelam</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23767</guid>
		</item>
		
		<item>
			<title>Re: dropdown list in contect us form</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/7375#post322036</link>
			<description>&lt;p&gt;I got it!!!&lt;/p&gt;&lt;p&gt;Just had to make this change:&lt;/p&gt;&lt;p&gt;$locations = $locations-&amp;gt;toDropdownMap('ID', 'Title', '(Select one)', true); &lt;br /&gt;INTO&lt;br /&gt;$locations = $locations-&amp;gt;toDropdownMap('Title', 'Title', '(Select one)', true);&lt;/p&gt;&lt;p&gt;thank you!!!!&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: dropdown list in contect us form | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/7375#post322036&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/7375&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Wed, 15 May 2013 21:13:57 +1200</pubDate>
			<dc:creator>secuaz</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/7375#post322036</guid>
		</item>
		
		<item>
			<title>Re: dropdown list in contect us form</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/7375#post322033</link>
			<description>&lt;p&gt;Have you setup your $has_one = array('Location' =&amp;gt;'LocationPage');&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: dropdown list in contect us form | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/7375#post322033&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/7375&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Wed, 15 May 2013 20:04:58 +1200</pubDate>
			<dc:creator>Willr</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/7375#post322033</guid>
		</item>
		
		<item>
			<title>Re: Font Color in CMS</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23493#post322008</link>
			<description>&lt;p&gt;Hi all I have the same problem but need to add a dropdown to select the font family. I have not been successful finding that dropdown.&lt;br /&gt;HtmlEditorConfig::get('cms')-&amp;gt;insertButtonsAfter('formatselect', '????');&lt;/p&gt;&lt;p&gt;What would i have to add to this???&lt;/p&gt;&lt;p&gt;Thank  youu!!!&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Font Color in CMS | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23493#post322008&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23493&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 14 May 2013 01:13:19 +1200</pubDate>
			<dc:creator>secuaz</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23493#post322008</guid>
		</item>
		
		<item>
			<title>Re: TinyMCE</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/6292?start=8#post322007</link>
			<description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;Im trying to add a dropdown to choose the font family to the html edditor, yet I cannot find the name to add to the config_.php:&lt;/p&gt;&lt;p&gt;HtmlEditorConfig::get('cms')-&amp;gt;insertButtonsAfter('formatselect', 'the name would go here');&lt;/p&gt;&lt;p&gt;Thank you!!!&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: TinyMCE | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/6292?start=8#post322007&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/6292&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 14 May 2013 01:02:17 +1200</pubDate>
			<dc:creator>secuaz</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/6292?start=8#post322007</guid>
		</item>
		
		<item>
			<title>Re: dropdown list in contect us form</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/7375#post322002</link>
			<description>&lt;p&gt;Hi all! I got to make a dropdown in my contact form in SS 2.4&lt;br /&gt;Since I am emailing the info from the form, In the email template im getting the ID of the dropdown object instead of its value.&lt;/p&gt;&lt;p&gt;This is the code..&lt;/p&gt;&lt;p&gt;in function ContactForm&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;        $locations = DataObject::get('LocationPage');&lt;br /&gt;        if ($locations) {&lt;br /&gt;        $locations = $locations-&amp;gt;toDropdownMap('ID', 'Title', '(Select one)', true); &lt;br /&gt;        }&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;    $fields = new FieldSet(&lt;br /&gt;                        new DropdownField('LocationID', 'Location', $locations) ------&amp;gt; According to the tutorial I need to use Location ID, but then how do I get the Title to show in the template??? &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;/p&gt;&lt;p&gt;Then in the template I use $LocationID and it returns the ID of the location. If I use $Location or similar names nothing will show up or the email will not be sent.&lt;br /&gt;How can I display the selected location Title in the template?&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: dropdown list in contect us form | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/7375#post322002&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/7375&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 13 May 2013 21:10:28 +1200</pubDate>
			<dc:creator>secuaz</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/7375#post322002</guid>
		</item>
		
		<item>
			<title>Re: Customising gridField in CMS? (SS3) // SOLVED</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23720#post321993</link>
			<description>&lt;p&gt;OK, that worked once I figured out how to reference it (just Root.Main). Awesome. Thank you Simon. Much appreciated.&lt;/p&gt;&lt;p&gt;Just in case anyone is wondering:&lt;/p&gt;&lt;p&gt;I added the following code to the data object &lt;strong&gt;Partner.php&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;function getCMSFields() {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields = parent::getCMSFields();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$uploadField = new UploadField('Logo', 'Brand Logo:'); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$uploadField-&amp;gt;getValidator()-&amp;gt;allowedExtensions = array('jpg', 'gif', 'png');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$uploadField-&amp;gt;setFolderName('assets/BrandPartners');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields-&amp;gt;addFieldToTab('Root.Main', $uploadField);&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;return $fields;&lt;br /&gt;   }&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Customising gridField in CMS? (SS3) // SOLVED | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23720#post321993&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23720&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 13 May 2013 08:33:01 +1200</pubDate>
			<dc:creator>LinseyM</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23720#post321993</guid>
		</item>
		
		<item>
			<title>Re: Customising gridField in CMS? (SS3) // SOLVED</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23720#post321992</link>
			<description>&lt;p&gt;GridField, like ComplexTableField, uses the getCMSFields() method on the managed DataObject.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Customising gridField in CMS? (SS3) // SOLVED | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23720#post321992&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23720&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 13 May 2013 08:18:45 +1200</pubDate>
			<dc:creator>simon_w</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23720#post321992</guid>
		</item>
		
		<item>
			<title>Customising gridField in CMS? (SS3) // SOLVED</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23720</link>
			<description>&lt;p&gt;Hi there,&lt;/p&gt;&lt;p&gt;Since I've now realised that $gridField doesn't use &quot;getCMSFields_forPopup()&quot;*, how can I control my gridField to specify:&lt;/p&gt;&lt;p&gt;1) The upload folder for an image?&lt;br /&gt;2) The title/label of the field(s) that are displayed in the CMS? (so I can can display something like: &quot;Brand Logo (100x50px)&quot; for the logo image field, instead of just &quot;Logo&quot;)&lt;/p&gt;&lt;p&gt;Many thanks.&lt;/p&gt;&lt;p&gt;*despite stumbling on an online tutorial that said it did... (&lt;a href=&quot;http://www.inforbiro.com/blog-eng/silverstripe-gridfield-tutorial/&quot; rel=&quot;nofollow&quot;&gt;http://www.inforbiro.com/blog-eng/silverstripe-gridfield-tutorial/&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;ps here is my code:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Data Object (Partner.php)&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;class Partner extends DataObject {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// object's fields&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public static $db = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'BrandName' =&amp;gt; 'Varchar(255)',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'OrderBy' =&amp;gt; 'Varchar(5)'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// One-to-one relationships&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public static $has_one = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Logo' =&amp;gt; 'Image',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'GalleryPic' =&amp;gt; 'Image',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Partners' =&amp;gt; 'Partners'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Summary fields&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public static $summary_fields = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Logo.StripThumbnail' =&amp;gt; 'Image',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'BrandName' =&amp;gt; 'BrandName',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'OrderBy' =&amp;gt; 'OrderBy'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;static $default_sort = &quot;OrderBy&quot;;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;And the Holding Page (Partners.php)&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public static $has_many = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Partners' =&amp;gt; 'Partner'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;/p&gt;&lt;p&gt;   function getCMSFields() {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields = parent::getCMSFields();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields-&amp;gt;removeByName(&quot;RightColumn&quot;);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$gridFieldConfig1 = GridFieldConfig::create()-&amp;gt;addComponents(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new GridFieldToolbarHeader(),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new GridFieldAddNewButton('toolbar-header-right'),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new GridFieldSortableHeader(),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new GridFieldDataColumns(),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new GridFieldPaginator(10),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new GridFieldEditButton(),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new GridFieldDeleteAction(),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new GridFieldDetailForm()&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;$gridField = new GridField(&quot;Partners&quot;, &quot;Brand Partners:&quot;, $this-&amp;gt;Partners(), $gridFieldConfig1);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields-&amp;gt;addFieldToTab(&quot;Root.BrandPartners&quot;, $gridField);&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;return $fields;&lt;br /&gt;   }&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Customising gridField in CMS? (SS3) // SOLVED | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23720&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23720&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 13 May 2013 07:14:04 +1200</pubDate>
			<dc:creator>LinseyM</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23720</guid>
		</item>
		
		<item>
			<title>Re: SS3: Adding custom action to grid field item form</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/20618#post321976</link>
			<description>&lt;p&gt;I had a hard time finding this. Finally I could do this with this code &lt;a href=&quot;http://www.sspaste.com/paste/show/518e3dc335c85&quot; rel=&quot;nofollow&quot;&gt;http://www.sspaste.com/paste/show/518e3dc335c85&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Its still not working in has_many relations. Please update this post if someone can find a way to do this in relation.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: SS3: Adding custom action to grid field item form | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/20618#post321976&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/20618&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sun, 12 May 2013 00:50:34 +1200</pubDate>
			<dc:creator>vikas</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/20618#post321976</guid>
		</item>
		
		<item>
			<title>Re: how to add a banner</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23522#post321952</link>
			<description>&lt;p&gt;Hi Melbtrip,&lt;/p&gt;&lt;p&gt;I would start by looking at the Modules section of the Silverstripe.org site.&lt;br /&gt;They have a bunch of useful Modules to use which code do what you are asking.&lt;/p&gt;&lt;p&gt;I have taken a look for you and found a slideshow module you could use.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/Mouseketeers/Slideshow&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Mouseketeers/Slideshow&lt;/a&gt; &lt;/p&gt;&lt;p&gt;It may take a bit of tweaking to get it to the size you want, but shouldn't be all that difficult to piece together.&lt;/p&gt;&lt;p&gt;Let me know how you get on.&lt;/p&gt;&lt;p&gt;-helenclarko&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: how to add a banner | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23522#post321952&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23522&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 10 May 2013 13:53:14 +1200</pubDate>
			<dc:creator>helenclarko</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23522#post321952</guid>
		</item>
		
		<item>
			<title>Re: renameField has no effect</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/6784?start=8#post321950</link>
			<description>&lt;p&gt;for V3:&lt;/p&gt;&lt;p&gt;        $f = parent::getCMSFields();        &lt;br /&gt;        $f-&amp;gt;fieldByName('Root.Main')-&amp;gt;setTitle('New Name');&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: renameField has no effect | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/6784?start=8#post321950&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/6784&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 10 May 2013 12:09:14 +1200</pubDate>
			<dc:creator>botheredbybees</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/6784?start=8#post321950</guid>
		</item>
		
		<item>
			<title>Re: Adding Drag &amp; Drop functionality in Backend</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/14855?start=8#post321931</link>
			<description>&lt;p&gt;Hi, &lt;/p&gt;&lt;p&gt;I have set up a gallery page which uses uploadify and all is working fine or so I thought. I now want to add the ability to re-order the images in the gallery, ideally by dragging and dropping the files. The module page seems to suggest this is possible but I am not able to figure out how to get this up and running. &lt;/p&gt;&lt;p&gt;&lt;strong&gt;My Gallery Page looks something like this:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;class GalleryImagesPage extends Page {&lt;/p&gt;&lt;p&gt;   static $db = array(&lt;br /&gt;   );&lt;/p&gt;&lt;p&gt;   static $many_many = array(&lt;br /&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;'GalleryImage' =&amp;gt; 'Image',&lt;br /&gt;   );&lt;/p&gt;&lt;p&gt;   function getCMSFields() {&lt;/p&gt;&lt;p&gt;   &amp;nbsp;&amp;nbsp;&amp;nbsp;$fields = parent::getCMSFields();&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-&amp;gt;addFieldToTab('Root.Content.Gallery', new MultipleImageUploadField('GalleryImage', 'Image'));&lt;/p&gt;&lt;p&gt;        return $fields;&lt;br /&gt;        &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;        }&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;class GalleryImagesPage_Controller extends Page_Controller {     &lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;I am using silverstripe 2.4.7&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;It seems all the links to the documentation for this module are returning 404s, so any help would be greatly appreciated.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Adding Drag &amp;amp; Drop functionality in Backend | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/14855?start=8#post321931&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/14855&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Thu, 09 May 2013 10:49:22 +1200</pubDate>
			<dc:creator>marc79</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/14855?start=8#post321931</guid>
		</item>
		
		<item>
			<title>Re: SS_Report gives error after updating to 2.4.9</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23578#post321916</link>
			<description>&lt;p&gt;&quot;Solved&quot; it by a downgrade to 2.4.7.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: SS_Report gives error after updating to 2.4.9 | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23578#post321916&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23578&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Wed, 08 May 2013 23:46:39 +1200</pubDate>
			<dc:creator>quanto</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23578#post321916</guid>
		</item>
		
		<item>
			<title>GridField setFieldListCsv and setCustomCsvQuery</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23678</link>
			<description>&lt;p&gt;Hi Everybody,&lt;/p&gt;&lt;p&gt;I am working on a custom report and need to customize the CSV-Export as well. Unfortunatly it seems like 'setFieldListCsv' and 'setCustomCsvQuery' is not available on GridField. Is there any other way or workaround?&lt;/p&gt;&lt;p&gt;Thanks for your help in advance!&lt;/p&gt;&lt;p&gt;Cheers,&lt;br /&gt;Matze&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: GridField setFieldListCsv and setCustomCsvQuery | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23678&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23678&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Wed, 08 May 2013 20:37:52 +1200</pubDate>
			<dc:creator>Matze0681</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23678</guid>
		</item>
		
		<item>
			<title>Re: Uploaded File Management on a Page</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23556#post321881</link>
			<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have the same issue, were you able to find a solution?&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploaded File Management on a Page | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23556#post321881&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23556&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 07 May 2013 17:27:47 +1200</pubDate>
			<dc:creator>Cleon</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23556#post321881</guid>
		</item>
		
		<item>
			<title>Re: Testing Permission</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23633#post321868</link>
			<description>&lt;p&gt;A good way to pick up a few tricks is to checkout the tests already in core. For example checkout &lt;a href=&quot;https://github.com/silverstripe/sapphire/blob/3.0/tests/security/PermissionTest.php&quot; rel=&quot;nofollow&quot;&gt;https://github.com/silverstripe/sapphire/blob/3.0/tests/security/PermissionTest.php&lt;/a&gt; for a couple ideas on testing with members.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Testing Permission | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23633#post321868&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23633&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 06 May 2013 18:43:22 +1200</pubDate>
			<dc:creator>Willr</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23633#post321868</guid>
		</item>
		
		<item>
			<title>Re: many many relationship and ModelAdmin</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/4623#post321866</link>
			<description>&lt;p&gt;I wasn't having success creating a ManyManyComplexTableField using the &quot;belongs_many_many&quot; name and class. &lt;/p&gt;&lt;p&gt;There seems to be a bug in the ManyManyComplexTableField constructor where it says: &lt;br /&gt;if( isset( $belongsManyManyRelations ) &amp;amp;&amp;amp; array_key_exists( $this-&amp;gt;name, $belongsManyManyRelations ) ) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$this-&amp;gt;manyManyParentClass = $class;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$manyManyTable = $belongsManyManyRelations[$this-&amp;gt;name] . '_' . $this-&amp;gt;name;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;I changed this to the following: &lt;br /&gt;if( isset( $belongsManyManyRelations ) &amp;amp;&amp;amp; array_key_exists( $this-&amp;gt;name, $belongsManyManyRelations ) ) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$sourceSingleton = singleton($this-&amp;gt;sourceClass);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$remoteName = $sourceSingleton-&amp;gt;getReverseAssociation($class);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$this-&amp;gt;manyManyParentClass = $class;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$manyManyTable = $belongsManyManyRelations[$this-&amp;gt;name] . '_' . $remoteName;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;This seems to be working now for me (although not thoroughly tested at this stage). I believe I'm using version 2.4.7, although I cannot&lt;br /&gt;verify this because LeftAndMain is not displaying the version number, which would be another bug...&lt;/p&gt;&lt;p&gt;Cheers&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: many many relationship and ModelAdmin | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/4623#post321866&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/4623&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 06 May 2013 16:09:21 +1200</pubDate>
			<dc:creator>ToddH</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/4623#post321866</guid>
		</item>
		
		<item>
			<title>Re: Testing Permission</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23633#post321857</link>
			<description>&lt;p&gt;If done both: runn the tests from the console and via the web-backend. I think the call to Permission::check() should have three arguments, (code, arg, member, ...) but i don't know what to pass as second argument ($arg). And i also want to check the behaviour if no user is logged in, so how to check this? Can I pass null as member or should I create a new mermber and pass this to the check() function?&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Testing Permission | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23633#post321857&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23633&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 06 May 2013 07:27:32 +1200</pubDate>
			<dc:creator>juergr</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23633#post321857</guid>
		</item>
		
		<item>
			<title>Re: Access in actions</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23629#post321850</link>
			<description>&lt;p&gt;You can require permissions in the $url_handlers helper or in your actions method.&lt;/p&gt;&lt;p&gt;function youraction() {&lt;br /&gt;if (!Member::currentUser()) {&lt;br /&gt;return Security::permissionFailure();&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;// rest of youraction ..&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Access in actions | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23629#post321850&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23629&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sun, 05 May 2013 16:28:47 +1200</pubDate>
			<dc:creator>Willr</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23629#post321850</guid>
		</item>
		
		<item>
			<title>Re: Testing Permission</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23633#post321846</link>
			<description>&lt;p&gt;Are you running your tests as a logged in admin user? You could do Permission::check('ADMIN' ,$member); then pass a non admin member into the test's function call.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Testing Permission | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23633#post321846&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23633&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sun, 05 May 2013 16:19:15 +1200</pubDate>
			<dc:creator>Willr</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23633#post321846</guid>
		</item>
		
		<item>
			<title>Testing Permission</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23633</link>
			<description>&lt;p&gt;While writing some test for my site, i found something which confuses me&lt;/p&gt;&lt;p&gt;On my model &quot;AnnualProgramm&quot;, I have a Function called &quot;canFrontendEdit&quot;:&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;public function canFrontendEdit($member=null){&lt;br /&gt;  return Permission::check('ADMIN');&lt;br /&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;And I have a very simple test for this function:&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;public function testCanFrontendEdit() {&lt;br /&gt;  $obj = $this-&amp;gt;objFromFixture('AnnualProgramm', '2013');&lt;br /&gt;  $this-&amp;gt;assertFalse($obj-&amp;gt;canFrontendEdit());&lt;br /&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;This test always fail, but if i call the page on wich this function is called, i can clearly see that the call to Permission::check() returns false. Has this something to do with the testing framework? And how can i test this function?&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Testing Permission | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23633&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23633&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Sat, 04 May 2013 09:31:38 +1200</pubDate>
			<dc:creator>juergr</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23633</guid>
		</item>
		
		<item>
			<title>Re: Using $ Template Variables in CMS Content area ?</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23600#post321820</link>
			<description>&lt;p&gt;Exactly what I needed, thanks so much, that will be so useful. Cheers&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Using $ Template Variables in CMS Content area ? | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23600#post321820&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23600&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 23:29:13 +1200</pubDate>
			<dc:creator>pinkp</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23600#post321820</guid>
		</item>
		
		<item>
			<title>Re: Using $ Template Variables in CMS Content area ?</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23600#post321818</link>
			<description>&lt;p&gt;Then replace $value = &quot;My AWESOME Value&quot;; with $value = $this-&amp;gt;Field;&lt;/p&gt;&lt;p&gt;Where Field is the name of your database field.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Using $ Template Variables in CMS Content area ? | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23600#post321818&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23600&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 23:12:29 +1200</pubDate>
			<dc:creator>Willr</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23600#post321818</guid>
		</item>
		
		<item>
			<title>Re: Using $ Template Variables in CMS Content area ?</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23600#post321817</link>
			<description>&lt;p&gt;The problem was I just wasn't sure how to strip it  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/smile.gif'&gt; &lt;br /&gt;OK so I added that to the Page.php and now where ever I place $MyVariable it shows &quot;My AWSEOME Value&quot;&lt;/p&gt;&lt;p&gt;But what I want it to return is the content of a field in the CMS. So usually I show the content of a field in the template with $MyVariableContent, but I want the user to fill in the field. &quot;this is the users content&quot; then in the content area they place $MyVariable and this shows &quot;this is the users content&quot; not the $value content My AWSOME Value...&lt;/p&gt;&lt;p&gt;hope that makes sense, thanks for your patience.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Using $ Template Variables in CMS Content area ? | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23600#post321817&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23600&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 22:57:19 +1200</pubDate>
			<dc:creator>pinkp</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23600#post321817</guid>
		</item>
		
		<item>
			<title>Re: Using $ Template Variables in CMS Content area ?</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23600#post321815</link>
			<description>&lt;p&gt;Sorry, not sure I follow your problem with the code you posted? Say you want to do as UserForms does but replace $MyVariable simply remove the Form specific stuff and update the $MyVariable. &lt;/p&gt;&lt;p&gt;public function index() { &lt;br /&gt;      $value = &quot;My AWESOME Value&quot;;&lt;/p&gt;&lt;p&gt;      if($this-&amp;gt;Content) { &lt;br /&gt;         $hasLocation = stristr($this-&amp;gt;Content, '$MyVariable'); &lt;/p&gt;&lt;p&gt;         if($hasLocation) { &lt;br /&gt;            $content = str_ireplace('$MyVariable', $value, $this-&amp;gt;Content); &lt;br /&gt;            return array( &lt;br /&gt;               'Content' =&amp;gt; DBField::create_field('HTMLText', $content), &lt;br /&gt;            ); &lt;br /&gt;         } &lt;br /&gt;      }&lt;/p&gt;&lt;p&gt;      return array( &lt;br /&gt;         'Content' =&amp;gt; DBField::create_field('HTMLText', $this-&amp;gt;Content), &lt;br /&gt;      ); &lt;br /&gt;   }&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Using $ Template Variables in CMS Content area ? | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23600#post321815&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23600&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 22:44:02 +1200</pubDate>
			<dc:creator>Willr</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23600#post321815</guid>
		</item>
		
		<item>
			<title>Re: Using $ Template Variables in CMS Content area ?</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23600#post321814</link>
			<description>&lt;p&gt;Thanks Willr, just a couple more questions, could you please show me how to change it for my variable $MyVariable&lt;/p&gt;&lt;p&gt;This has nothing to default back to like in the example, and what do I replace Form with. Your advice would be much appreciated.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Using $ Template Variables in CMS Content area ? | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23600#post321814&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23600&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 22:37:12 +1200</pubDate>
			<dc:creator>pinkp</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23600#post321814</guid>
		</item>
		
		<item>
			<title>Re: [SOLVED] Managing has_one Relationship in Admin</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23621#post321813</link>
			<description>&lt;p&gt;Awesome! Thank you very much!&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: [SOLVED] Managing has_one Relationship in Admin | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23621#post321813&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23621&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 21:45:47 +1200</pubDate>
			<dc:creator>henrik_</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23621#post321813</guid>
		</item>
		
		<item>
			<title>Re: [SOLVED] Managing has_one Relationship in Admin</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23621#post321812</link>
			<description>&lt;p&gt;If you add a GridFieldAddNewButton component to the GridFieldConfig then you'll also be able to create new records. Alternatively, you could start with a config that already includes it. For example:&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&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;$gf = GridFieldConfig_RecordEditor::create();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$gf-&amp;gt;addComponent(new GridFieldHasOneRelationHandler($this, 'Header'), 'GridFieldPaginator');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$field = new GridField('Header', null, Header::get(), $gf);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields-&amp;gt;addFieldToTab('Root.Main', $field, 'Content');&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;/p&gt;&lt;/div&gt;&lt;br /&gt;will let you manage the has_one relation as well as viewing, editing, adding and deleting Headers.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: [SOLVED] Managing has_one Relationship in Admin | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23621#post321812&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23621&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 21:42:45 +1200</pubDate>
			<dc:creator>simon_w</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23621#post321812</guid>
		</item>
		
		<item>
			<title>Re: SS 3.0.5 Static Publisher Redirecting to Security/Login</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23527#post321810</link>
			<description>&lt;p&gt;Static caching doesn't work if you need to login to the page. Partial caching is the way to go.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: SS 3.0.5 Static Publisher Redirecting to Security/Login | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23527#post321810&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23527&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 21:33:38 +1200</pubDate>
			<dc:creator>Willr</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23527#post321810</guid>
		</item>
		
		<item>
			<title>Re: [SOLVED] Managing has_one Relationship in Admin</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23621#post321803</link>
			<description>&lt;p&gt;Thank you!&lt;br /&gt;But this just lets me choose existing header, doesn't it?&lt;br /&gt;More often the user will create a new header. Any idea how I can achieve this?&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: [SOLVED] Managing has_one Relationship in Admin | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23621#post321803&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23621&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 21:19:15 +1200</pubDate>
			<dc:creator>henrik_</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23621#post321803</guid>
		</item>
		
		<item>
			<title>Re: Using $ Template Variables in CMS Content area ?</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23600#post321798</link>
			<description>&lt;p&gt;You can do like userforms (exactly as you found - str_replace()) or use short codes &lt;a href=&quot;http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/&quot; rel=&quot;nofollow&quot;&gt;http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/&lt;/a&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Using $ Template Variables in CMS Content area ? | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23600#post321798&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23600&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 21:01:41 +1200</pubDate>
			<dc:creator>Willr</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23600#post321798</guid>
		</item>
		
		<item>
			<title>Re: [SOLVED] Managing has_one Relationship in Admin</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23621#post321794</link>
			<description>&lt;p&gt;Checkout &lt;a href=&quot;https://github.com/simonwelsh/silverstripe-GridFieldRelationHandler&quot; rel=&quot;nofollow&quot;&gt;https://github.com/simonwelsh/silverstripe-GridFieldRelationHandler&lt;/a&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: [SOLVED] Managing has_one Relationship in Admin | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23621#post321794&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23621&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 20:41:16 +1200</pubDate>
			<dc:creator>Willr</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23621#post321794</guid>
		</item>
		
		<item>
			<title>Access in actions</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23629</link>
			<description>&lt;p&gt;Is there any way that i can check which action was accessed? for example for Register action on a Sign Up Page, i can access this without having to login then if i just access the page without any action i am required to login.&lt;/p&gt;&lt;p&gt;Example:&lt;br /&gt;mysite.com/upgrade-me &amp;lt;-- has to be logged in&lt;br /&gt;mysite.com/upgrade-me/Register &amp;lt;-- no need to be logged in.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Access in actions | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23629&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23629&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 19:51:26 +1200</pubDate>
			<dc:creator>cachobong</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23629</guid>
		</item>
		
		<item>
			<title>[SOLVED] Managing has_one Relationship in Admin</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23621</link>
			<description>&lt;p&gt;Hey there,&lt;br /&gt;I'm new to Silverstripe.&lt;/p&gt;&lt;p&gt;I want to show a Custom-Header on every Page, so I created a DataObject called Header.&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;class Header extends DataObject{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;const BUTTONS = &quot;Enum('NONE, DONATE, BECOME_MEMBER', 'NONE')&quot;;&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;'Title' =&amp;gt; 'Varchar(255)',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'GeneralDescription' =&amp;gt; 'Text',&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'BigButton' =&amp;gt; self::BUTTONS,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'SmallButton' =&amp;gt; self::BUTTONS&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;'BackgroundImage' =&amp;gt; 'Image',&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;'Pages' =&amp;gt; 'Page'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Every Page now should have a connection to a header. It should be possible to choose either a existing Header-Entry or create &lt;strong&gt;a new one &lt;/strong&gt; (simple drowdown isn't enough). This is how Page.php looks like:&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;class Page extends SiteTree {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public static $db = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public static $has_one = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Header' =&amp;gt; 'Header'&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;//what to add here?&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;/div&gt;&lt;/p&gt;&lt;p&gt;Can I use a GridField here? This would be the functionality I want to have. The problem is, that GridFields only work for Lists and not for single Models?&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: [SOLVED] Managing has_one Relationship in Admin | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23621&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23621&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 03 May 2013 02:13:14 +1200</pubDate>
			<dc:creator>henrik_</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23621</guid>
		</item>
		
		<item>
			<title>Using $ Template Variables in CMS Content area ?</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23600</link>
			<description>&lt;p&gt;I want to use template variables in the CMS. The same way UserDefinedForms allows you to place $UserDefinedForm in the Content HTML editor field. &lt;/p&gt;&lt;p&gt;This may have been covered but I cant find the correct example.&lt;/p&gt;&lt;p&gt;I want to be able to add a new tab to my page such as &quot;My Custom Code&quot; and the information on this tab to then be placed at the users choice in their content using $MyCustomCode.&lt;br /&gt;I would also like to do this with any extra fields I create in the Site Config.&lt;/p&gt;&lt;p&gt;I found this code in the UserDefinedForms but not sure how to translate it to my situation, or if this is all you need etc.&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;/**&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Using $UserDefinedForm in the Content area of the page shows&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * where the form should be rendered into. If it does not exist&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * then default back to $Form.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @return array&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public function index() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if($this-&amp;gt;Content &amp;amp;&amp;amp; $form = $this-&amp;gt;Form()) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$hasLocation = stristr($this-&amp;gt;Content, '$UserDefinedForm');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if($hasLocation) {&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;$content = str_ireplace('$UserDefinedForm', $form-&amp;gt;forTemplate(), $this-&amp;gt;Content);&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 array(&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;'Content' =&amp;gt; DBField::create_field('HTMLText', $content),&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;'Form' =&amp;gt; &quot;&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;);&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;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Content' =&amp;gt; DBField::create_field('HTMLText', $this-&amp;gt;Content),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Form' =&amp;gt; $this-&amp;gt;Form()&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;/p&gt;&lt;p&gt;thanks&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Using $ Template Variables in CMS Content area ? | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23600&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23600&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Thu, 02 May 2013 00:39:01 +1200</pubDate>
			<dc:creator>pinkp</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23600</guid>
		</item>
		
		<item>
			<title>Re: [SOLVED] Customize the TinyMCE&#39;s MediaForm upload folder</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23497#post321715</link>
			<description>&lt;p&gt;You were right once again kinglozzer, many thanks!&lt;br /&gt;The code below works, I might turn this into a module  with the foldername made more customizable.&lt;/p&gt;&lt;p&gt;mysite/_config.php:&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;Object::add_extension('HtmlEditorField_Toolbar', 'HtmlEditorFieldExtension');&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;mysite/code/framework/HtmlEditorFieldExtension.php:&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;&amp;lt;?php&lt;/p&gt;&lt;p&gt;class HtmlEditorFieldExtension extends DataExtension {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public function updateMediaForm(Form $form) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$page_id = $_SESSION['CMSMain']['currentPage'];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$page_urlsegment = SiteTree::get()-&amp;gt;byID($page_id)-&amp;gt;URLSegment;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$computerUploadField = $form-&amp;gt;Fields()-&amp;gt;dataFieldByName('AssetUploadField');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$computerUploadField-&amp;gt;setFolderName(sprintf(&quot;%s/pages/%s-%s&quot;, Upload::$uploads_folder, $page_id, $page_urlsegment));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: [SOLVED] Customize the TinyMCE&amp;#39;s MediaForm upload folder | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23497#post321715&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23497&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Wed, 01 May 2013 20:36:41 +1200</pubDate>
			<dc:creator>svandragt</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23497#post321715</guid>
		</item>
		
		<item>
			<title>Re: [SOLVED] Customize the TinyMCE&#39;s MediaForm upload folder</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23497#post321706</link>
			<description>&lt;p&gt;Hi svandragt,&lt;/p&gt;&lt;p&gt;I think you might be adding your extension to the wrong class; I added mine to HtmlEditorField_Toolbar:&lt;/p&gt;&lt;p&gt;Object::add_extension('HtmlEditorField_Toolbar', 'HtmlEditorFieldExtension');&lt;/p&gt;&lt;p&gt;The _Toolbar class, and others, are in the same HtmlEditorField.php file.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: [SOLVED] Customize the TinyMCE&amp;#39;s MediaForm upload folder | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23497#post321706&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23497&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Wed, 01 May 2013 04:18:40 +1200</pubDate>
			<dc:creator>kinglozzer</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23497#post321706</guid>
		</item>
		
		<item>
			<title>Re: [SOLVED] Customize the TinyMCE&#39;s MediaForm upload folder</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23497#post321705</link>
			<description>&lt;p&gt;Thanks kinglozzer. I've tried this but the problems seems to be that the updateMediaForm isn't called.&lt;br /&gt;I've put in a log_writer but i'm never getting the user error:&lt;/p&gt;&lt;p&gt;I've added to  mysite/_config.php:&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;SS_Log::add_writer(new SS_LogEmailWriter('sander.vandragt@angus.ac.uk'), SS_Log::NOTICE, '&amp;lt;=');&lt;br /&gt;Object::add_extension('HtmlEditorField', 'HtmlEditorFieldExtension');&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;mysite/code/framework/HtmlEditorFieldExtension.php:&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;class HtmlEditorFieldExtension extends DataExtension {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public function updateMediaForm(Form $form) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;user_error(&quot;helo?&quot;, E_USER_ERROR);&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;$computerUploadField = $form-&amp;gt;Fields()-&amp;gt;fieldByName(&quot;MediaFormInsertMediaTabs.FromComputer.AssetUploadField&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$computerUploadField-&amp;gt;setFolderName(Upload::$uploads_folder . &quot;/custom&quot; );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: [SOLVED] Customize the TinyMCE&amp;#39;s MediaForm upload folder | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23497#post321705&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23497&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Wed, 01 May 2013 03:52:14 +1200</pubDate>
			<dc:creator>svandragt</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23497#post321705</guid>
		</item>
		
		<item>
			<title>Re: Pages order in menu/cms</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/5267?start=8#post321676</link>
			<description>&lt;p&gt;&lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/11086&quot; rel=&quot;nofollow&quot;&gt;This thread&lt;/a&gt; put me on the right track (I'm using SS 3). Open your site's _config.php file and add the following line:&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;SiteTree::$default_sort = 'Title';&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Replace &lt;strong&gt;Title&lt;/strong&gt; with whatever column you want to sort the tree on.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Pages order in menu/cms | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/5267?start=8#post321676&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/5267&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 30 Apr 2013 03:50:50 +1200</pubDate>
			<dc:creator>Fountain</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/5267?start=8#post321676</guid>
		</item>
		
		<item>
			<title>Re: jQuery image slider</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/19787?start=8#post321662</link>
			<description>&lt;p&gt;The jQuery image slider code can be found from the replies and also easily from the internet ,, another option can be the plugins that can be obtain from the net for the desired properties.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: jQuery image slider | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/19787?start=8#post321662&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/19787&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 29 Apr 2013 21:28:59 +1200</pubDate>
			<dc:creator>Adira</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/19787?start=8#post321662</guid>
		</item>
		
		<item>
			<title>SS_Report gives error after updating to 2.4.9</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23578</link>
			<description>&lt;p&gt;I have a custom SS_report form. It worked ok in SS 2.4.5, but after the upgrade it hangs after navigate or export to csv and gives the following error: &lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;ERROR [User Error]: Uncaught Exception: ModelAsController-&amp;gt;getNestedController(): was not passed a URLSegment value. IN POST /admin/reports//EditForm/field/ReportContent?SecurityID=cce54850b5b4c306e7297843bb193e639c4f1786&amp;amp;ctf[ReportContent][start]=50 Line 87 in /home/***/domains/mydomain.nl/public_html/sapphire/core/control/ModelAsController.php Source ====== 78: } 79: 80: /** 81: * @return ContentController 82: */ 83: public function getNestedController() { 84: $request = $this-&amp;gt;request; 85: 86: if(!$URLSegment = $request-&amp;gt;param('URLSegment')) { * 87: throw new Exception('ModelAsController-&amp;gt;getNestedController(): was not passed a URLSegment value.'); 88: } 89: 90: // Find page by link, regardless of current locale settings 91: Translatable::disable_locale_filter(); 92: $sitetree = DataObject::get_one( 93: 'SiteTree', Trace =====&lt;/p&gt;&lt;p&gt;    ModelAsController-&amp;gt;getNestedController() line 64 of ModelAsController.php ModelAsController-&amp;gt;handleRequest(SS_HTTPRequest) line 282 of Director.php Director::handleRequest(SS_HTTPRequest,Session) line 125 of Director.php Director::direct(/admin/reports//EditForm/field/ReportContent) line 127 of main.php&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;It has something to do with te extra slash after reports (/admin/reports//EditForm/field/ReportContent), cause when I remove it, it will do the export to csv. &lt;/p&gt;&lt;p&gt;My ss_report code:&lt;/p&gt;&lt;p&gt;TipReport.php&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;class CustomSideReport_Tipcompetitie extends SS_Report {&lt;br /&gt;  function title() { &lt;br /&gt;    return &quot;Tipcompetitie&quot;;&lt;br /&gt;  } &lt;br /&gt;  function records() {&lt;br /&gt;    return DataObject::get(&quot;TipcompetitieZend&quot;, &quot;&quot;, &quot;Kortebaan&quot;);&lt;br /&gt;  }&lt;br /&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;in _config.php:&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;SS_Report::register(&quot;ReportAdmin&quot;, &quot;TipcompetitieReport&quot;, 20);&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Upgrading to 3.x is currently not an option. Anybody a solution?&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: SS_Report gives error after updating to 2.4.9 | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23578&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23578&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 29 Apr 2013 20:45:11 +1200</pubDate>
			<dc:creator>quanto</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23578</guid>
		</item>
		
		<item>
			<title>Re: Uploaded File Management on a Page</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23556#post321649</link>
			<description>&lt;p&gt;Hello, &lt;/p&gt;&lt;p&gt;Where are the images being uploaded to? Have you checked your asset folder under the &quot;Files&quot; menu item on the left hand side?&lt;/p&gt;&lt;p&gt;It could be that Silverstripe sees that directory and you can control that directory from the File manager and you can delete, change, and add more files in/from there?&lt;/p&gt;&lt;p&gt;If that doesn't work then you may have to code those features into this custom page?&lt;/p&gt;&lt;p&gt;I'm still learning quite a lot, but what I've said above is just an idea to check out.&lt;/p&gt;&lt;p&gt;-b00mer&lt;/p&gt;&lt;p&gt;UPDATE/EDIT:&lt;br /&gt;It just clicked to me that the file manager would only pick it up if your images folder you created to keep those images, might only show up if they are inside the assets folder? If not then you definitely might have to code those features in (delete, edit etc), something I'd be interested in in the future as well.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploaded File Management on a Page | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23556#post321649&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23556&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Mon, 29 Apr 2013 11:05:57 +1200</pubDate>
			<dc:creator>B00mtastik™</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23556#post321649</guid>
		</item>
		
		<item>
			<title>Re: Attach an image to a new Page/Dataobject</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/20999?start=16#post321604</link>
			<description>&lt;p&gt;I've added some suggestions on the related ticket (&lt;a href=&quot;https://github.com/silverstripe/sapphire/issues/1606&quot; rel=&quot;nofollow&quot;&gt;https://github.com/silverstripe/sapphire/issues/1606&lt;/a&gt;), anybody keen to pick up the existing work and finish it? I agree that it would be a major productivity boost for CMS users.&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Attach an image to a new Page/Dataobject | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/20999?start=16#post321604&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/20999&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 26 Apr 2013 21:31:30 +1200</pubDate>
			<dc:creator>Ingo</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/20999?start=16#post321604</guid>
		</item>
		
		<item>
			<title>Uploaded File Management on a Page</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23556</link>
			<description>&lt;p&gt;Hello!&lt;/p&gt;&lt;p&gt;I've got the front page of a site showing a slideshow, which uses images selected by the user through the CMS.&lt;/p&gt;&lt;p&gt;The code added to the back end is as follows:&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;class HomePage extends Page {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;static $many_many = array (&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'FrontImages' =&amp;gt; 'Image'&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 $allowed_children = '';&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public function getCMSFields() {&lt;br /&gt;        $fields = parent::getCMSFields();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$f = new UploadField('FrontImages', 'Front Images (Maximum of 10 images. Allowed files: .jpg, .jpeg, .png or .gif)', $this-&amp;gt;FrontImages()); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$f&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;gt;setConfig('allowedMaxFileNumber', 10)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;gt;setFolderName('images/frontpage/')&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;gt;getValidator()-&amp;gt;setAllowedExtensions(array('jpg', 'jpeg', 'png', 'gif'));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$fields-&amp;gt;addFieldToTab('Root.Images', $f);&lt;/p&gt;&lt;p&gt;        return $fields;&lt;br /&gt;    }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;This loads the boxes fine. However (as shown in the screenshot), there's no remove or delete buttons for the already uploaded images. Any help would be appreciated  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/smile.gif'&gt; &lt;/p&gt;&lt;p&gt;Thanks in advance!&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Uploaded File Management on a Page | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23556&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23556&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Fri, 26 Apr 2013 01:44:45 +1200</pubDate>
			<dc:creator>Parker1090</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23556</guid>
		</item>
		
		<item>
			<title>Function called twice int the controller</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23533</link>
			<description>&lt;p&gt;My function which i have included in the class Page_Controller extends ContentController {&lt;br /&gt;function myfunction{&lt;br /&gt;// contents&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;is called twice if i try to call it from the template.&lt;/p&gt;&lt;p&gt;That is in Page.ss if i try to call the function $myfunction then the function return value increments with two..&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: Function called twice int the controller | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23533&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23533&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 23 Apr 2013 23:02:58 +1200</pubDate>
			<dc:creator>Sultan</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23533</guid>
		</item>
		
		<item>
			<title>2.4x ImageField Validators. How to display error messages?</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23532</link>
			<description>&lt;p&gt;I have this code inside function getCMSFields() for a page type to restrict image uploads to 1MB:&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;$image_validator = new Upload_Validator();&lt;br /&gt;$image_validator-&amp;gt;setAllowedMaxFileSize(1048576);&lt;br /&gt;$photo1 = new ImageField('Photo1');&lt;br /&gt;$photo1-&amp;gt;setValidator($image_validator);&lt;br /&gt;...&lt;br /&gt;$fields-&amp;gt;addFieldToTab( 'Root.Content.Images', $photo1 );&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Seems to work just fine. The thing is when it fails, the CMS displays no explanation to the user. There also doesn't appear to be any action in Firebug.&lt;/p&gt;&lt;p&gt;Anyone know how to display a message to the user along the lines of &quot;The file you tried to upload is too big&quot;?&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: 2.4x ImageField Validators. How to display error messages? | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23532&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23532&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 23 Apr 2013 22:29:49 +1200</pubDate>
			<dc:creator>Double-A-Ron</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23532</guid>
		</item>
		
		<item>
			<title>SS 3.0.5 Static Publisher Redirecting to Security/Login</title>
			<link>http://www.silverstripe.org/customising-the-cms/show/23527</link>
			<description>&lt;p&gt;Hello Stripers, &lt;/p&gt;&lt;p&gt;After days of trying to find out why Static Publisher wasn't working for me, I came to a theory. Now, this is to confirm if my theory is correct because I'm not familiar with Publisher, and if it is confirmed, is there a way around it. &lt;/p&gt;&lt;p&gt;I've done everything according to the documentation. Adding the settings to config.php as well as the methods to Page.php. Now the .htaccess Rewrites took me a while to mess around with because to see the example files were no longer available due to the migration from Trac to Github. When going to Github, those were the docs being outlined and readied for SS 3.1. I assumed that it shouldn't change too much from what research I did to find most of the .htaccess Rewrites seemed unchanged from the forums. So tried those. Cache folder was created and the entire structure was created into cache in html format via the rebuild cache url in /dev/. Then only to find that each file in the structure had only a meta tag with refresh back to Security/Login and I could not for the life of me figure out why...&lt;/p&gt;&lt;p&gt;Until it dawned on me. This is a company Intranet I'm working on. And it needs to be NOT public, but accessible from anywhere in New Zealand. So the pages are accessible by logged in users only and even then some group permissions are applied.&lt;/p&gt;&lt;p&gt;Now am I correct in assuming this is why Static Publisher was only spitting out that meta refresh tag? I manually went in and changed the html file to say different things for different html pages, so the Rewrite rules were working just fine. Just not outputting the actual site content. I figured that static sites (because of their static nature) wouldn't be able to keep track of who's logged in and who is not. &lt;/p&gt;&lt;p&gt;If I am correct in this assumption, is there a way around it? Creating static content for logged in users? Or will each request hit the database dynamically to check for logged in users and group permissions?&lt;/p&gt;&lt;p&gt;Would Partial Caching be the way to go for this instead then?&lt;/p&gt;&lt;p&gt;Thank you in advanced for whatever help provided. &lt;/p&gt;&lt;p&gt;-b00mer&lt;/p&gt;

&lt;br /&gt;
&lt;p&gt;Posted to: SS 3.0.5 Static Publisher Redirecting to Security/Login | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/show/23527&quot; class=&quot;showLink&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/customising-the-cms/reply/23527&quot; class=&quot;replyLink&quot;&gt;Post Reply&lt;/a&gt;&lt;/p&gt;
</description>
			<pubDate>Tue, 23 Apr 2013 13:09:21 +1200</pubDate>
			<dc:creator>B00mtastik™</dc:creator>
			<guid>http://www.silverstripe.org/customising-the-cms/show/23527</guid>
		</item>
		

	</channel>
</rss>