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 `