I built a container with an ad scroller in it. It’s lovely but it’s placed in concrete/themes/atomik/elements/containers so it gets ignored when concrete updates. I have to remember to put it in the /updates version of concrete. Where should I put this ad_scroller.php file and how do I add it to the system so it’s available after an update?
Have you tried
application/themes/atomik/elements/containers
Also have you added it in the containers section under Page and Themes in the dashboard?
Containers don’t have to be in a theme. You can put them in /application/elements/containers and the equivalent /packages/ directories to install with a package.
As well as the dashboard page for adding/installing @TMDesigns refers to, install can also be via XML, such as with the Atomik sample content, or via code in a package install() method.
Oh Good Gawd, I was clearly complicating matters. I’ve been around here long enough to know how to override core stuff and I honestly tried putting it in /application/themes/atomik/elements/containers but something must have persuaded me that this didn’t work. Yes, that works. Of course it works. Thanks for the replies. Carry on.
Well, hold your horses. I put a file called ad_scroller2.php in application/themes/atomik/elements/containers and all works from the dashboard side but when the container gets rendered, all I get is ‘no container template file found’.
Try in the elements folder as @JohntheFish mentioned.
The obvious location of /application/elements/containers/ works. I must have had duplicates flying around in various locations confusing things. Thanks for your patience.

