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
0 answers

Update items within php objects

I want to update the Content string within the object. With the first foreach I get this: object(Page)#1716 (20) { ["_cache_statusFlags":protected]=> NULL ["creatableChildrenCache":protected]=> NULL ["destroyed"]=>…
user805528
  • 189
  • 1
  • 5
  • 17
0
votes
0 answers

Silverstripe 4.7 let member view, edit, delete only own data objects

In Silverstripe (4.7) how can i manage the member only to view, edit and delete its own created Dataobjects? I thought i could use canView() but no success. Ive tried with PermissionProvider and Security... class ProjectCatObject extends DataObject…
Sepp Hofer
  • 217
  • 2
  • 12
0
votes
0 answers

Disable CheckboxField if other CheckboxField is not checked

I want to have a CheckboxField to select if social icons should be shown in the website footer or not. My idea is to have a main CheckboxField to disable all of the icons and individual ones that are only enabled if the general one is checked.…
0
votes
1 answer

SilverStripe GridField default values

I want to have a GridField for creating a list of theme colors. I also want some colors to always be in that list (maybe not even being removable) e.g. black and white. How can I add default Objects to a GridField in SilverStripe?
0
votes
1 answer

Silverstripe 4 PaginatedList get Page-number - Link (Backlink)

In Silverstripe 4 I have a DataObject 'PublicationObject', a 'PublicationPage' and a 'PublicationPageController' PublicationObjects are displayed on PublicationPage through looping a PaginatedList. There is also a Pagination, showing the…
Sepp Hofer
  • 217
  • 2
  • 12
0
votes
0 answers

Cannot get SilverStripe site working on Amazon Linux 2 Server?

I am trying to get this website online, mainly for my own intellectual curiosity (CS student) but also for functional use. The site is built on SilverStripe 4 and developed on a LAMP stack environment. I have the final SilverStripe site working on…
0
votes
1 answer

How Can I filter by a function in silverstripe

I want to get a list of Files that are missing for a SilverStripe report. The filesize is not directly stored in the database, instead I have to call method getSize() If I try to iterate through the records and just choose the empty records, I only…
Will
  • 4,498
  • 2
  • 38
  • 65
0
votes
1 answer

Error Level Analysis with Imagick PHP - result without color

yesterday I posted about a problem with recreating an Error Level Analysis in PHP with Imagmagick. In this question I found a solution with the command-line interaction and tried to translate it into Imagick and PHP. The following code was…
AnBau
  • 3
  • 1
0
votes
1 answer

How to change order of items in SilverStripe GridField

I use a GridField in SilverStripe to create HTML section items that are rendered on a page. This works so far but it always displays the sections in the order that I added them to the CMS or rather by the ID it gets when it's created. So my question…
0
votes
1 answer

Access to MariaDB container denied when trying to send a request to running server

Testing a new installation of SilverStripe on Linux (Ubuntu 20.04). My DB Container is set up like this: ... services: db: image: mariadb:10 env_file: - .env environment: MYSQL_ROOT_PASSWORD: ${SS_DATABASE_PASSWORD} …
0
votes
2 answers

MYSQL based FulltextSearchable With Elemental blocks

Is it possible to use the mysql based fulltextsearchable functionality to search elemental blocks content? Elemental has integration features with Solr, but I'm working on a few sites that are too small to justify running a server instance for…
Will
  • 4,498
  • 2
  • 38
  • 65
0
votes
1 answer

SilverStripe unable to populate multiple member Childs

I have 3 type of users salesman => has many buyers buyer => has many agents agent has none child so I want to list all the buyers associate with that salesman when viewing salesman and all the agents when viewing buyer in admin class MemberExtension…
Pervaiz Iqbal
  • 316
  • 2
  • 8
0
votes
2 answers

Silverstripe: how can I debug a GraphQL Error?

In Silverstripe, GraphQL provides an error in the browser console, but there is no backtrace, making debugging tricky. Is there a way to get a backtrace?
0
votes
1 answer

Silverstripe Userforms Prototype and jQuery conflicts

I'm having a nightmare with javascript at the moment which hopefully someone can help out with. I'm using the Userforms module, which I've also added my own jQuery code to such that the default value of a textfield disappears when clicked, and…
Dave White
  • 321
  • 1
  • 3
  • 13
0
votes
1 answer

How do I configure Symfony Mailer with Silverstripe?

I am new to Silverstripe and currently doing the lessons. The version is 4.10 which has dropped support for Swiftmailer and are recommending Symfony Mailer. I have installed Symfony Mailer using Composer. There was a Symfony folder in the root…
Bululu
  • 555
  • 2
  • 8
  • 14