Adding new single pages without reinstalling package?
Permalink
Does anyone know if this is possible? It seems that if I want to add a new single page programmatically, I need to then reinstall the package for it to be "registered".
Can't seem to find anything online to help me.
Can't seem to find anything online to help me.
I your packacge Controller class, you can include a function 'upgrade()' that might do the trick.
I did run across that in my "searching". I'll try it.
Right?
You don't happen to have any examples, references on how to add pages programmatically?
Thanks in advance.
parent::upgrade();
Right?
You don't happen to have any examples, references on how to add pages programmatically?
Thanks in advance.
Yes to parent::upgrade.
No to examples.
No to examples.
Ok, thanks. Back to google :)