Editing footer file on a packaged theme

Permalink
Hi everyone, I am familiar with creating custom themes by copying the default concret5 theme to the themes folder, but I have no experience with editing themes downloaded and installed from the market place.

I downloaded my first theme and I would like to add a global block to the footer file (there is no built in global for my theme) but am I correct that editing /packages/themename/themes/themename/elements/footer.php is the wrong place to make changes?

I technically can edit these files but I assume if I ever update the theme my edits will be overwritten.

So where would I make these kinds of changes?

Thanks!

alphabetta
 
adamjohnson replied on at Permalink Reply
adamjohnson
Themes are an exception to the override rule. You cannot override a packaged theme in /packages via /themes. See this how to for more information:

http://www.concrete5.org/documentation/how-tos/developers/change-th...

The solution would be to take the theme out of the package, give it it's own name and description in description.txt, install the "new" theme, then apply it to the site.

My guess is that this is the better solution for you anyways, because future theme updates could be somewhat sweeping and possibly undesirable depending on your layout.