2009-08-08, 05:27:59
I've never used wordpress so I don't know if it's the same.
I've manually done it by changing edit.php and adding in 4 new input boxes, one for pageType, allowComments , subTitle and publishDate , also changed "inc\changedata.php" modified to add/edit these values in the XML files.
This allows me in the main template file to check the page type and if a blog item display the item with comments etc...
If these could be dynamically added in from say a customfields.xml file from within the template it would mean we could have much more flexibility on the pages.
I'll have a go at implementing something rough over the weekend.
Mike.
I've manually done it by changing edit.php and adding in 4 new input boxes, one for pageType, allowComments , subTitle and publishDate , also changed "inc\changedata.php" modified to add/edit these values in the XML files.
This allows me in the main template file to check the page type and if a blog item display the item with comments etc...
If these could be dynamically added in from say a customfields.xml file from within the template it would mean we could have much more flexibility on the pages.
I'll have a go at implementing something rough over the weekend.
Mike.