The jaccms blog
Dates Any Format
Using dates in meta caused me problems. ince they are treated as text, the never sorted correctly for me. So I wrote a plugin that treats any meta with the word date in the keyname as a unix timestamp. This makes it consistent for any other plugins or templates, and they sort reliably.
Multi Sites on One Lib
I wanted to be able to run multiple sites on one phile system folder. This is the method I came up with. I am sure eventually phile developers will come up with a better way.
Setting Additional Meta
I tweaked the Lib\Phile\Model\Page.php
I needed to be able to set meta data into a page. There were no setters in the page model for that. I added the following setters:
Getting Raw Page Data
I tweaked the Lib\Phile\Model\Page.php
I needed to get the full raw text content un-parsed. There were no getters in the page model for that. I added the following getters:
Tweak the Pages Model
I tweaked the Lib\Phile\Model\Page.php
Some plugins wanted to use the trigger before_parse_content. And I was confused by the process as shown here: