Activate Theme Programatically on Install
Permalink
Hi,
I've built a theme that I want to get into the marketplace. I noticed with another theme that when you install the package, it automatically activates the theme which is nice.
Mine doesn't seem to activate automatically but I can't see in the other themes controller how it varies from mine.
I have this line in content.xml:
Is there anything else I need to do?
Thanks in advance
Dave
I've built a theme that I want to get into the marketplace. I noticed with another theme that when you install the package, it automatically activates the theme which is nice.
Mine doesn't seem to activate automatically but I can't see in the other themes controller how it varies from mine.
I have this line in content.xml:
<theme handle="chroma" package="chroma" activated="1"/>
Is there anything else I need to do?
Thanks in advance
Dave

Have you seen this?: http://documentation.concrete5.org/developers/designing-for-concret...
Yes thanks, that's where I got the code from but it still doesn't seem to activate?
Anyone have an idea on this one please ? :)