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
0
votes
1 answer

Silverstripe 4 show specific records in GridField

I created a module that will allow certain user groups to create a request in the CMS.Any logged in user can access the module. When user visit 'RequestModeule' in in CMS section in GRID CMS FIELDS I want to show him the requests he only sent not…
Ivan
  • 5,139
  • 11
  • 53
  • 86
0
votes
1 answer

Silverstripe 4 save variable in database

Is posible to save SS template variable in database from CMS and after execute it in template? Okay lets see example: In CMS i have settings where i put social media links and contact informatios. Also in CMS i have module where i create HTML…
Ivan
  • 5,139
  • 11
  • 53
  • 86
0
votes
1 answer

Silverstripe 4 use additional custom HTMLEditorField

In Silverstripe 4 how can we use different HTMLEditor configs ? I'd like to have two different HTMLEditorFields in the same environment. One with all functionality and all Buttons. And another one (MyCustomHTMLEditorField) with reduced functionality…
Sepp Hofer
  • 217
  • 2
  • 12
0
votes
1 answer

LAMP Error on AWS: Error writing server configuration file ".htaccess"

I'm setting up a silverstripe(4) project using LAMP with AWS and I am new to the programming world. I'm having trouble with after entering the php dev/build. This error comes up: error-log.ERROR: Uncaught Exception Exception: "Error writing server…
0
votes
1 answer

Silverstripe 4 Form on custom PageController submit

I have a Form in my custom PageController. The Form renders properly in template Register.ss. In my setup the submit - function on PageController doesn't work. I have tried it without setting the submit-route in routes.yml resulting in a 404. I have…
Sepp Hofer
  • 217
  • 2
  • 12
0
votes
1 answer

Silverstripe crashes when trying to save a date

I'm trying to create a very simple performance class that extends dataobject and has a date for one of the fields but for some reason if I fill it out when I press 'Add' it just hangs. I've checked in the Chrome inspector and it fires off the Ajax…
pogo
  • 2,287
  • 2
  • 25
  • 36
0
votes
1 answer

Silverstripe 4.9.0 can't access CMS administration / Silverstripe Framework requires a "database" key in DB::getConfig()

I am a newbie to Linux and everything in its regard, but currently I am trying to get Silverstripe 4.9.0. running on a Debian 10 server. I ran into 2 problems, each one is appearing in one of two projects I made. Project 1 - After I used composer…
kosr04
  • 1
  • 1
0
votes
1 answer

Embedding JWPlayer using SWFObject - with skin applied

I've run into a little snag and it's been driving me mad for the past 3 hours. I've tried everything I could think of... I'm trying to embed mutiple JWplayers into a page using SWFObject. It's being constructed from a function within the…
Adrian van Vliet
  • 1,411
  • 1
  • 12
  • 17
0
votes
1 answer

On Silverstripe, how can we auto publish child pages if rearrange?

I'm trying to auto publish child pages if they are rearrange. Right now when we arrange those child pages it says modified. We're trying to achieve an automation on how to auto publish it once we started drag and drop to their position.
0
votes
1 answer

How to get all the columns name of a DB table in SilverStripe

I am new to SilverStripe and I want to perform a simple query using SilverStripe functions (I don't want to use raw SQL). I want to get all the columns' names of the product table. So far, I didn't find anything useful in the SilverStripe…
Helena
  • 11
  • 1
0
votes
1 answer

Run silverstripe SS4 tasks as cron jobs in a subdomain of SS3

I have a CPanel account. I have a main site still in SS3 and an SS4 copy of the site. The SS4 is still being developed/tested. The SS4 site is a subdomain, as in https://ss4.mySS3domain.co.nz I am trying to run Silverstripe tasks as cron jobs. The…
0
votes
2 answers

silverstripe function to return menu level

I'm trying to write a function that returns what menu levels are visible on the page...at the moment I'm using <% if %> statements in the template, ie:
0
votes
0 answers

Multiple select fields not working in Silverstripe 4 admin search

I have a requirement to adding a checkbox set to the admin search, I have done this using updateSearchContext in a admin extension, But search not working, Anyone knows how to do it? Or I want to know silverstripe cant do this? Thank…
kosala manojeewa
  • 329
  • 3
  • 11
0
votes
1 answer

How can i return has many data in Summary Fields Silverstripe?

Am trying to fetch the Project Name from Project Details table data is getting and project id saving in Timeline table but i can't set Product name in summary fields if anyone have the solution please help me . Thanks in Advance.! is there any…
0
votes
1 answer

SilverStripe GraphQL many_many Query Fails In Production

If anyone could help me I’d be so grateful. When I have my SilverStripe app running locally I can query many_many relationships with GraphiQL. But after I deploy my app on Heroku and run the exact same query with Postman against my deployed API I do…
Dawid Dahl
  • 129
  • 1
  • 8