PDA


View Full Version : Add a new page


gsurface
01-27-2006, 09:59 PM
I currently had coder create a page where coupons would be added and displayed. You can view it here >> http://www.flexdeals.net/deals/view_coupons.php
How ca I encorporate that code where the coupons are displayed so that it can be a page on the actual portal. For example, I know you can create pages using the admin for the portal. Is it possible I can create a page where I can copy and paste the html from view_coupons.php and paste it so that I can have something like http://www.flexdeals.net/cmps_index.php?page=coupons? Can anyone help me do this? If you still don't know what I mean, let me further explain. To be frank, I want to create a page so that instead of displaying the news from a specific forum, that page will display coupons. Thanks in advanced for any help.

gsurface
01-29-2006, 03:17 AM
Ok, maybe I wasn't clear enough. What I want is basically this. I want to make a new page, similar to the main page but instead of showing news from the forums, it will show a table I have created. The table exist on thi page at the moment http://www.flexdeals.net/deals/view_coupons.php. Any help would be greatly appreaciated. Thanks.

Brian
01-29-2006, 02:35 PM
You can integrate that file by adding a new PHP file page and entering the path to that file in the place provided. Alternately, you could add a new template page and just add the code you would like displayed in a template.

gsurface
01-29-2006, 08:42 PM
Thanks for the reply. I created a new page using the PHP file page and entered the path to that file, but it says page cannot be found. If I create a new php file, how do I access it? What would be the URL to it?

gsurface
01-29-2006, 08:46 PM
Ok, disregard my previous post. Now I am getting the following error:
Fatal error: main(): Failed opening required '' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/flexbeta/public_html/flexdeals/deals/forums/includes/vba_cmps_include_bottom.php on line 348

Brian
01-30-2006, 03:27 PM
That means you've entered an incorrect path to the file.