|
eoCMS Developer
Offline
Posts: 909
|
Re: sub boards
Posted on: 5th June, 2009, 07:12:50 AM
as long as it does not mean changing existing themes/plugins etc, an returned the "text", then yeah, maybe, but do a test of it first.
the other thing to remember is that the -info arrays can store function data too.
in this case, "sub boards" would just extend the category & board structure of "Boards.php", by adding non-category linked boards, so there is only need for admin panel options, and sql INSERT/DELETE/UPDATE (not CREATE, ALTER and DROP) which is "simple", but more importantly, a different sql_query and, "IndexForm" (and possibly "ViewBoard.php") layout output
in the case of "PM-draft" the changes are "less", an extra button, but in page processing, the code needs to insert a "save no send" function. the db needs to then output a "drafts" folder (like "inbox" or "outbox")
(I have not checked the db structure for PM's, but if its like the rest, its a "key"=>"value" assigment, which makes adding new "sections" easy, cos nothing is hard coded)
Apart from the need for a new "-info engine", to get these working in the current code (using the new "-info" format to help) will ahve a huge impact on what can and will be developed in the near future, as I forsee that after the FINAL='0.8.2' release, and any last minute bugs or fixes, there will be a period or supplying and/or creating addon only code and features to eoCMS. So for an adon to be able to "patch" into the system will allow for a lot of flexibility..
.. as long as it remains simple (maybe not to implement the engine/patch system, but to develop addons themselves) and still allows for the eoCMS "core" to maintain security, and flexibility towards the other addon components, and content..
( ..epic most are the norm today.. )
|