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

How to access Locale field values through ::get() using Silverstripe Fluent

We are working on a project using Silverstripe with the Fluent module to enable multiple translations. Here's an example Data Object with Fluent enabled. First we create the Data Object & explicitly set the CMS fields: namespace Yard; use…
BaronGrivet
  • 4,043
  • 5
  • 32
  • 49
0
votes
1 answer

SivlerStripe field to render Javascript tags/ code

I am developing a SilverStripe project. In my project, I am trying to create a custom content block where admin can enter the Javascript code to be rendered on the front-end. I have two field private static $db = [ 'Script' => 'Text', …
Wai Yan Hein
  • 9,841
  • 21
  • 103
  • 244
0
votes
2 answers

Silverstripe 4 get draft files in query

I'm very new to Silverstripe. I want to make draft files visible to logged in users. When I execute a query like File::get()->Where($query) I only get published files. How do I get all files for the logged in user with the permissions to view the…
0
votes
1 answer

Silverstripe 4 - Is the url "/resources" reserved?

I have upgraded a site from 3.4 to 4.4, following the guide here including step 8 for migrating to a public webroot. I also have an existing URL and page type for displaying educational downloads called "/resources". After upgrade, this URL is…
Aaryn
  • 1,337
  • 2
  • 15
  • 24
0
votes
0 answers

How to put an Elemental field under a tab in admin CMS form

Starting out with the Elemental module for Silverstripe 4 and by default it lists the Elemental area(s) under the Main "Content" tab. I'd like to put them under their own tab. How do I do that in my Page class getCMSField function? What I have is: A…
polycode
  • 95
  • 6
0
votes
0 answers

Is there a way to mange multiple models in the same table for a ModelAdmin in Silverstripe 4?

Currently, I'm managing multiple models in the same model admin, but they're managed in different tabs of the model admin page. I was wondering if there's a way to combine all the models into the same table since the data is somewhat similar. This…
Zubair
  • 626
  • 1
  • 7
  • 14
0
votes
1 answer

Silverstripe 4, How to solve database table conflict that maps to same database table

So I made a mistake and accidentally defined two classes that lead to the same database table
Matiss
  • 4,227
  • 2
  • 24
  • 26
0
votes
1 answer

OnClick Scroll JavaScript in SilverStripe

I want to make a single page website in SilverStripe. I want a smooth scroll on click using JavaScript but I can't get this to work correctly. page.ss
0
votes
0 answers

Silverstripe 3: Using member variable in registration content

I want to display the email address a user has just signed up with in the content that is displayed on the page after registration. My site is set up so that a user must click the validation link in their confirmation email when creating their…
subs
  • 179
  • 1
  • 10
0
votes
1 answer

Unit tests producing different results when using PostgreSQL

Been working on a module that is working pretty well when using MySQL, but when I try and run the unit tests I get an error when testing under PostgreSQL (using Travis). The module itself is here:…
PsychoMo
  • 559
  • 2
  • 16
0
votes
1 answer

Adding a dropdown field to a userform which populates data from API

I am setting up a userform and I want to dropdown field which gets its values from an external API. The dropdown field get the values and when I add it to the userform, the form submission goes to 500: Error. I was wondering if there is a procedure…
0
votes
0 answers

Silverstripe 3: Duplicate emails being sent after form submission

When a form is submitted on my silverstripe 3 site, 4 copies of the same email are being sent. I have email addresses A, B, C and D in the recipients of the silverstripe user form, all of whom should receive an email when a form is submitted. This…
subs
  • 179
  • 1
  • 10
0
votes
1 answer

SilverStripe LeftModelAdmin List View is not showing all the columns

I am developing a SilverStripe project. I am new to SilverStripe. Now, I am using LeftModelAdmin to display the list of data which has a menu item in the admin panel. But my list view is not showing all the columns. Instead, it is displaying only…
Wai Yan Hein
  • 9,841
  • 21
  • 103
  • 244
0
votes
1 answer

How to use email_template_directory for UserForm?

I have added this to my config.yml to configure custom directory path of my email template UserDefinedForm: email_template_directory: themes/ellisco/templates/Useremails/ then added a SS File on themes/ellisco/templates/Useremails. Unfortunately,…
0
votes
1 answer

Silverstripe 3 allow basic auth for controller action

i hava a controller, that lists calendar entries. Permission provider is implemeted and works with the default security mechanism. The controller has an action called "ics" that responses an iCal stream, which also works. How can i enable basic…
derRobert
  • 491
  • 2
  • 6
  • 14
1 2 3
99
100