page_theme.php documentation
Permalink
I'm new to development in concrete5, I'm having trouble finding the beginning page_theme.php documentation. I see it mentioned in later tutorials on this site but as far as initial setup for a custom theme, I'm coming up with nothing.
I've been searching for a while and I'm getting frustrated at my inability to navigate the site, could someone point me in the right direction?
I've been searching for a while and I'm getting frustrated at my inability to navigate the site, could someone point me in the right direction?
You are right is a bit difficult to find a starting point in documentation.
A good start (maybe an unorthodox one) would be to start from here:
https://github.com/concrete5/concrete5/blob/develop/concrete/themes/...
you can take this page_theme from elemental theme as template, breaking it down and adjust it to your needs (your own Namespaces etc.).
Then you can digg some additional functions
like register your own grid system etc. (methods that are described separately in documentation)
Other useful links :
https://documentation.concrete5.org/developers/designing-for-concret...
https://documentation.concrete5.org/tutorials/add-custom-layout-pres...
https://documentation.concrete5.org/tutorials/how-to-copy-the-elemen...
https://youtu.be/FsWc09wR0Pc?t=6m26s...
A good start (maybe an unorthodox one) would be to start from here:
https://github.com/concrete5/concrete5/blob/develop/concrete/themes/...
you can take this page_theme from elemental theme as template, breaking it down and adjust it to your needs (your own Namespaces etc.).
Then you can digg some additional functions
like register your own grid system etc. (methods that are described separately in documentation)
Other useful links :
https://documentation.concrete5.org/developers/designing-for-concret...
https://documentation.concrete5.org/tutorials/add-custom-layout-pres...
https://documentation.concrete5.org/tutorials/how-to-copy-the-elemen...
https://youtu.be/FsWc09wR0Pc?t=6m26s...
Ok I'm glad it's not just me, thanks for the help!
this also might help ...
https://github.com/lewismcarey/concrete5.7-page_theme.php/blob/maste...
https://github.com/lewismcarey/concrete5.7-page_theme.php/blob/maste...
https://documentation.concrete5.org/developers/designing-for-concret...
(and don't skip the video; it seems to contain some tips that aren't written).
It's a bit of a shame that the documentation starts from a pre-existing non-c5 page and adapts it, rather than starting with a clean sheet. Regardless, you should be able to get the principles you need from it.