dev. extensions/libraries
Posted: Tue 6. Apr 2004, 22:20
I'm sorry if this has been mentioned before, or the functionality may even exist, but I am going to request it anyway.
what i would LOVE to see is some sort of universal area where we could dump functions that override the defaults, without touching the original. not really plugins, but more like an OO extension.
say you want to make your own version of imagetable(). right now, you have to overwrite the one in /include/inc_front/front.func.inc.php
it would be great to have a line at the end of front.func.inc.php (and all of the incs really) that would include user defined libraries, if any.
I know this is kind of weird, but I really like phpwcms and don't want to go around hacking all the includes() to fit my needs and have to rewrite them everytime it's updated. This sort of method would allow extensions and not interfere with anything else.
All it really takes is one line at the end of each included library and a defined location for the extensions/overriding files.
What does everyone think?
David
what i would LOVE to see is some sort of universal area where we could dump functions that override the defaults, without touching the original. not really plugins, but more like an OO extension.
say you want to make your own version of imagetable(). right now, you have to overwrite the one in /include/inc_front/front.func.inc.php
it would be great to have a line at the end of front.func.inc.php (and all of the incs really) that would include user defined libraries, if any.
I know this is kind of weird, but I really like phpwcms and don't want to go around hacking all the includes() to fit my needs and have to rewrite them everytime it's updated. This sort of method would allow extensions and not interfere with anything else.
All it really takes is one line at the end of each included library and a defined location for the extensions/overriding files.
What does everyone think?
David