Be Responsible. Never Hack the Core.

This tutorial is over a year old and may not apply to your version of Concrete CMS.
Jan 13, 2016

Never hack core

In open source communities you’ll frequently hear the phrase “don’t hack core.”

What is hacking the core?

In general, “core” refers to the basic set of core files that make up a content management system. When you download Concrete CMS, the core files are what you download.

Why you never modify core files

No matter how easy it is to modify core files to make Concrete do what you want it to do, resist the temptation. Otherwise:

  • It will be nearly impossible to apply site updates
  • You could possibly leave your site vulnerable to security exploits
  • It will be difficult to maintain the site
  • Developers won't like you

The Concrete core has been designed to be flexible. Any changes you make to core files will be overwritten when you try to update. See override almost any core file for information on how to override.

If there is a feature you want and it can not be accomplished outside of modifying core, consider submitting a patch. Create an issue on github and tell the community what you want to do. It will then be tested and your feature may become part of Concrete.

Recent Tutorials
Create custom Site Health tasks
Apr 19, 2024
By myq.

This tutorial will guide you through the creation of a new Site Health task

Reusing the same Express entity in multiple associations
Apr 11, 2024
By myq.

How to create and manage multiple associations in Express

Express Form Styling
Apr 11, 2024
By myq.

Different ways to style Express forms

Setting addon/theme version compatibility in the marketplace
Jan 9, 2024

For developers worn out with setting the latest addon or theme version manually across too many core versions, here is a JavaScript bookmarklet to do it for you.

How to get the locale of a page
Jan 8, 2024
By wtfdesign.

Now, why don't we just have a getLocale() method on Page objects beats me, but here's how you work around it

Using a Redis Server
Jun 16, 2023
By mlocati.

How to configure Concrete to use one or more Redis servers to persist the cache.

Improvements?

Let us know by posting here.