Questions tagged [silverstripe]

Silverstripe is a free and open source PHP web development framework and Content Management System (CMS) based on the eponymous Silverstripe Framework.

Silverstripe CMS is a free and open source PHP web development framework, primarily developed and maintained by the New Zealand based company of the same name (Silverstripe Ltd.).

Silverstripe CMS is notable for being the first open source web application to become Microsoft Certified and for winning a number of awards for CMS usability.

Silverstripe CMS is built on the Silverstripe Framework (previously called Sapphire), an object-oriented PHP framework designed to let users focus on their data and business logic. The framework enables developers to easily extend the CMS.

Development Resources

The following lists contain development resources for Silverstripe programmers.

Official

Resources sponsored or hosted by Silverstripe Ltd.:

The book "SilverStripe: The Complete Guide to CMS Development" is also available from Amazon.com.

Requirements

The follow requirements are listed on the server requirements documentation page:

PHP

  • PHP 5.3.3+ (incl. PHP 7)
  • The following modules: dom, gd2, fileinfo, hash, iconv, mbstring, mysqli (or other database driver), session, simplexml, tokenizer, xml
  • Relevant database module (mysql, pgsql, sqlsrv, etc)
  • 48 MB memory (minimum)
  • php-intl extension (Silverstripe 4 only)

Database

  • MySQL 5.0+ (built in support)
  • PostgreSQL 8.3+ (with a module)
  • SQLite 3+ (with a module)
  • SQL Server 2008 (with a module)

HTTP Server

  • Apache 2.0+ with mod_rewrite and "AllowOverride All" set (preferred)
  • IIS 7+ with URL Rewrite Module
  • Lighttpd and Nginx possible but require knowledge for how to configure them
2284 questions
3
votes
1 answer

Silverstripe File relation in ModelAdmin doesnt publish

Im using SilverStripe4 and the ModelAdmin to manage DataObjects. The DataObject has a has_one on File. Everything works so far but on frontend controller the File relation has an empty object. I see that the file is not in the File_Live table, so…
ivoba
  • 5,780
  • 5
  • 48
  • 55
3
votes
0 answers

SilverStripe 3.6.1 - set right-to-left text option for data object fields and admin text fields for Hebrew language

I have a multi-language website that has just recently added Hebrew. So far, I have managed to find a way to have the text display right-to-left in the front end with CSS, and a semi-working solution for the admin fields. However, there are 2 issues…
Dejsa Cocan
  • 1,539
  • 3
  • 19
  • 56
3
votes
3 answers

How to customize Silverstripe login page content?

I'm using SilverStripe 3.5.3 I want to customize content ($Content) of the Security/login page. How do I do it?
alex
  • 307
  • 1
  • 13
3
votes
1 answer

Set Silverstripe website as Live version outside of CMS

We have a number of clients who get confused when they use the Silverstripe CMS and then their live website displays the Draft version. We've setup "Better Navigator" that displays whether a site is in Draft or Live but the clients still get…
BaronGrivet
  • 4,364
  • 5
  • 37
  • 52
3
votes
1 answer

SilverStripe PaginatedPages show custom summary

I am have trouble using the PaginatedPages. In the docs, it's possible to customize the summary. There is my code : public function PaginatedPages($n = 10) { $list = Page::get()->sort(array('Date' => DESC)); $Pages = new PaginatedList($list,…
StefGuev
  • 639
  • 4
  • 16
3
votes
1 answer

Silverstripe URL patterns $url_handlers not working - namespaces seem to conflict

When I try to create the routes for a RESTful API with the following $url_handlers, it seems to create a conflict between two of the patterns. class API extends Controller { ... private static $url_handlers = array( 'GET object' =>…
jakxnz
  • 550
  • 5
  • 21
3
votes
1 answer

.htaccess mod_rewrite, remove first segment in some cases (when it is a country code)

I would like to add a bit of .htaccess wizardry to an existing .htaccess file (see https://github.com/silverstripe/silverstripe-installer/blob/master/.htaccess): SetEnv HTTP_MOD_REWRITE On RewriteEngine On …
3
votes
1 answer

Add read replicas for SilverStripe website

I've managed to get a stable load balanced front end servers that can scale horizontally quite well however the next bottle neck would be the db. There was a blog post discussing scaling dbs horizontally however very little detail on it. I'm…
Rudiger
  • 6,749
  • 13
  • 51
  • 102
3
votes
3 answers

How to generate a custom CSV export?

I have a page called EventPage that I am managing via a Model admin. Also using Catalog manager: https://github.com/littlegiant/silverstripe-catalogmanager Question is I need to be able to export all the expired events (And all of the fields). I…
ifusion
  • 2,163
  • 6
  • 24
  • 44
3
votes
1 answer

SilverStripe. Search by date-range in ModelAdmin

I have date-property in my DataObject. How can I search by date-range in ModelAdmin? For example: "search all items where date is more than 2007-13-01 and less than 2007-17-01" or "search all items where date is between 2007-13-01 and…
FlamyTwista
  • 447
  • 5
  • 17
3
votes
1 answer

Create a SilverStripe theme with Reactjs

I am thinking on using SilverStripe as a CMS for a website I'm coding. I want to use ReactJS for the theme of the frontend's UI. I can't find any information on this except from this, but that only states that they are integrating it and nothing…
juanecabellob
  • 458
  • 3
  • 14
3
votes
1 answer

Mod_PageSpeed issue with EC2 and SilverStripe

Not a large amount of information online in regards to this setup. So as far as I know Mod_PageSpeed is setup and working (kind of). I can access /pagespeed_admin and when I check the headers the PageSpeed version is displayed. The issue I get when…
helenclarko
  • 269
  • 1
  • 12
3
votes
1 answer

Silverstripe TinyMCE crashes behind load balancer.

I've been struggling to put SilverStripe behind a load balancer and I've been fixing multiple problems with rsyncing the instances and using shared storage and have almost got it stable, however I've found another issue which breaks the…
Rudiger
  • 6,749
  • 13
  • 51
  • 102
3
votes
2 answers

SilverStripe how to return JSON headers

My controller method Foo() (which is called through AJAX request) prints a JSON to the page using json_encode($data). I'm trying to accompany the correct http headers by using header('Content-Type: application/json'); But from my browser…
Semicolon
  • 1,904
  • 14
  • 26
3
votes
0 answers

TinyMCE 3.5 unwanted element repeat on [return] key

I've added an extra button to the TinyMCE editor that simply puts this into the body:
Hello world
Clicking on the end of Hello world and pressing return duplicates the whole div, inside the div.
Hello…
Semicolon
  • 1,904
  • 14
  • 26