1- Through your terminal, make sure that you have mysql
by running:
which mysql
2- If you got the path means you have mysql
and you can verify mysql status by running:
brew services list
<?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> |