This topic is locked
[SOLVED]

 Custom Php File Inside Framework

2/24/2013 5:20:00 PM
PHPRunner General questions
M
marcusone author

I'm having trouble finding in the documents (or here in the forum) how to add a page to the project that is a custom PHP file, yet still uses the framework and template of the project (menu tabs, which the new page will have its own), etc.
Thanks,

Sergey Kornilov admin 2/24/2013

This would no be possible - menu is not just some HTML code but a core part part of PHPRunner PHP code.
My suggestion is to add a 'Custom View' and modify one of pages removing all stuff you don't need and adding your own PHP code to one of events like BeforeProcess.

M
marcusone author 2/24/2013



This would no be possible - menu is not just some HTML code but a core part part of PHPRunner PHP code.
My suggestion is to add a 'Custom View' and modify one of pages removing all stuff you don't need and adding your own PHP code to one of events like BeforeProcess.


You really only have a "hack" way of doing this? I really hope that its a feature you will add very very soon! What's the point of this system if someone cannot easily add a php page that is surrounded by your template system (in your add custom pages is where I would have thought that would happen, and was confused when it didn't...why I posted here).