This object is in archive! 

Adding Support For A Custom Page

Archived JPDP 9 years ago

I've been developing Useresponse to suit the requirements of my company however I've hit a brick wall when trying to add support for a custom page.


What I'm in need is to add a new .phtml (or PHP) page/template that can be accessed like so http://website.com/support. This page will have dynamic content pulled in via an API for another piece of software. My issue is that due to the frame work I'm actually not sure how to add support into it for this new custom page.


I've attempted adding a new .phtml file into the "Applications->Templates" folder however when attempting to access the page in a browser is re-directs to the index (main.phtml) page. I assume there is some sort of routing in the core framework that causes this.


What would be the best way to go about doing something like this?

Replies (3)

photo
1

Please review our Developer Manual in order to get more info on how develop custom module. You shouldn't place templates in application folder, as you'll loose these changes after update

photo
1

I've read the Developer Manual but It doesn't appear to reference or relate to what I need to accomplish.

photo
1

As I understand you need a page that can be accesed within UseResponse installation.

To complete this, you need to build custom module, define route and place template in module folder. All aspects of module development are in Developer manual.

If you still experience problems we can build module for you on custom basis

Replies have been locked on this page!