Adding a new page to a theme...
Posted by Durtdawber
Adding a new page to a theme... April 30, 2007 01:33PM |
Registered: 18 years ago Posts: 125 |
I have a page of custom content that I want to add to my current theme. Here is the scenario...
- the content is mainly html code
- I want to put a link on my main index page that will call this page
- I want the new page to use the same theme (color, header, etc...) as the rest of my Phorum site.
Any advise is appreciated.
- the content is mainly html code
- I want to put a link on my main index page that will call this page
- I want the new page to use the same theme (color, header, etc...) as the rest of my Phorum site.
Any advise is appreciated.
Re: Adding a new page to a theme... April 30, 2007 01:59PM |
Admin Registered: 23 years ago Posts: 4,495 |
something like this:
define('phorum_page','my_page'); include_once("./common.php"); // set all our URL's ... we need these earlier phorum_build_common_urls(); include phorum_get_template("header"); phorum_hook("after_header"); // Your stuff here phorum_hook("before_footer"); include phorum_get_template("footer");
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Adding a new page to a theme... April 30, 2007 02:58PM |
Registered: 18 years ago Posts: 125 |
Re: Adding a new page to a theme... April 30, 2007 07:06PM |
Registered: 18 years ago Posts: 125 |
Sorry, only registered users may post in this forum.