Creating default stacks for template
Permalink
I'm building my first Concrete5 template and want to create some default stacks that get automatically created upon package installation. I would also like to assign those stacks to default pages of the theme.
For example, I have 4 "widget" areas in the footer of all the page templates. I would like to create 4 stacks and have those stacks assigned to the widget areas automatically. After installation user's could change them if they wanted, but it would give them a good starting point.
It would also be nice to place some default blocks within those stacks that user's can change after install.
Is this possible? I've attempted searching for answers on this and it sounds like this may be possible, but I have yet to find any tips or instruction on how to do so.
Thanks!
For example, I have 4 "widget" areas in the footer of all the page templates. I would like to create 4 stacks and have those stacks assigned to the widget areas automatically. After installation user's could change them if they wanted, but it would give them a good starting point.
It would also be nice to place some default blocks within those stacks that user's can change after install.
Is this possible? I've attempted searching for answers on this and it sounds like this may be possible, but I have yet to find any tips or instruction on how to do so.
Thanks!
Yes, I have.
I appreciate the response, but your links do not help to resolve my questions. I haven't seen anything in any of the docs about creating default stacks.
I appreciate the response, but your links do not help to resolve my questions. I haven't seen anything in any of the docs about creating default stacks.
I think I've found a starting point for this question:http://www.concrete5.org/documentation/how-tos/developers/concrete5...
I'll follow up once I spend some more time with it.
I'll follow up once I spend some more time with it.
Have you read the block section:http://www.concrete5.org/documentation/developers/blocks/overview/...