Login
From:
fvsch.com
(Uncensored)
subscribe
Where should you put logic code in Kirby CMS?
https://fvsch.com/kirby-logic
links
backlinks
Roast topics
Find topics
Find it!
Kirby CMS has a few options for where to put your PHP logic: in templates, controllers, page models or page methods. My favorite is page models, and we can work around their main limitation easily.