Commit Graph

22 Commits

Author SHA1 Message Date
Nick
d3ed3f7476 Update the PHP files to PSR-2 spec 2017-05-14 21:48:27 +12:00
Robbie Averill
e9a4095c9a PSR-2 compliance: Move PageController class to its own file 2017-01-05 13:07:23 +13:00
Robbie Averill
fb06cc0075 API Change Page_Controller to PageController (PSR-2 compliance) 2017-01-05 13:03:18 +13:00
JorisDebonnet
20740026da Updated link to Requirements doc 2016-09-26 15:10:33 +02:00
Damian Mooyman
3fa6f04047 Update for CMS namespace 2016-08-04 14:41:44 +12:00
jonom
e0ce35217c Removed misleading comments and legacy requirement calls
The instructions in the init() function seem to be at odds with the current documentation which suggests that it is preferable to include requirements in PHP code rather than in templates.

Also the requirement calls here are supposedly included so that older themes still work - but how old are we talking? I would assume that these older themes would not be compatible with SS3.1, and the bundled Simple theme does not need these requirement calls in the init() function, making them redundant.

I am guessing that the Installer is primarily used by people just getting started with SilverStripe, so ideally this bundled example Page.php should provide a clear pathway to best practice SS development, rather than supporting out-dated code.
2013-11-11 09:22:36 +07:00
Sam Minnee
fbb4d1c42b FIX: Update Page/Page_Controller statics to match new 3.1 expectations. 2013-03-25 14:38:58 +13:00
Ingo Schommer
41df04ff2b MINOR Added reset.css include to Page.php in order to fix inclusion order in new default theme 2012-03-26 15:14:07 +02:00
sminnee
4a949635a3 API CHANGE: Removed default search controls; use MySQLFulltextSearchable::enable() instead. (from r101813)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112226 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:28:23 +00:00
sminnee
454d58a04d MINOR phpDoc update for Page (from r100735)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112200 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:24:21 +00:00
sminnee
7f9d4872a7 MINOR Code formatting fixes for default Page pagetype (from r100734)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112199 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:24:17 +00:00
ischommer
df8dc5f881 BUGFIX: Allow SilverStripe to work when asp_tags is on (from r72337)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92239 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:39:25 +00:00
sminnee
6815399bc5 ENHANCEMENT: Include $allowed_actions by default on new sites, to encourage people to build more secure sites.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@88520 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:47:05 +00:00
sminnee
405f698b34 Make Page.php compatible with asp_tags setting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@73488 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-22 04:41:36 +00:00
phalkunz
38cf565913 Added site search to blackcandy. ticket #1884
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@69919 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-08 22:13:29 +00:00
sharvey
97717ba8f0 MINOR Added missing ?> PHP tag to Page.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@65613 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-11 20:46:52 +00:00
sminnee
f235497aab Re-added Requirements calls to Page.php for older theme compatability
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@65504 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-10 01:04:45 +00:00
sminnee
e655425d2c Removed Requirements call from controller; these should be put in the template now.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@65501 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-10 00:53:41 +00:00
aoneil
decb17bbd6 Make the installer work with short tags
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@42172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-17 00:17:51 +00:00
aoneil
3255bcb4c0 Add css requirements to install files
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@42167 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 22:49:43 +00:00
aoneil
eaac330b41 Removed old non-themed BlackCandy
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40526 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 04:39:32 +00:00
aoneil
1b921d3e51 Copied black candy into installer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@39716 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-07 22:41:30 +00:00