From 440f649e3979d39cda2ae188cd704ddcffbe7d29 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Thu, 20 Apr 2023 11:01:51 -0400 Subject: [PATCH] Minor updates to site-blank profile, primarily to replace default rich-text editor with TinyMCE for new site-blank installs --- site-blank/config.php | 5 ++--- site-blank/install/install.sql | 2 +- site-blank/templates/_main.php | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/site-blank/config.php b/site-blank/config.php index 98d00e7f..3fda1a04 100644 --- a/site-blank/config.php +++ b/site-blank/config.php @@ -17,7 +17,7 @@ * This file is licensed under the MIT license * https://processwire.com/about/license/mit/ * - * ProcessWire 3.x, Copyright 2022 by Ryan Cramer + * ProcessWire 3.x, Copyright 2023 by Ryan Cramer * https://processwire.com * */ @@ -46,5 +46,4 @@ $config->appendTemplateFile = '_main.php'; // Allow template files to be compiled for backwards compatibility? $config->templateCompile = false; -/*** INSTALLER CONFIG ********************************************************************/ - +/*** INSTALLER CONFIG ********************************************************************/ \ No newline at end of file diff --git a/site-blank/install/install.sql b/site-blank/install/install.sql index 78928ec8..65916fdb 100644 --- a/site-blank/install/install.sql +++ b/site-blank/install/install.sql @@ -267,7 +267,7 @@ INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('148', INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('149', 'InputfieldSelector', '2', '', NOW()); INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('150', 'ProcessPageLister', '0', '', NOW()); INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('151', 'JqueryMagnific', '1', '', NOW()); -INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('155', 'InputfieldCKEditor', '0', '', NOW()); +INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('155', 'InputfieldTinyMCE', '0', '', NOW()); INSERT INTO `modules` (`id`, `class`, `flags`, `data`, `created`) VALUES('156', 'MarkupHTMLPurifier', '0', '', NOW()); DROP TABLE IF EXISTS `pages`; diff --git a/site-blank/templates/_main.php b/site-blank/templates/_main.php index 1325e59f..072c9ffe 100644 --- a/site-blank/templates/_main.php +++ b/site-blank/templates/_main.php @@ -11,8 +11,8 @@ /** @var Page $page */ /** @var Pages $pages */ /** @var Config $config */ - -$home = $pages->get('/'); // homepage + +$home = $pages->get('/'); /** @var HomePage $home */ ?> @@ -52,4 +52,4 @@ $home = $pages->get('/'); // homepage - + \ No newline at end of file