https://www.silverstripe.org/community/forums/rss Member Profile: user relationship form null ID https://www.silverstripe.org/community/forums/all-other-modules/show/122393 <p>Fatal error: Call to a member function Services() on null</p><p><strong>it's correct?<br>Member::get()-&gt;byId($this-&gt;urlParams['ID'])-&gt;Services()-&gt;map('Title','Title') <br>thanks for the help!</strong></p><p></p><div class="codesnippet"><p>class MemberProfileViewer extends Page_Controller {</p><p> // ...</p><p>public function form() {</p><p> $fields = new FieldList(<br> CheckboxSetField::create(<br> $name = "ServiceID",<br> $title = "Select",<br> $source = Member::get()-&gt;byId($this-&gt;urlParams['ID'])-&gt;Services()-&gt;map('Title','Title')<br> ),<br> )</p><p> $actions = FieldList::create(<br> FormAction::create('form', 'Send')<br> -&gt;setUseButtonTag(true)<br> -&gt;addExtraClass('btn btn-primary')<br> );</p><p> $validator = new RequiredFields('ServiceID');</p><p> $form = new Form($this, 'form', $fields, $actions, $validator);<br> $form-&gt;setFormMethod('POST', true);<br> return $form;<br>}</p><p>public function doform($data, $form) {<br> $form-&gt;sessionMessage(<br> "Thank you, you will be contacted as soon as possible by our consultant.", 'good'<br> );</p><p> $submission = new RequestForm();<br> $form-&gt;saveInto($submission);<br> $submission-&gt;write();</p><p> return $this-&gt;redirectBack();</p><p>}</p></div> <br> <p data-swiftype-index="false">Posted to: Member Profile: user relationship form null ID | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/122393" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/122393" class="replyLink">Post Reply</a></p> Tue, 03 Oct 2017 05:23:22 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/122393 Static Publishing on Large Sites https://www.silverstripe.org/community/forums/all-other-modules/show/122078 <p>My company uses SilverStripe v3.1.21, along with the Subsite module to display and administer a number of clients' websites that sell products. This results in close to 200 subsites and a page count in the tens of thousands. The websites are very slow to load and tools such as Google's PageSpeed tell us page speeds are poor. We've already done step like combining and minimising the JS and compressing resources such as imaging, which gave some improvements, however the pages remain slow. The system was handed to us in this state and further hardware upgrades are not on the table as an option, nor are gaining additional resources for redevelopment. </p><p>We've taken a look at the static publish module (<a href="https://github.com/silverstripe/silverstripe-staticpublisher">https://github.com/silverstripe/silverstripe-staticpublisher</a>) and found that when we generating static pages the pages become fast and get a good score on the various tools, however the process to regenerate all of these pages takes over 14 hours, which is unacceptable given these products are updated from an external source daily. We also find that the regeneration process is a memory hog, as the module builds all of the pages in memory before dumping to file, causing the process to crash. We've had to alter the process to go subsite-by-subsite just to make it run. </p><p>We then took a look at the static publishing queue module (<a href="https://github.com/silverstripe/silverstripe-staticpublishqueue">https://github.com/silverstripe/silverstripe-staticpublishqueue</a>), which seemed to address our issues by having it queue pages as needed for regeneration, making it much more responsive to changes. However, the module seems to be very buggy and often crashes when generating pages. </p><p>Has anyone had experience using these modules (or similar) with larger sites and may be able to provide any pointers or ideas on how to implement static publishing successfully?</p> <br /> <p data-swiftype-index="false">Posted to: Static Publishing on Large Sites | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/122078" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/122078" class="replyLink">Post Reply</a></p> Wed, 20 Sep 2017 16:39:14 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/122078 Site Search should include my custom dataobjects fields https://www.silverstripe.org/community/forums/all-other-modules/show/122060 <p>I was wondering if the Site Search can be used to search on my custom developed DataObjects fields. For e.g. I have a Profile Module that has the Designation (Plain Text Field), Company Name/Employer (Plain Text Field), Biography (WYSIWYG). </p><p>I dont want to use Solr or Elastic Search or any other FulltextSearch Engine for now. </p><p>Kindly let me know how we can achieve this with the available functionality with in SS (ver 3.2 - 3.5) ?? </p><p>Thanks</p> <br /> <p data-swiftype-index="false">Posted to: Site Search should include my custom dataobjects fields | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/122060" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/122060" class="replyLink">Post Reply</a></p> Tue, 19 Sep 2017 12:57:58 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/122060 who lives in Delray Beach in Palm Beach County, said his wife https://www.silverstripe.org/community/forums/all-other-modules/show/121906 <p><a href="http://scout.com/nfl/patriots/Board/103160/Contents/Line-Seahawks-vs-Packers-live-online-Streaming-107248629">Seahawks vs Packers live online</a> <br /><a href="http://scout.com/nfl/patriots/Board/103160/Contents/Free-TvSeattle-Seahawks-vs-Green-Bay-Packers-2017-Live-107248635">Seattle Seahawks vs Green Bay Packers 2017 Live</a> <br /><a href="http://scout.com/nfl/patriots/Board/103160/Contents/2017Seahawks-vs-Packers-Live-Game-107248639">Seahawks vs Packers Live Game</a> <br /><a href="https://icma.org/sites/default/files/NonFlash.pdf">Carolina Panthers vs San Francisco 49ers live</a> <br /><a href="https://icma.org/sites/default/files/ZA.pdf">Carolina Panthers vs San Francisco 49ers live</a> <br /><a href="https://icma.org/sites/default/files/Nflgame.pdf">Panthers vs 49ers game live NFL Game Pas</a> <br /><a href="http://scout.com/nfl/patriots/Board/103160/Contents/Packers-vs-Seahawks-Live-107249144">Packers vs Seahawks Live</a> <br /><a href="http://scout.com/nfl/patriots/Board/103160/Contents/PutkiSeattle-Seahawks-vs-Green-Bay-Packers-2017-Live-Stream-TV-107249146">Seattle Seahawks vs Green Bay Packers 2017 Live</a> <br /><a href="http://scout.com/nfl/patriots/Board/103160/Contents/Online-Packers-vs-Seahawks-NFL-game-Live-Online-107249150">Packers vs Seahawks NFL game Live Online</a> <br /><a href="https://icma.org/sites/default/files/vivo%20tv.pdf">Seahawks vs Packers live</a> <br /><a href="https://icma.org/sites/default/files/soto%20maruf%20tv.pdf">Seahawks vs Packers live</a> <br /><a href="https://icma.org/sites/default/files/holl%202017%20tv.pdf">Seahawks vs Packers live</a> <br /><a href="https://icma.org/sites/default/files/game%20pass%202017.pdf">Seahawks vs Packers live</a> <br /><a href="https://icma.org/sites/default/files/49_Game_live.pdf">Panthers vs 49ers Live</a> <br /><a href="https://icma.org/sites/default/files/AppppleTV.pdf">Panthers vs 49ers Live</a> <br /><a href="https://icma.org/sites/default/files/Foltoooo.pdf">Panthers vs 49ers Live</a> <br /><a href="https://icma.org/sites/default/files/HighhhQuality.pdf">Panthers vs 49ers Live</a> <br /><a href="https://icma.org/sites/default/files/SanFrancisco.pdf">Panthers vs 49ers Live</a> <br /><a href="https://icma.org/sites/default/files/All-Cliar.pdf">Green Bay Packers vs Seattle Seahawks Live Stream</a> <br /><a href="https://icma.org/sites/default/files/Sansilk.pdf">Packers vs Seahawks Live Stream</a> <br /><a href="https://icma.org/sites/default/files/pantine.pdf">Packers vs Seahawks 2017 Live Stream</a> <br /><a href="https://icma.org/sites/default/files/bedarmiajo.pdf">Seattle Seahawks vs Green Bay Packers live</a> <br /><a href="https://icma.org/sites/default/files/flgam.pdf">Panthers vs 49ers game live</a> <br /><a href="https://icma.org/sites/default/files/hhhhhhh_0.pdf">Carolina Panthers vs San Francisco 49ers live streaming</a> <br /><a href="https://icma.org/sites/default/files/watch_1.pdf">Carolina Panthers vs San Francisco 49ers live streaming</a> <br /><a href="https://icma.org/sites/default/files/66666.pdf">Carolina Panthers vs San Francisco 49ers live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/live-ports-carolina-panthers-vs-san-francisco-49ers-live-stream-nfl-online-free-hd-watch-web-tv-september-online-10-2017.pdf">Carolina Panthers vs San Francisco 49ers live streaming</a> <br /><a href="http://scout.com/nfl/jets/Board/103176/Contents/online-Tv-Seahawks-vs-Packers-live-Stream-Football-107250127">Seahawks vs Packers live</a> <br /><a href="http://scout.com/nfl/jets/Board/103176/Contents/ESPN-TV-Seahawks-vs-Packers-live-Streaming-NFL-Football-Watch--107250137">Seahawks vs Packers live</a> <br /><a href="http://scout.com/nfl/jets/Board/103176/Contents/OnlineSeahawks-vs-Packers-live-online-107250150">Seahawks vs Packers live</a> <br /><a href="http://scout.com/nfl/jets/Board/103176/Contents/Live-FOX-Seahawks-vs-Packers-live-Stream-How-to-watch-NFL-107250176">Seahawks vs Packers live</a> <br /><a href="https://icma.org/sites/default/files/Vuuulo.pdf">Panthers vs 49ers Live</a> <br /><a href="https://icma.org/sites/default/files/honty.pdf">Panthers vs 49ers game live</a> <br /><a href="https://icma.org/sites/default/files/golla.pdf">Panthers vs 49ers game live</a> <br /><a href="https://icma.org/sites/default/files/foxonline_0.pdf">Panthers vs 49ers game live</a> <br /><a href="https://icma.org/sites/default/files/foxgame.pdf">Panthers vs 49ers game live</a> <br /><a href="https://icma.org/sites/default/files/foxcc.pdf">Panthers vs 49ers game live</a> <br /><a href="https://icma.org/sites/default/files/dada.pdf">Panthers vs 49ers game live</a> <br /><a href="https://icma.org/sites/default/files/cpycddao.pdf">Panthers vs 49ers game live</a> <br /><a href="https://icma.org/sites/default/files/talu.pdf">Carolina Panthers vs San Francisco 49ers live streaming</a> <br /><a href="https://icma.org/sites/default/files/balu.pdf">Carolina Panthers vs San Francisco 49ers live streaming</a> <br /><a href="https://icma.org/sites/default/files/halu.pdf">Carolina Panthers vs San Francisco 49ers live streaming</a> <br /><a href="https://icma.org/sites/default/files/black.pdf">Packers vs Seahawks Live Stream</a> <br /><a href="https://icma.org/sites/default/files/hugg%20tui.pdf">Seahawks vs Packers live</a> <br /><a href="https://icma.org/sites/default/files/ddc.pdf">Seahawks vs Packers live</a> <br /><a href="https://icma.org/sites/default/files/kuttha.pdf">Panthers vs 49ers game live</a> <br /><a href="https://icma.org/sites/default/files/ball%20%206.pdf">Seahawks vs Packers live</a> <br /><a href="https://icma.org/sites/default/files/holl_3.pdf">Seahawks vs Packers live</a> <br /><a href="https://icma.org/sites/default/files/pp.pdf">Seahawks vs Packers live</a> <br /><a href="https://icma.org/sites/default/files/tula.pdf">Carolina Panthers vs San Francisco 49ers live streaming</a> <br /><a href="https://icma.org/sites/default/files/malu.pdf">Carolina Panthers vs San Francisco 49ers live streaming</a> <br /><a href="https://icma.org/sites/default/files/lobon.pdf">Packers vs Seahawks Live Stream</a> <br /><a href="https://icma.org/sites/default/files/biscop.pdf">Green Bay Packers vs Seattle Seahawks Live</a> <br /><a href="https://icma.org/sites/default/files/silk.pdf">Packers vs Seahawks Live 2017</a> <br /><a href="https://icma.org/sites/default/files/gamenfl.pdf">Panthers vs 49ers game live</a> <br /><a href="https://icma.org/sites/default/files/gamepass_2.pdf">Panthers vs 49ers game live</a> <br /><a href="https://icma.org/sites/default/files/gametv.pdf">Panthers vs 49ers game live</a> <br /><a href="https://icma.org/sites/default/files/N.B.C.pdf">Seahawks vs Packers Live</a></p> <br /> <p data-swiftype-index="false">Posted to: who lives in Delray Beach in Palm Beach County, said his wife | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121906" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121906" class="replyLink">Post Reply</a></p> Mon, 11 Sep 2017 08:37:11 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121906 Re: User Login in Front-end to edit profile page https://www.silverstripe.org/community/forums/all-other-modules/show/19284#post423998 <p>Just bumping this thread. It's 2017, and we still don't have a good module for this.</p> <br /> <p data-swiftype-index="false">Posted to: User Login in Front-end to edit profile page | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/19284#post423998" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/19284" class="replyLink">Post Reply</a></p> Tue, 15 Aug 2017 11:42:40 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/19284#post423998 Hi Forum ! https://www.silverstripe.org/community/forums/all-other-modules/show/121298 <p>hi forum</p> <br /> <p data-swiftype-index="false">Posted to: Hi Forum ! | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121298" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121298" class="replyLink">Post Reply</a></p> Thu, 27 Jul 2017 15:28:07 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121298 Re: Comments Module not working https://www.silverstripe.org/community/forums/all-other-modules/show/121275#post423503 <p>Browsing through code, it looks like you should add $CommentsForm to your (custom) page template. </p><p>See silverstripe-comments/code/extensions/CommentsExtension.php::CommentsForm()</p> <br /> <p data-swiftype-index="false">Posted to: Comments Module not working | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121275#post423503" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121275" class="replyLink">Post Reply</a></p> Sun, 09 Jul 2017 08:15:12 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121275#post423503 Comments Module not working https://www.silverstripe.org/community/forums/all-other-modules/show/121275 <p>Hello </p><p>I've recently setup SilverStripe 3.6.1, created my own custom pages and then installed the comments module (I took the version that works on SS 3.6.1). It took a bit of reading to figure out how to integrate the comments module. Once completed, I could see the area in the CMS to moderate the comments, and in pages, I could see the tick the box that allows commenting. Cool. </p><p>So, for my custom pages, I ticked the box to "allow comments", saved these pages and then went to view them. Alas... no commenting module to be seen on the page. </p><p>Am I missing something? Do I need to add a $comments in the custom page type? I've tried searching for documentation and haven't found anything to help. It's been a real let down for a CMS that I'm passionate about. I've come from Drupal (ugh..) and while it's unfriendly in the back-end, the documentation is insanely good. </p><p>Any help will be very much appreciated! Thanks.</p> <br /> <p data-swiftype-index="false">Posted to: Comments Module not working | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121275" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121275" class="replyLink">Post Reply</a></p> Sat, 08 Jul 2017 15:37:17 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121275 Re: Export button GridField with filtering https://www.silverstripe.org/community/forums/all-other-modules/show/121229#post423462 <p>I am using SS 3.6.0. It has been identified as an issue specifically to silverstripe-userforms as a result of a bug in SS itself. I am using version 4.3.2 of userforms. A patch has been made see ticekt <a href="https://github.com/silverstripe/silverstripe-userforms/issues/620">https://github.com/silverstripe/silverstripe-userforms/issues/620</a>, but it links back to a issue with the framework as seen <a href="https://github.com/silverstripe/silverstripe-framework/issues/6886">https://github.com/silverstripe/silverstripe-framework/issues/6886</a>. Hopefully it will get patched soon.</p> <br /> <p data-swiftype-index="false">Posted to: Export button GridField with filtering | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121229#post423462" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121229" class="replyLink">Post Reply</a></p> Thu, 22 Jun 2017 11:13:03 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121229#post423462 Re: Remove field from RedirectorPage https://www.silverstripe.org/community/forums/all-other-modules/show/121263#post423458 <p>Thank you very much :)</p> <br /> <p data-swiftype-index="false">Posted to: Remove field from RedirectorPage | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121263#post423458" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121263" class="replyLink">Post Reply</a></p> Thu, 22 Jun 2017 02:57:05 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121263#post423458 Re: Export button GridField with filtering https://www.silverstripe.org/community/forums/all-other-modules/show/121229#post423457 <p>Just to make sure, I've tried this on a GridField added to a Page, in SilverStripe 3.6. I filtered using the form that opens when you click the search icon top right. The export button gave me only the filtered rows. </p><p>So I guess it works in 3.6. Maybe you are using a version of SilverStripe where this doesn't work as expected?</p> <br /> <p data-swiftype-index="false">Posted to: Export button GridField with filtering | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121229#post423457" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121229" class="replyLink">Post Reply</a></p> Thu, 22 Jun 2017 02:11:46 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121229#post423457 Re: Remove field from RedirectorPage https://www.silverstripe.org/community/forums/all-other-modules/show/121263#post423456 <p>You could add the field conditionally, for instance only if the current classname is 'Page' or only if the classname isn't 'RedirectorPage' or... </p><p>Something like: </p><p><div class="codesnippet"><p>public function getCMSFields() <br />{ <br /> .... <br /> if ($this-&gt;ClassName != 'RedirectorPage) { <br /> $fields-&gt;addFieldToTab(....); <br /> }</p></div></p> <br /> <p data-swiftype-index="false">Posted to: Remove field from RedirectorPage | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121263#post423456" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121263" class="replyLink">Post Reply</a></p> Thu, 22 Jun 2017 01:49:34 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121263#post423456 Remove field from RedirectorPage https://www.silverstripe.org/community/forums/all-other-modules/show/121263 <p>Hi, </p><p>When im adding custom field to Page class, new filed also appears in RedirectorPage (eg. image gallery). Any ideas how to remove this filed ? :) </p><p>I tried to add new file to mysite/code called RedirectorPage.php, but it causes an error after dev build.</p> <br /> <p data-swiftype-index="false">Posted to: Remove field from RedirectorPage | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121263" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121263" class="replyLink">Post Reply</a></p> Wed, 21 Jun 2017 23:08:36 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121263 Export button GridField with filtering https://www.silverstripe.org/community/forums/all-other-modules/show/121229 <p>Hi, </p><p>In the CMS I have a gridfield and have included the GridFieldExportButton button. Then I filter the view-able data using the standard column filtering interface and go to export but it will export all data and not just the filtered results that are shown on screen. Is there a way when exporting to only export the filtered results? </p><p>Thanks, <br />Adrian</p> <br /> <p data-swiftype-index="false">Posted to: Export button GridField with filtering | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121229" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121229" class="replyLink">Post Reply</a></p> Wed, 14 Jun 2017 11:24:19 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121229 Re: Extending Uploadfield with BOTH selectupload and sortablefile ? https://www.silverstripe.org/community/forums/all-other-modules/show/121223#post423401 <p>I've tried editing SortableUploadField to extend SelectUploadField and vice-versa but in both cases the files aren't sortable - can't drag and drop the files </p><p>Anyone have any ideas about the best way to combine these / use both?</p> <br /> <p data-swiftype-index="false">Posted to: Extending Uploadfield with BOTH selectupload and sortablefile ? | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121223#post423401" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121223" class="replyLink">Post Reply</a></p> Thu, 08 Jun 2017 03:18:33 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121223#post423401 Extending Uploadfield with BOTH selectupload and sortablefile ? https://www.silverstripe.org/community/forums/all-other-modules/show/121223 <p>Does anyone know of a module that combines <strong>selectupload</strong> and <strong>sortablefile</strong> - or how I would use these together? <br />My client would like drag and drop sort order for their photo galleries but ideally would like to choose which folder they're uploading too each time. <br />It's a very large photo site so the Files area needs to be very organised (lots of folders and subfolders) - uploading to /Uploads or any single folder won't work</p> <br /> <p data-swiftype-index="false">Posted to: Extending Uploadfield with BOTH selectupload and sortablefile ? | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121223" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121223" class="replyLink">Post Reply</a></p> Thu, 08 Jun 2017 02:54:08 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121223 Best E-Commerce solution? https://www.silverstripe.org/community/forums/all-other-modules/show/121214 <p>Whats the best e-commerce solution for SilversStripe?</p> <br /> <p data-swiftype-index="false">Posted to: Best E-Commerce solution? | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/121214" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/121214" class="replyLink">Post Reply</a></p> Tue, 06 Jun 2017 07:20:49 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/121214 Re: Problem with displaying images on SilverStripe https://www.silverstripe.org/community/forums/all-other-modules/show/120732#post422974 <p>The issue seems to be solved. Could you please confirm? The message lacks any further relevant information but the link - so I'm a tiny bit unsure if this could actually be eh... spam? Hope I'm wrong. Anyway without response I'll probably remove it :)</p> <br /> <p data-swiftype-index="false">Posted to: Problem with displaying images on SilverStripe | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/120732#post422974" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/120732" class="replyLink">Post Reply</a></p> Mon, 15 May 2017 23:21:56 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/120732#post422974 Problem with displaying images on SilverStripe https://www.silverstripe.org/community/forums/all-other-modules/show/120732 <p>Good day! Dear developers, I have a problem. Pictures downloaded through the admin panel are not displayed on the site. Here is an example of <a href="http://yolf1.com/home-service/remont-kvartir/">http://yolf1.com/home-service/remont-kvartir/</a>. Tell me how to solve this? </p><p>Problem with displaying images on SilverStripe</p> <br /> <p data-swiftype-index="false">Posted to: Problem with displaying images on SilverStripe | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/120732" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/120732" class="replyLink">Post Reply</a></p> Thu, 27 Apr 2017 05:36:37 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/120732 Re: Translatable 3.1 duplicate related dataobjects (onTranslatableCreate) https://www.silverstripe.org/community/forums/all-other-modules/show/39721#post422856 <p>Thanks guys. This was quite a help.</p> <br /> <p data-swiftype-index="false">Posted to: Translatable 3.1 duplicate related dataobjects (onTranslatableCreate) | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/39721#post422856" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/39721" class="replyLink">Post Reply</a></p> Tue, 25 Apr 2017 20:35:36 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/39721#post422856 Re: How to setup comment-notifications ? https://www.silverstripe.org/community/forums/all-other-modules/show/120714#post422843 <p>Bump. Anyone know how to activate the Comment Notifications ?</p> <br /> <p data-swiftype-index="false">Posted to: How to setup comment-notifications ? | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/120714#post422843" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/120714" class="replyLink">Post Reply</a></p> Sat, 22 Apr 2017 01:23:03 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/120714#post422843 Translatable multi language and multi domain page https://www.silverstripe.org/community/forums/all-other-modules/show/120716 <p>Hello, </p><p>my website uses two domains - local and .com. I'd like to set a local domain to go to local language homepage and .com straight to english. </p><p>By now I set up translatable module but the domain thing is not clear for me at the moment. </p><p>Is that possible in SilverStripe? </p><p>Thanks in advance</p> <br /> <p data-swiftype-index="false">Posted to: Translatable multi language and multi domain page | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/120716" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/120716" class="replyLink">Post Reply</a></p> Tue, 18 Apr 2017 07:06:32 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/120716 How to setup comment-notifications ? https://www.silverstripe.org/community/forums/all-other-modules/show/120714 <p>I've installed the comment-notifications module but I can't find any documentation or instructions on how to activate it / set it up or turn it on. <br />Like the Comments module do I need to add something to my config.yml file? And any other steps that need to be taken? Will it use the admin email I have set in my app.yml file? </p><p>Any tips appreciated, thanks</p> <br /> <p data-swiftype-index="false">Posted to: How to setup comment-notifications ? | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/120714" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/120714" class="replyLink">Post Reply</a></p> Thu, 13 Apr 2017 22:50:45 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/120714 Re: Facing issue with cdnrewrite module by wernerkrauss https://www.silverstripe.org/community/forums/all-other-modules/show/120694#post422825 <p>Thanks @swaiba for your prompt reply. <br />I also tried to install using composer but it still not work. <br />Is there any other module that I can try? <br />I am using CDN77 (all resources remain on my server)</p> <br /> <p data-swiftype-index="false">Posted to: Facing issue with cdnrewrite module by wernerkrauss | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/120694#post422825" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/120694" class="replyLink">Post Reply</a></p> Wed, 12 Apr 2017 21:09:44 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/120694#post422825 Translatable: While adding content I get redirected from es_ES to en_Us https://www.silverstripe.org/community/forums/all-other-modules/show/120712 <p><strong>The Information</strong> </p><p>I am developing a website using Silverstripe CMS (version 3.5.2) with Translatable module. I have an custom object called Category that $has_many SubCategory. The SubCategory also $has_many FormFile. An exemple of the structure is here below: </p><p><div class="codesnippet"><p>- Category: -Subcategory1: - FormFile1 <br /> - FormFile2 <br /> -Subcategory2: - FormFile1 </p><p> - Category2: -Subcategory1 - FormFile1</p></div> <br />etc... </p><p>I am also using the Translatable module for a second language. On that second language I will have different categories, subcategories and files. </p><p><strong>_config.php</strong> <br /><div class="codesnippet"><p>Object::add_extension('that_page', 'Translatable'); <br />Object::add_extension('Category', 'Translatable'); <br />Object::add_extension('SubCategory', 'Translatable'); <br />Object::add_extension('FormFile', 'Translatable');</p></div> </p><p><strong>The Problem</strong> </p><p>When I try to add a category for the second language, right after I click create, I get redirected to the default English version in the cms. </p><p>If still nobody can find an answer I can provide further code samples. </p><p>Thanks.</p> <br /> <p data-swiftype-index="false">Posted to: Translatable: While adding content I get redirected from es_ES to en_Us | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/120712" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/120712" class="replyLink">Post Reply</a></p> Wed, 12 Apr 2017 01:17:23 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/120712 Re: Facing issue with cdnrewrite module by wernerkrauss https://www.silverstripe.org/community/forums/all-other-modules/show/120694#post422823 <p>&gt;I have manually installed <br />This might be your problem, modules nowadays are best installed via composer only</p> <br /> <p data-swiftype-index="false">Posted to: Facing issue with cdnrewrite module by wernerkrauss | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/120694#post422823" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/120694" class="replyLink">Post Reply</a></p> Tue, 11 Apr 2017 19:40:17 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/120694#post422823 Facing issue with cdnrewrite module by wernerkrauss https://www.silverstripe.org/community/forums/all-other-modules/show/120694 <p>I have manually installed cdnwrite module for Silverstripe 3.5 and also updated config.yml file as mention on <a href="https://github.com/wernerkrauss/silverstripe-cdnrewrite">https://github.com/wernerkrauss/silverstripe-cdnrewrite</a>. <br />I previously used same for Silverstripe 3.4 which is working fine. <br />Is there anything which I am not doing correctly? </p><p>Thanks and Regards.</p> <br /> <p data-swiftype-index="false">Posted to: Facing issue with cdnrewrite module by wernerkrauss | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/120694" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/120694" class="replyLink">Post Reply</a></p> Tue, 11 Apr 2017 18:21:07 +1200 https://www.silverstripe.org/community/forums/all-other-modules/show/120694 Translatable: change locale of content https://www.silverstripe.org/community/forums/all-other-modules/show/119913 <p>Hey guys! </p><p>I have a conceptional question. I currently have a website with de_DE and en_US as the locales. de_DE is default language and many pages are translated into en_US. While en_US is taking the role of the "global" English version. Guess that was a bit stupid. </p><p>Now I must implement the "real" US English website, but I already used the locale for "global". </p><p>I want to have a clean setup, so my questions are as follows: </p><p>1. can I change the existing English content locale to something else? <br />2. what locale would actually suit the requirement of a "global" English version? </p><p>Thanks! <br />Arslan</p> <br /> <p data-swiftype-index="false">Posted to: Translatable: change locale of content | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119913" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119913" class="replyLink">Post Reply</a></p> Thu, 23 Mar 2017 12:54:11 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119913 Problem with userforms sending to outlook https://www.silverstripe.org/community/forums/all-other-modules/show/119911 <p>We are seeing the insertion of = , after every 75th character in our form submissions. Sending to gmail it is fine, but when it goes to outlook then outlook inserts these characters all over the place. It started happening after a recent php upgrade. Does anyone have a solution to this. We are running php 5.4.</p> <br /> <p data-swiftype-index="false">Posted to: Problem with userforms sending to outlook | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119911" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119911" class="replyLink">Post Reply</a></p> Thu, 23 Mar 2017 02:42:10 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119911 Re: UserForms validate error + Upload field missing https://www.silverstripe.org/community/forums/all-other-modules/show/111545#post422001 <p>Duplicate post, but will add my fix/answer to this thread also in case of user searches for similar issues... </p><p>I'm guessing this issue for you quanto has either been resolved or you have moved on? </p><p>Nevertheless, for anyone landing on this question with the same issue, you will need to install the 'secureassets' module for the UploadField to become available within the CMS Form Builder. This is security precaution for all versions of Userforms from version 3.0.0 Final. </p><p>See below for reference: <br /><a href="https://www.silverstripe.org/download/security-releases/ss-2015-018/">https://www.silverstripe.org/download/security-releases/ss-2015-018/</a></p> <br /> <p data-swiftype-index="false">Posted to: UserForms validate error + Upload field missing | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/111545#post422001" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/111545" class="replyLink">Post Reply</a></p> Wed, 22 Mar 2017 05:19:13 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/111545#post422001 Working site now gives blank home page https://www.silverstripe.org/community/forums/all-other-modules/show/119900 <p>I have a working site that now suddenly only displays blank pages. I looked in the apache 2.4 error log and got this:</p><p>[Wed Mar 15 08:18:35.584773 2017] [:error] [pid 14481] [client 127.0.0.1:58648] PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Unable to parse line 26 (SpamProtectorManager::set_spam_protector("RecaptchaProtector");).' in /var/www/html/ss/framework/thirdparty/zend_translate_railsyaml/library/Translate/Adapter/thirdparty/sfYaml/lib/sfYamlParser.php:265\nStack trace:\n#0 /var/www/html/ss/framework/core/manifest/ConfigManifest.php(317): sfYamlParser-&gt;parse('\\n# YAML configu...')\n#1 [internal function]: SS_ConfigManifest-&gt;addYAMLConfigFile('config.yml', '/var/www/html/s...', 2)\n#2 /var/www/html/ss/framework/filesystem/FileFinder.php(158): call_user_func(Array, 'config.yml', '/var/www/html/s...', 2)\n#3 /var/www/html/ss/framework/core/manifest/ConfigManifest.php(215): SS_FileFinder-&gt;find('/var/www/html/s...')\n#4 /var/www/html/ss/framework/core/manifest/ConfigManifest.php(103): SS_ConfigManifest-&gt;regenerate(false)\n#5 /var/www/html/ss/framework/core/Core.php(120): SS_ConfigManifest-&gt;__construct('/var/www/html/s...', false, false)\n#6 /var/www/html/ss/framework/main.php(136): require_on in /var/www/html/ss/framework/thirdparty/zend_translate_railsyaml/library/Translate/Adapter/thirdparty/sfYaml/lib/sfYamlParser.php on line 265</p><p>The recaptcha module (spamprotection) has been working. I am not sure why all this when nothing has changed.</p><p>Environment :<br>Linux Mint 18.1<br>Apache 2.4<br>PHP 5.6<br>SilverStripe 3.5.3</p><p>Some timely help would be appreciated as the site is down currently.</p> <br> <p data-swiftype-index="false">Posted to: Working site now gives blank home page | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119900" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119900" class="replyLink">Post Reply</a></p> Thu, 16 Mar 2017 04:26:37 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119900 Re: Flexslide issues https://www.silverstripe.org/community/forums/all-other-modules/show/119781#post421863 <p>ok, I figured out second part - about carousel, but gifs are still static - - no idea what's wrong . . does anyone have an idea?</p> <br /> <p data-swiftype-index="false">Posted to: Flexslide issues | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119781#post421863" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119781" class="replyLink">Post Reply</a></p> Fri, 10 Mar 2017 21:39:10 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119781#post421863 Re: help with burnbright/silverstripe-importexport module https://www.silverstripe.org/community/forums/all-other-modules/show/102659#post421831 <p>Hi VanceK! <br />Did you find some examples on burnbright/silverstripe-importexport and would you please share them here on the forums? <br />Thanks. timo.</p> <br /> <p data-swiftype-index="false">Posted to: help with burnbright/silverstripe-importexport module | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/102659#post421831" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/102659" class="replyLink">Post Reply</a></p> Mon, 06 Mar 2017 21:39:53 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/102659#post421831 Flexslide issues https://www.silverstripe.org/community/forums/all-other-modules/show/119781 <p>Hello people - - I have 2 questions regarding flexslider module (lx-berlin/flexslider). <br />1. how do i set up the ss (i cannot find settings for this in cms) to display flexslider as carousel? I mean - I see these demo files in module, but is there a way to set up carousel in cms or do I need to do change php code on pages, where I want carousel do appear? <br />2. my flexslider won't "play" gifs. I've read about similar issues, try to put gif as first image,.... - -but nothing works?? </p><p>If anyone has any idea, would appreciate it a lot. <br />Regards, <br />Grega</p> <br /> <p data-swiftype-index="false">Posted to: Flexslide issues | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119781" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119781" class="replyLink">Post Reply</a></p> Mon, 06 Mar 2017 09:15:54 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119781 Re: How to create a link to a file in mysite/assets https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421822 <p>Well, if you use composer to update, that won't happen. And if you update manually, just leave the assets folder alone - it was really made for this! Mysite is mostly used for code, possibly some special templates and maybe some images, anything non-content. Assets wil hold all files and images for your site content... </p><p>SilverStripe file management works together with the assets directory in o so many ways. If you add a link to a file in tinymce 'the silverstripe way', it will in fact be a link to the file ID, meaning that if you were to rename the file, or move it to another folder, the link will still work. The UploadField lets you controll to what folder within the Assets directory you want to upload, how many files, lots of things. There's a secure files module that sets permissions on who can see certain files - and you can manage your files and images and folder structure from within the cms... So my suggestion would really be to work with SilverStripe not 'against it'... :-) </p><p><a href="https://docs.silverstripe.org/en/3.1/developer_guides/files/">https://docs.silverstripe.org/en/3.1/developer_guides/files/</a> <br /><a href="https://www.silverstripe.org/learn/lessons/working-with-files-and-images?ref=hub">https://www.silverstripe.org/learn/lessons/working-with-files-and-images?ref=hub</a></p> <br /> <p data-swiftype-index="false">Posted to: How to create a link to a file in mysite/assets | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421822" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119696" class="replyLink">Post Reply</a></p> Fri, 03 Mar 2017 09:55:35 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421822 Re: How to create a link to a file in mysite/assets https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421821 <p>Well my thought was that when major revisions come along and the cms is updated, the assets folder may be part of that. Mysite folder never gets updated as part of a version update.</p> <br /> <p data-swiftype-index="false">Posted to: How to create a link to a file in mysite/assets | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421821" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119696" class="replyLink">Post Reply</a></p> Fri, 03 Mar 2017 08:46:26 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421821 Re: How to create a link to a file in mysite/assets https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421820 <p>Yes, it should be possible. I placed this in a Content field, using the html button: &lt;a href="mysite/assets/something.pdf"&gt;link&lt;/a&gt; and for me that just works. So it must be something else, I guess... </p><p>But why you would want to use mysite for that instead of Assets, that is setup to work with the SilverStripe file management I can't really imagine :-)</p> <br /> <p data-swiftype-index="false">Posted to: How to create a link to a file in mysite/assets | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421820" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119696" class="replyLink">Post Reply</a></p> Fri, 03 Mar 2017 07:12:26 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421820 Re: How to create a link to a file in mysite/assets https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421818 <p>Well. thank you for your reply. I am aware of the syntax. I have tried it both ways. No luck. For some reason, references to files like PDFs in mysite/assets/PDFS are unrecognized. Yet in assets/Uploads they are displayed properly. </p><p>Can we not link to assets in mysite?</p> <br /> <p data-swiftype-index="false">Posted to: How to create a link to a file in mysite/assets | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421818" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119696" class="replyLink">Post Reply</a></p> Fri, 03 Mar 2017 04:13:00 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421818 Re: How to create a link to a file in mysite/assets https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421816 <p>I'm not sure what you are doing exactly, but '../mysite...' doesn't seem right to me. Your links should be based on the site root, so probably just 'mysite...'</p> <br /> <p data-swiftype-index="false">Posted to: How to create a link to a file in mysite/assets | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421816" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119696" class="replyLink">Post Reply</a></p> Thu, 02 Mar 2017 23:46:21 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119696#post421816 How to create a link to a file in mysite/assets https://www.silverstripe.org/community/forums/all-other-modules/show/119696 <p>I am trying to create a link to a file in mysite/assets/PDFS with an anchor tag. </p><p>I am using the news module to create the article and the link is in the article text. <br />I can create a link but the CMS cannot find the file even though it exists. </p><p>E.G. http://1.1.1.1/mysite/assets/PDFS/mypdf.pdf results in a 404 message. The link is &lt;a href="../mysite/assets/PDFS/mypdf.pdf" /&gt;link&lt;/a&gt; </p><p>I have noticed that I can create a link that uploads a file from my computer to the site and that works fine with a reference link to the uploaded file. </p><p>I have checked the permissions. Permissions are the same as assets/Uploads which works fine. The .htaccess file is the same as well. <br />What am I doing wrong?</p> <br /> <p data-swiftype-index="false">Posted to: How to create a link to a file in mysite/assets | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119696" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119696" class="replyLink">Post Reply</a></p> Sun, 26 Feb 2017 08:50:18 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119696 How to show autosuggested results with Lucene search module? https://www.silverstripe.org/community/forums/all-other-modules/show/119624 <p>Hi <br />I'm using this Lucene for Silverstripe search module: <a href="http://addons.silverstripe.org/add-ons/asecondwill/lucene">http://addons.silverstripe.org/add-ons/asecondwill/lucene</a> . My need, as mentioned in the topic title: i want my users see suggested search results as they are typing their query. <br />Could somebody direct me to the solution way? <br />Thanks and best regards from Berlin"</p> <br /> <p data-swiftype-index="false">Posted to: How to show autosuggested results with Lucene search module? | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119624" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119624" class="replyLink">Post Reply</a></p> Fri, 24 Feb 2017 22:52:45 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119624 Re: Content blocks https://www.silverstripe.org/community/forums/all-other-modules/show/119617#post421644 <p>Thank you very much for the above, Michael. <br />I have been working at getting this module set up until another issue arrived!</p> <br /> <p data-swiftype-index="false">Posted to: Content blocks | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119617#post421644" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119617" class="replyLink">Post Reply</a></p> Fri, 24 Feb 2017 18:40:39 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119617#post421644 Re: Content blocks https://www.silverstripe.org/community/forums/all-other-modules/show/119617#post421642 <p>Hi @Christy, </p><p>I normally use <a href="https://github.com/sheadawson/silverstripe-blocks">https://github.com/sheadawson/silverstripe-blocks</a> </p><p>You just extend block and add any fields you want </p><p><div class="codesnippet"><p>&lt;?php <br />class ImageTextBlock extends Block { <br /> private static $db = array( <br /> 'Title' =&gt; 'Varchar(255)', <br /> 'Content' =&gt; 'HTMLText' <br /> ); <br /> private static $has_one = array( <br /> 'Image' =&gt; 'Image' <br /> ); <br />}</p></div> </p><p>and template </p><p><div class="codesnippet"><p>&lt;div class="container"&gt; <br /> &lt;div class="row"&gt; <br /> &lt;div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"&gt; <br /> &lt;h3&gt;$Title&lt;/h3&gt; <br /> $Content <br /> &lt;/div&gt; <br /> &lt;div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"&gt; <br /> $Image <br /> &lt;/div&gt; <br /> &lt;/div&gt; <br />&lt;/div&gt;</p></div> </p><p>do a dev/build and you should have a new block called ImageTextBlock </p><p>Thanks <br />Michael</p> <br /> <p data-swiftype-index="false">Posted to: Content blocks | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119617#post421642" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119617" class="replyLink">Post Reply</a></p> Fri, 24 Feb 2017 10:04:40 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119617#post421642 Content blocks https://www.silverstripe.org/community/forums/all-other-modules/show/119617 <p>I'm developing a website using bootstrap and have installed the entidi/bootstrap theme. SS 3.5.2 </p><p>I have spent hours/days searching and trying content box modules and haven't found the explanation of what they do very clear. I would really appreciate any recommendations. Preferably for the ability to create reusable content eg box with heading, text and image; or 3 columns without editing mysite files. </p><p>Thanking you in advance.</p> <br /> <p data-swiftype-index="false">Posted to: Content blocks | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119617" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119617" class="replyLink">Post Reply</a></p> Thu, 23 Feb 2017 14:51:14 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119617 Re: Extending UserDefinedForm Module https://www.silverstripe.org/community/forums/all-other-modules/show/119143#post421146 <p>Hi </p><p>these hooks not for subclasses, they for extensions see <a href="http://api.silverstripe.org/master/class-SilverStripe.Core.Extension.html">http://api.silverstripe.org/master/class-SilverStripe.Core.Extension.html</a></p> <br /> <p data-swiftype-index="false">Posted to: Extending UserDefinedForm Module | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119143#post421146" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119143" class="replyLink">Post Reply</a></p> Sun, 05 Feb 2017 03:19:02 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119143#post421146 Getting `Fatal error: Class 'SmtpMailer' not found` for some users https://www.silverstripe.org/community/forums/all-other-modules/show/119146 <p>Hi, </p><p>I am having the most bizarre bug. </p><p>I am getting the following error: <br />Fatal error: Class 'SmtpMailer' not found in /application/_config.php on line 122 </p><p>The line involved is <br />Email::set_mailer(new SmtpMailer()); </p><p>The strange thing is, the website displays correctly for some users. They don't get the bug. </p><p>I added some `print "abc";` code in the _config.php to see if something was cached, but very bizarrely I can see the print result before the bug and also before the site correctly rendered. </p><p>I tried ?flush=1 and /dev/build, but nothing seem to fix this issue. </p><p>Any idea as to what it could possibly be? </p><p>Fred</p> <br /> <p data-swiftype-index="false">Posted to: Getting `Fatal error: Class &#039;SmtpMailer&#039; not found` for some users | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119146" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119146" class="replyLink">Post Reply</a></p> Sat, 28 Jan 2017 00:42:39 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119146 Extending UserDefinedForm Module https://www.silverstripe.org/community/forums/all-other-modules/show/119143 <p>Hi all, <br />I am now currently trying to extend the user form module (<a href="https://github.com/silverstripe/silverstripe-userforms">https://github.com/silverstripe/silverstripe-userforms</a>). I noticed there is several hooks like <div class="codesnippet"><p>$submittedForm-&gt;extend(onPopulationFormField,$field)</p></div>Now I have a class <br /> <div class="codesnippet"><p>class CustomForm extends UserDefinedForm { <br /> public function onPopulationFormField($field){ <br /> ... <br /> } <br />}</p></div> <br />But it doesn't enter that function. I am trying to populate a hiddenfield before the form is submitted to the server. Can someone provide me some examples or instruction on how to do this please? </p><p>Thank You. <br />Best regards.</p> <br /> <p data-swiftype-index="false">Posted to: Extending UserDefinedForm Module | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119143" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119143" class="replyLink">Post Reply</a></p> Tue, 24 Jan 2017 01:05:00 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119143 http://superiorabs.org/darkstorm-nutrition-dsn.html https://www.silverstripe.org/community/forums/all-other-modules/show/119141 <p>How does The item Performs? <br />Darkstorm Nutrition is definitely the formulation that could be much more essential for your those people who are healthful and in addition they contain the bulky physique and as well getting to find the best appearance. However idea is beneficial for a lot of nevertheless it is excellent with the take care to be able to those people who are somewhat bulky looked after desire to reduce your body fat and as well tends to make parts of your muscles muscle and present your stomach muscles muscle. The item slow up the other and unwanted weight within the physique plus it concurrently parts guidebook your muscle tissue resources to get hard looked after durable finally of this muscle groups which come to be seem being your good ole' along with the rotate through puffy with the appearance actually reaches be sizzling and as well elegant. That formulation doesn't just assist to pastime your external surfaces seem in the appearance, nevertheless the electricity involving gains your intrinsic operate in the appearance in addition to the idea enhance of this flow taking that approach is actually minimizes the prospect related to center of many problems similarly. </p><p><a href="http://superiorabs.org/darkstorm-nutrition-dsn.html">http://superiorabs.org/darkstorm-nutrition-dsn.html</a></p> <br /> <p data-swiftype-index="false">Posted to: http://superiorabs.org/darkstorm-nutrition-dsn.html | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119141" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119141" class="replyLink">Post Reply</a></p> Mon, 23 Jan 2017 19:23:11 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119141 Disqus Integration silverstripesk/silverstripe-disqus https://www.silverstripe.org/community/forums/all-other-modules/show/119140 <p>My $DisqusComments dispalays Disqus comments are temporary OFF in Stage mode. Logout or turn in Live mode! </p><p>What do i need to do to enable Disqus comments </p><p>I have added the shortname and secrete key </p><p>I do not understand what the prefix is as well as the disqus identifier</p> <br /> <p data-swiftype-index="false">Posted to: Disqus Integration silverstripesk/silverstripe-disqus | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119140" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119140" class="replyLink">Post Reply</a></p> Sun, 22 Jan 2017 21:26:01 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119140 Unable to translate inside templates https://www.silverstripe.org/community/forums/all-other-modules/show/119135 <p>I translated the pages from within the backend into multiple languages. No problem. But I cannot translate from within the templates. It always uses the en.yml file, even though es.yml exists and holds the correct data. The regular syntax "&lt;%t ... %&gt;" is used and $ContentLocale shows the right language (eg. es-ES). My SilverStripe version is 3.5.1 and translatable is at 2.2. </p><p>Is this a bug or am I missing something? Thanks. </p><p>Best, Mario</p> <br /> <p data-swiftype-index="false">Posted to: Unable to translate inside templates | <a href="https://www.silverstripe.org/community/forums/all-other-modules/show/119135" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/all-other-modules/reply/119135" class="replyLink">Post Reply</a></p> Thu, 19 Jan 2017 06:57:07 +1300 https://www.silverstripe.org/community/forums/all-other-modules/show/119135