From f6d8d3510f29af523028ef32bd7d9cfdfd7d5fe7 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 1 Jun 2018 13:26:07 -0400 Subject: [PATCH] =?UTF-8?q?Add=20the=20=E2=80=9CRegular=E2=80=9D=20site=20?= =?UTF-8?q?profile=20to=20the=20core=20as=20another=20installation=20profi?= =?UTF-8?q?le=20option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.php | 6 +- site-regular/assets/index.php | 4 + site-regular/config.php | 44 + .../files/1002/psych_cartoon_4-20.0x260.jpg | Bin 0 -> 34210 bytes .../psych_cartoon_4-20.300x0-is-hidpi.jpg | Bin 0 -> 56982 bytes .../files/1002/psych_cartoon_4-20.400x0.jpg | Bin 0 -> 58152 bytes .../install/files/1002/psych_cartoon_4-20.jpg | Bin 0 -> 163291 bytes ...n_shot_2017-01-27_at_10_46_35_am.0x260.png | Bin 0 -> 123057 bytes ...n_shot_2017-01-27_at_10_46_35_am.600x0.png | Bin 0 -> 493543 bytes .../screen_shot_2017-01-27_at_10_46_35_am.png | Bin 0 -> 1371718 bytes site-regular/install/info.php | 6 + site-regular/install/install.sql | 718 +++++++++++ .../screen_shot_2017-01-27_at_1_30_19_pm.png | Bin 0 -> 179363 bytes site-regular/modules/README.txt | 88 ++ site-regular/ready.php | 45 + site-regular/templates/_init.php | 11 + site-regular/templates/_main.php | 137 ++ site-regular/templates/_uikit.php | 1105 +++++++++++++++++ site-regular/templates/admin.php | 15 + site-regular/templates/basic-page-edit.php | 21 + site-regular/templates/basic-page.php | 10 + site-regular/templates/blog-post.php | 49 + site-regular/templates/blog.php | 20 + site-regular/templates/categories.php | 16 + site-regular/templates/category.php | 16 + site-regular/templates/errors/500.html | 11 + site-regular/templates/errors/README.txt | 21 + site-regular/templates/home.php | 32 + site-regular/templates/scripts/README.txt | 4 + site-regular/templates/search.php | 49 + site-regular/templates/sitemap.php | 9 + .../templates/styles/images/coffee4.svg | 382 ++++++ site-regular/templates/styles/main.css | 111 ++ wire/core/Paths.php | 16 +- .../AdminThemeUikit/install-foot.inc | 2 +- 35 files changed, 2938 insertions(+), 10 deletions(-) create mode 100644 site-regular/assets/index.php create mode 100644 site-regular/config.php create mode 100644 site-regular/install/files/1002/psych_cartoon_4-20.0x260.jpg create mode 100644 site-regular/install/files/1002/psych_cartoon_4-20.300x0-is-hidpi.jpg create mode 100644 site-regular/install/files/1002/psych_cartoon_4-20.400x0.jpg create mode 100644 site-regular/install/files/1002/psych_cartoon_4-20.jpg create mode 100644 site-regular/install/files/1021/screen_shot_2017-01-27_at_10_46_35_am.0x260.png create mode 100644 site-regular/install/files/1021/screen_shot_2017-01-27_at_10_46_35_am.600x0.png create mode 100644 site-regular/install/files/1021/screen_shot_2017-01-27_at_10_46_35_am.png create mode 100644 site-regular/install/info.php create mode 100644 site-regular/install/install.sql create mode 100644 site-regular/install/screen_shot_2017-01-27_at_1_30_19_pm.png create mode 100644 site-regular/modules/README.txt create mode 100644 site-regular/ready.php create mode 100644 site-regular/templates/_init.php create mode 100644 site-regular/templates/_main.php create mode 100644 site-regular/templates/_uikit.php create mode 100644 site-regular/templates/admin.php create mode 100644 site-regular/templates/basic-page-edit.php create mode 100644 site-regular/templates/basic-page.php create mode 100644 site-regular/templates/blog-post.php create mode 100644 site-regular/templates/blog.php create mode 100644 site-regular/templates/categories.php create mode 100644 site-regular/templates/category.php create mode 100644 site-regular/templates/errors/500.html create mode 100644 site-regular/templates/errors/README.txt create mode 100644 site-regular/templates/home.php create mode 100644 site-regular/templates/scripts/README.txt create mode 100644 site-regular/templates/search.php create mode 100644 site-regular/templates/sitemap.php create mode 100644 site-regular/templates/styles/images/coffee4.svg create mode 100644 site-regular/templates/styles/main.css diff --git a/install.php b/install.php index bec10396..e113ea41 100644 --- a/install.php +++ b/install.php @@ -11,7 +11,7 @@ * If that file exists, the installer will not run. So if you need to re-run this installer for any * reason, then you'll want to delete that file. This was implemented just in case someone doesn't delete the installer. * - * ProcessWire 3.x, Copyright 2017 by Ryan Cramer + * ProcessWire 3.x, Copyright 2018 by Ryan Cramer * https://processwire.com * * @todo have installer set session name @@ -228,8 +228,8 @@ class Installer { echo "

A site installation profile is a ready-to-use and modify site for ProcessWire. - If you are just getting started with ProcessWire, we recommend choosing - the Default site profile. If you already know what you are doing, + If you are just getting started with ProcessWire, we recommend choosing the Regular + or Default site profile. If you already know what you are doing, you might prefer the Blank site profile.

+ + +

+

+ + +

+

+ © + Powered by ProcessWire CMS +

+
+ + + + + + + + + + +
+
+

+ get('offcanvas-nav', 10, function() { + return ukNav(pages()->get('/')->children(), [ + 'depth' => 1, + 'accordion' => true, + 'blockParents' => [ 'blog' ], + 'repeatParent' => true, + 'noNavQty' => 20 + ]); + }); + ?> +
+
+ + editable): ?> + + + Edit + + + + + + diff --git a/site-regular/templates/_uikit.php b/site-regular/templates/_uikit.php new file mode 100644 index 00000000..b40967bc --- /dev/null +++ b/site-regular/templates/_uikit.php @@ -0,0 +1,1105 @@ + navigation, + * + * This method can be used to render single-level or nested navigation lists. + * To render nested navigation lists pass the starting Page object to the $items + * argument and specify the 'depth' option as some number greater than 0. + * + * Optionally assign a `ukNavHeader` property to any page to show a + * header (with the text in the property) above that page in the navigation. + * Or if the `ukNavHeader` property is boolean true, then the page itself + * will become a header item in the navigation. + * + * Optionally assign a `ukNavDivider` property with boolean true to any page + * to show a divider before that page in the navigation. + * + * @param Page|PageArray|array $items + * @param array|string $options Options to modify default behavior: + * - `ul` (bool): Specify false to return just the list items without the wrapping `