Skip to content

PHP file_get_contents over HTTP or HTTPS

G3rd November 2016 

CNo comments

A nifty PHP script which will detect whether a page is being served over HTTP or HTTPS and return the result as a string for use in PHP file_get_contents (or other) include functions.

Read the full story

Blog headlines on the SilverStripe HomePage

G3rd August 2015 

CNo comments

Insert your blog headlines and excerpts from the SilverStripe Blog Module into the front page of a SilverStripe website.

Read the full story

Adding search to SilverStripe

G3rd January 2015 

CNo comments

Whilst it’s relatively easy to add a site search function to SilverStripe, quite a bit of tweaking is required to make it perform as it should. Here are some simple instructions.

Read the full story

Upgrading Silverstripe 3.1.x

G5th July 2014 

C2 comments

Instructions for upgrading an installation of SilverStripe 3.1.x to the latest version.

Read the full story

Automatic “Page Created” and “Last Modified” dates in SilverStripe

G18th April 2014 

CNo comments

Simple pieces of code to enable ‘page created’ and ‘last modified’ dates to be added to web page footers.

Read the full story

Product images on category pages in SwipeStripe

G2nd March 2014 

C3 comments

Instructions for modifying SwipeStripe Category so that image thumbnails will appear beside product descriptions on category pages within SilverStripe websites.

Read the full story

Blog post thumnail

Use PHP to block Pinterest “pins” and still let your site validate

G8th August 2012 

CNo comments

Prevent Pinterest users from “pinning” images on specific web pages or right across your website with this simple PHP include.

Read the full story

Blog post thumnail

Use PHP to ensure a page can only be accessed via a specific URL

G3rd February 2012 

C3 comments

Use this handy PHP script to redirect visitors who access a web page via an external link or by typing the URL directly into their browser.

Read the full story

Blog post thumnail

Use PHP to insert an automatic “last modified” date into web pages

G30th October 2011 

C9 comments

Use PHP to generate a “Last modified” date into your static web pages that automatically updates when the page does, so you don’t need to worry about it.

Read the full story