Viewing entries tagged with 'PHP'

Upgrading to SIlverstripe 2.4.2

Posted by omega on 4 October 2010 | 0 Comments

Tags: , ,

Currently working on updating my site to run the latest version of Silverstripe.  So far so good, but like always, the data seems to get malformed.  I need to go about cleaning up pretty much all entries I created.  This also includes figuring out how to restore all my previous blog entries.

0 comments | Read the full post

SilverStripe: get vs get_one

Posted by Omega on 14 February 2010 | 0 Comments

Tags: , , ,

I just spent some time trying to get my latest blog post to appear on my home page.  I was previously using SilverStripe's get_one method, as I just wanted to retrieve the latest post, but it kept returning the first entry even after specifying to sort by Date in descending order.  I ended up using the get method instead and it allowed me to properly structure the SQL query.

0 comments | Read the full post

Want O?

Enter Your Email Address Below:

?