Listing two profiles in 'Add-ons' [SOLVED]

Is it possible to show two profiles in 'Add ons controlpanel' with generic setup ?

I want one (just the theme), and another (the theme with demo content).

If I recall correctly the addons control panel shows one profile from each package and it's possible to do this by putting the second profile in its own package (i.e. put it in a subdirectory with its own and configure.zcml, and call both profiles "default"). It's been years since I did this though, so YMMV.

Ooooo, that was an ugly hack, but 'It works™'.


1 Like