1- Through your terminal, make sure that you have mysql by running:
which mysql2- If you got the path means you have mysql and you can verify mysql status by running:
brew services list| /* | |
| foundation.css | |
| https://gist.github.com/mvllow/b2b38d2968c1b3b6a393556530a8f65f | |
| Inspired by Tailwind CSS Preflight (https://tailwindcss.com/docs/preflight) | |
| */ | |
| /* | |
| 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) | |
| 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) |
| <?php | |
| /** | |
| * This is a preview for an upcoming Kirby feature. | |
| * | |
| * This class extends all pages with the template | |
| * project.php and makes it possible to add custom features | |
| * and methods to the $page object, which can then be | |
| * used everywhere throughout Kirby. | |
| * |
| <meta name="description" content="<?php echo $page->description()->or($site->description()) ?>"> |
| <?php snippet('header') ?> | |
| <h2>English Version</h2> | |
| <h3><?php echo $page->content('en')->title()->html() ?></h3> | |
| <?php echo $page->content('en')->text()->kirbytext() ?> | |
| <h2>German Version</h2> | |
| <h3><?php echo $page->content('de')->title()->html() ?></h3> |
| <?php | |
| /** | |
| * Instructions: | |
| * | |
| * 1. Put this into the document root of your Kirby site | |
| * 2. Make sure to setup the base url for your site correctly | |
| * 3. Run this script with `php statify.php` or open it in your browser | |
| * 4. Upload all files and folders from static to your server | |
| * 5. Test your site |
| <?php | |
| class PaymentGatewayPayPal extends WireData implements Module, ConfigurableModule { | |
| /* | |
| * Module details, defaults and initialisation | |
| * | |
| */ | |
| public static function getModuleInfo() |
| <?php | |
| $list = $page->children()->paginate(10); | |
| $pagination = $list->pagination(); | |
| ?> | |
| <ul> | |
| <?php foreach($list as $item): ?> | |
| <li><!-- item html --></li> |