Tag Archives: Php

Silverstripe 3.0 Grid Fields with Thumbnails

Silverstripe 3 has been out for a few months now, and most the big bugs have been fixed… This tutorial describes the code required to set up a grid feild to manage ‘Has Many’ relations. Eg – a staff page that lists many staff members. Also, we’ll add in some code that will make the […]

Leave a comment Continue Reading →

Silverstripe 3 – Per user page access tutorial

Most of the times group access in SilverStripe is sufficient for controlling user access, but for this project I had a specific situation where every user needs to have a dedicated page. In order to avoid unnecessary editing and creating groups for each individual user, I decided to extend SiteTree and create a page with […]

2 Comments Continue Reading →

Install Tidy on Ubuntu

Not something big or important, but I just tried several ways to get tidy library on my Ubuntu box, and none other then this worked. Might save some searching to others. sudo apt-get install php5-tidy Tidy is recommended for running SilverStripe (not required). php5 comes with Tidy library preinstalled but it has to be compiled –with-tidy […]

2 Comments Continue Reading →

Silverstripe 3 Grid Field Config Options

The grid field system in Silverstripe 3 has a number of preset config options – here’s what they do, and what they look like: No Config If we don’t add any config options, the grid field just displays a list of items…  We can’t view the record details, or edit anything though…

$gridfield = […]

Leave a comment Continue Reading →

Pitch & Tone • Silverstripe caching

In this post we’re going to cover how silverstripe’s caching works. There are two ways to cache, both have pros and cons. Static caching Quite simply static caching saves the HTML output via php to a static HTML file. Silverstripe then monitors (via some functions you create/edit) when content is updated so that if an […]

Leave a comment Continue Reading →

Silverstripe 3 Many Many – A Comprehensive Example

I see that the website hosting this resource has disappeared, so I’ll try to save this article, as it might come in handy. The images are gone, so I’m only able to save low quality versions. How to create set up a many_many relation using the SS3 gridfield In this article we’re going to a […]

7 Comments Continue Reading →

SilverStripe 3.0 – Batch Translate

As a common request around the web is to translate the entire Site Tree. Following the post on: http://www.silverstripe.org/customising-the-cms/show/7318 Which was made for SS 2.3.2, I’ve adopted the code to work with SilverStripe 3.0 (Tested on 3.0.5). It gives you the ability to select entire site tree, or just parts of it, and translate it […]

1 Comment Continue Reading →

Some customization of SilverStripe 3.0

I just started with SilverStripe, and here are a few things I stumbled upon while testing the possibilities of this Framework/CMS, hope it will be helpful to someone. First, some things you can do right in your mysite/_config.php. You can remove most of the admin menu links by using: CMSMenu::remove_menu_item(‘ReportAdmin’); // Reports link for example […]

2 Comments Continue Reading →

Use Zend Framework 2 from sub folder

I just started testing the Zend Framework 2, and I wanted to give it a quick look around with the Skeleton Application. I didn’t want to add virtual hosts to my local Apache, as I have more important stuff I’m working on, so I just wanted to make a folder for it and run the […]

1 Comment Continue Reading →

Conference Republic

Conference Republic web site is online. It’s the first web site running completely on my Complete MeSs system. The web site design was done by CMYK You. It’s running on PHP/MySQL base, with jQuery as the JavaScript framework of choice. You can visit the website at this link.

Leave a comment Continue Reading →