Skip to main content

Using October CMS to migrate your site and update the tables with the plugins run 

php artisan october:up

 

Related articles

Andrew Fletcher13 Feb 2021
Twig using set to determine if a loop.index is odd or even
Working in Laravel, I needed to loop through an array and know whether the current loop was odd or even row.  To do this add the expression to your Twig file: {% set direction = loop.index0 is odd ? 'left' : 'right' %} In the call above, the variable direction is set to either left...
Andrew Fletcher07 Feb 2021
Getting SMTP mail working in October CMS
Setting up the mail configuration in October CMS is a quick progress.  Depending on which mail method you use there are up to eight fields to complete: Sender name; Sender email; Mail method: (PHP mail, Sendmail, SMTP, etc...).  I elected to go with SMTP;  SMTP...
Andrew Fletcher11 Nov 2020
OctoberCMS common command functions
Common commands Themes and plugins have similar command lines.  So rather than note them individually and miss clarity, the reference {type} can be replaced with the term plugin or theme.   install php artisan {type}:install...