Subject: Custompage plugin
I'm trying to create my own custom pages for the forum, and running into difficulty when I try to figure out which instances of 'custompage' I should replace with the names of my own page. I think it's confusing to have the name of the example page identical to the name of the internal process names.
A straight search & replace would not only change the places it SHOULD, but also places like UnbHookCustomPageHandleRequest which I'm pretty sure shouldn't be changed!
It took forever to make it change the name on the tab. Finally got that sorted and am now trying to sort out all the right instances of custompage to change... Perhaps, Yves, you could make this easier in the future? (Or am I just an idiot? I leave that question to the philosophers!)
EDIT:
Yeah, I guess I just needed to keep trying. A search and replace for every instance of 'custompage' and @custompage was just about all of them. Finally, I had to change plugins/custompage.inc.php as well.
A straight search & replace would not only change the places it SHOULD, but also places like UnbHookCustomPageHandleRequest which I'm pretty sure shouldn't be changed!
It took forever to make it change the name on the tab. Finally got that sorted and am now trying to sort out all the right instances of custompage to change... Perhaps, Yves, you could make this easier in the future? (Or am I just an idiot? I leave that question to the philosophers!)
EDIT:
Yeah, I guess I just needed to keep trying. A search and replace for every instance of 'custompage' and @custompage was just about all of them. Finally, I had to change plugins/custompage.inc.php as well.


NFG
Show profile
Link to this post