Jump to content

Editing core files


Guest kieranbarnes

Recommended Posts

Guest kieranbarnes

I've been working on a few CC5 stores recently that have required me to edit the core files, like catalog.class.php and gui.class.php

I'm considering creating some new files and extending the classes to make the changes reasonably upgrade proof.

Just wondering what other developers do when they modify the new CC5 files classes to make them future proof.

Link to comment
Share on other sites

I've been working on a few CC5 stores recently that have required me to edit the core files, like catalog.class.php and gui.class.php

I'm considering creating some new files and extending the classes to make the changes reasonably upgrade proof.

Just wondering what other developers do when they modify the new CC5 files classes to make them future proof.

CC v5 is built with extensibility in mind. There is no need whatsoever to modify core files. All mods, er the new term is Plugins, are written outside of core files and are upgrade proof. These plugins use a CC v5 feature called hooks. Learn them, love them, live them. They rock!

Thanks

/Goober

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...