Page 1 of 1

How to integrate one page in another website?

Posted: Wed Oct 18, 2017 1:23 pm
by YogiYang

Hello,

I have a complete web application built using core PHP.

It is working and functional. I am trying to generate the admin section of this in PHPMaker.

I have a need to integrate only one page (in admin section) as generated by PHPMaker in the main web app. For this particular case I do not need the header, footer, side navigation menu bar and bread crumbs.

How can I integrate this one single web page as generated for Admin section in the main web app (located in another directory)?

This one page is for adding user entered data in DB.

Once this page is submitted I want to show a web page or message stating that data entered by user has been submitted successfully to site admin for verification.

TIA

Yogi Yang


Re: How to integrate one page in another website?

Posted: Wed Oct 18, 2017 1:29 pm
by mobhar

You may simply use "Custom Files" feature in PHPMaker. Just read and learn that topic from PHPMaker Help menu for more info.


Re: How to integrate one page in another website?

Posted: Thu Oct 19, 2017 2:07 am
by YogiYang

I have already done this but my problem is adding a link in the page generated by PHPMaker which will when clicked show the Custom File in a Modal dialog.

Please guide me.

TIA

Yogi Yang


Re: How to integrate one page in another website?

Posted: Thu Oct 19, 2017 9:33 am
by mobhar

YogiYang wrote:
when clicked show the Custom File in a Modal dialog.

The answer is related to this post: http://www.hkvforums.com/viewtopic.php?f=4&t=41253


Re: How to integrate one page in another website?

Posted: Thu Oct 19, 2017 12:21 pm
by YogiYang

Hello,

Thanks for the hint but one part of my question still stand unanswered. How can I add a button or link which the user can click to a page?

TIA

Yogi Yang


Re: How to integrate one page in another website?

Posted: Fri Oct 20, 2017 9:53 am
by mobhar

Just refer to the generated page that is displaying a button or link to open another page. There are some classes that you need to use for that so that the look and feel will match with the existing style.