Upgrade v.8 > v.9

 

Steps & Tweaks >Bootstrap 3

  1. Update to CMS version 8.5.15
  2. Make DEV-site with cache settings off, SEO index.php on, database entities off, empty caches
  3. Backup site and database
  4. Make copy of site in a CMS v.8/php74 environment with a copy of the database under new name
  5. Delete block content of critical plugins, copy text or content to page, remove plugins
  6. Check and clear clipboard of critical blocks
  7. Remove overrides/block templates in blocks-folder,
  8. Remove Database Logs (Datenbankprotokoll) in Optimierung before migration to v.9
  9. Check application/config, application/singlepages, application/views: remove if applicable
  10. Clear cache, check logs and clear if neccessary
  11. Manual Upgrade by replacement of core to v.9
  12. Run upgrade script /index.php/ccm/system/upgrade
  13. Clear cache, Logout and Clear Cookies/Site Data in Browser
  14. Move installation to php8 environment
  15. Reinstall application/config/concrete.php and application/bootstrap/app.php (+application/singlepages/login.php)
  16. Login with admin root
  17. Create sitemap, adjust users to new format
  18. Log out, Switch to php8.2, and Log back in with desired Username


Changes & Adjustements

  • All blocks need to be compatible to PHP 8
  • Rewrite blocks to update database schemes
  • footer_bottom.php: insert the main.js script and copy main.js to js-folder
  • For normal sized text in cms interface, define @body-type-font-size: 16px;  in basics.less (alt: content.less). Then add :root { font-size: @body-type-font-size } in variables (alt:box-variables.less) or basics.less
  • For Hamburger in mobile navigation: Change Fontawesome to fas fa-xxx, , add: font-weight: 700; or similar, needed for proper display
  • Install new SHOW-HIDE css utilities for bootstrap 5
  • Delete old users, replace with blink_design  [HQ11], editor [xx], admin [HQ13]

 

Block & Plugin Updates

  • Jero Slider: update to newest version
  • Accordions: add and adjust accordions.less in the css build folder. Copy media folder from (c9n) and check path to arrows.svg. Update and add assets in pagetheme.php, needed for Feature ACCORDIONS to work.
  • blinkbox toolbar: change to correct url, change system settings icon to "image" (Fontawesome 5 Free)


Steps to convert into Bootstrap 5 / v.9 / PHP 8.2

  • Change files according to blinkbox v.2.0.1, name it version 2.0
  • Pagetheme: update layout presets to bs5 (if bs5 required)
  • Page Templates: change bs columns, sm -> md (if bs5 required)
  • header_top.php: include bootstrap.min.css (bs5.2)
  • CSS: update to bs5 breakpoints, img-rounded -> rounded, img-circle -> rounded-circle
  • Copy breakpoint variables into basics.less
  • Add container presets, like Container_3_6_3.php. (Containers must be present in elements/containers/)
  • Ev. deinstall theme and reinstall, change to newly updated pagetypes via sitemap

 

/*this is a ckeditor test for formatting code */
/*select styling */
.cke_pbckcode_form .cke_dialog_ui_input_select select {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #555;
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 12px;
  height: auto;
  margin-bottom: 0;
  padding: 0;
  vertical-align: middle;
  width: 110px;
}

 

Arbeiten & Kosten


Basic Upgrade >Bootstrap 3

  1. Site Daten bereitmachen und Sicherungskopie von Daten und Datenbank erstellen.
  2. Herunterladen und auf DEV-Server herauflade inkl. installieren
  3. Nötige Pre-Upgrades, dann auf Core 9.2 upgraden
  4. Plugins kontrollieren und ev. für PHP 8 bereitstellen
  5. Fertige Site wieder auf Kundenserver laden
  6. Installieren, PHP 8 Schaltung, Testen
  7. Inbetriebnahme und Liveschaltung

Resultat:
Site funktionert ca.2-3 Jahre, vorausgesetz dass kleinere Point-Updates installiert werden.

Kosten: 2-3h

 

Erweitertes Upgrade >Bootstrap 5

  1. Gleiche Schritte wie BS3
  2. Bootstrap 5 in Pagetheme aktivieren
  3. Diverse zusätzliche Anpassungen in Theme und in Scripts: Breakpoints, Main.js, Fontawesome Icons,

Resultat:
Site ist top ajour, funktioniert 3-4 Jahre, vorausgesetz dass kleinere Point-Updates installiert werden.

Kosten: 3-5h

 

Alternativen

  • Bestehende Site v. 8 und PHP 7.4 belassen - funktioniert noch bis ca. 1. Feb. 2024
  • Neugestaltung mit neuer Version 9
  • HTML Site publizieren (Änderungen schwierig)
  • Notfalls Server suchen, die PHP 7.4 LTS (Long-Time-Service) anbieten

 

Info & Links

  • Security Support for Concrete v8.x
  • The CMS system of your website needs to be upgraded to version 9 inr order to rund under the new security server software PHP 8.2
    But with PHP on a aggressive update cycle and technology constantly progressing V9 and the bedrock is the gold star way for developing with Concrete CMS. But not the be all and end all. You have to find what works for you.

    PHP ist eine Scriptsprache die eine Website moderiert. auf einem aggressiven Update-Zyklus und Technologie ständig Fortschritte V9 und der Grundstein ist der goldene Stern Weg für die Entwicklung mit Concrete CMS. Aber es ist nicht das A und O. Sie müssen herausfinden, was für Sie funktioniert.