Add Cutom Page Attributes via Packages
Permalink
I am wondering if anybody can help walk me through this. I have a number of Page Attributes that I will be adding into sites fairly often. The tools in 'dashboard > Page Attributes' works great, it's just a little time consuming for my needs.
I am wondering if there is a way to add them in through Packages.
I think it has something to do with modifying a controller... but I have no idea which one, or honestly, if this is even possible. It seems like plugins probably do this pretty regularly... who wants some Karma?!
I am wondering if there is a way to add them in through Packages.
I think it has something to do with modifying a controller... but I have no idea which one, or honestly, if this is even possible. It seems like plugins probably do this pretty regularly... who wants some Karma?!
It might be a bit of overkill for what you're looking for, but herent setup a really nice c5 boilerplate package on githubhttps://github.com/herent/c5_boilerplate... that shows how to do what you're looking for. You would probably start around thehttps://github.com/herent/c5_boilerplate/blob/master/controller.php#... mark and dig through that to see what's doing.
Cool, I will take a look into this! I will try to take notes and lay it out in this thread.