-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
660 additions
and
1,184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# [HTML5 Boilerplate for ProcessWire](https://github.com/BlowbackDesign/PW-H5BP) | ||
# [ProcessWire HTML5 Boilerplate](https://processwire.com/modules/html5-boilerplate/) | ||
|
||
[HTML5 Boilerplate](https://html5boilerplate.com) site profile for [ProcessWire](https://processwire.com). | ||
|
||
PW-H5BP is based on ProcessWire site-blank default profile and keeps up to date with PW master branch / HTML5 Boilerplate latest release. Please feel free to contribute and [report any issues](https://github.com/BlowbackDesign/PW-H5BP/issues) you may find. Thanks! | ||
PW-H5BP is based on ProcessWire site-blank default profile and keeps up to date with HTML5 Boilerplate latest release. Please feel free to contribute and [report any issues](https://github.com/BlowbackDesign/PW-H5BP/issues) you may find. Thanks! | ||
|
||
## Installation | ||
|
||
Extract the content from this repository to your web root along with [ProcessWire](https://github.com/ryancramerdesign/ProcessWire) and proceed to [installation](https://github.com/ryancramerdesign/ProcessWire#installation). When prompted for **Site Installation Profile** select **HTML5 Boilerplate** from dropdown menu and follow the install instructions. | ||
|
||
## License | ||
|
||
[GNU Public License (GPL)](http://www.gnu.org/copyleft/gpl.html) | ||
[MIT License](https://opensource.org/license/mit/) |
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?php | ||
// Intentionally left blank to test that htaccess rewrite rules are working. | ||
// Intentionally left blank to test that htaccess rewrite rules are working. | ||
// Accessing this file from http should produce a '403 forbidden' error, | ||
// since all PHP files are blocked under /assets/. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php namespace ProcessWire; | ||
|
||
/** | ||
* Example custom page class for pages using template “home” | ||
* | ||
* Feel free to delete this file if you do not want it. This is here as a | ||
* placeholder to ensure the /site/classes/ directory exists. | ||
* | ||
* When this file/class is present, page using template “home” will use this | ||
* class “HomePage” rather than class “Page”. You can do the same for any | ||
* other templates. For example, template “basic-page” would have a class | ||
* named “BasicPagePage” and template “admin” would have “AdminPage”, etc. | ||
* | ||
* Custom page classes must extend class “Page”, or one derived from it. | ||
* | ||
* @property string $title | ||
* | ||
*/ | ||
class HomePage extends Page { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php namespace ProcessWire; | ||
|
||
if(!defined("PROCESSWIRE")) die(); | ||
|
||
/** @var ProcessWire $wire */ | ||
|
||
/** | ||
* ProcessWire Request Finished | ||
* ============================ | ||
* This finished.php file is called after ProcessWire has finished serving the current | ||
* request. This occurs after the current page has been rendered. This file receives a | ||
* copy of all ProcessWire API variables. | ||
* | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php namespace ProcessWire; | ||
|
||
if(!defined("PROCESSWIRE")) die(); | ||
|
||
/** @var ProcessWire $wire */ | ||
|
||
/** | ||
* ProcessWire Bootstrap Initialization | ||
* ==================================== | ||
* This init.php file is called during ProcessWire bootstrap initialization process. | ||
* This occurs after all autoload modules have been initialized, but before the current page | ||
* has been determined. This is a good place to attach hooks. You may place whatever you'd | ||
* like in this file. For example: | ||
* | ||
* $wire->addHookAfter('Page::render', function($event) { | ||
* $event->return = str_replace("</body>", "<p>Hello World</p></body>", $event->return); | ||
* }); | ||
* | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file is here to ensure Git adds the dir to the repo. You may delete this file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php namespace ProcessWire; | ||
|
||
/** | ||
* Install finish file (3.0.191+ only) | ||
* | ||
* This file is called when profile installation has finished | ||
* but before install assets have been deleted. The Installer | ||
* can also be accessed via the $installer variable. | ||
* | ||
* Use this file to perform any additional updates to the site | ||
* that are needed by your site profile. | ||
* | ||
* Most ProcessWire API variables are available and locally | ||
* scoped to this file. | ||
* | ||
* ProcessWire versions prior to 3.0.191 ignore this file. | ||
* | ||
*/ | ||
|
||
if(!defined("PROCESSWIRE_INSTALL")) die(); | ||
|
||
/** @var Installer $installer */ | ||
/** @var ProcessWire $wire */ | ||
/** @var Pages $pages */ | ||
/** @var User $user */ | ||
// …and so on for other API variables | ||
|
||
// your custom finishing code here | ||
|
||
$installer->ok('Finished installing site profile'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<?php if(!defined("PROCESSWIRE_INSTALL")) die(); | ||
<?php namespace ProcessWire; | ||
if(!defined("PROCESSWIRE_INSTALL")) die(); | ||
$info = array( | ||
'title' => "HTML5 Boilerplate", | ||
'summary' => "This is HTML5 Boilerplate for ProcessWire. Based on blank site profile that includes only the bare minimum pages, fields and templates.", | ||
'title' => "HTML5 Boilerplate", | ||
'summary' => "This is HTML5 Boilerplate for ProcessWire. Based on a blank site profile that includes only the bare minimum pages, fields and templates.", | ||
'screenshot' => "" | ||
); | ||
); |
Oops, something went wrong.