Snippets - Little bits of code to make you happy
SilverStripe developer bookmarkletsTweet
2 April 2012 | | | Supports v2.4, v2.3
Here are some handy dynamic bookmarklets for your browser for one click access to things like rebuilding the database, flushing the cache and accessing the CMS!
Just drag the links to the bookmarks bar of your browser to install.
How to use
If you have a silverstripe website open in your browser (live or development), just click the relevant bookmarklet to quickly access the CMS, flush the template cache, rebuild the database etc. for that site. The /CMS, /Dev and /Build sections of the website are opened in new windows while Flush and Dev Mode simply add the relevant URL parameter to the page you're viewing and reload the page.
Update 11 Apr '12: Utilise base tag as per Jedateach's suggestion
Update 12 Apr '12: Fallback to window.location.host if base tag isn't available (i.e. in 'Dev' interface)