![]() |
Add new "Affiliate Tools Page" to Partner area
I want to add a new page to the affiliate area called "Affiliate Tools" which explains details of how to use the Affiliate area. It's a page which must have the same left-hand navigation as the rest of the partner area, therefore creating a static-page is out of the question. So here's what I've tried to do.
I created the file partner/main/tools.tpl which I want to be called from partner/tools.php I added the following line to partner/home.tpl Code:
{elseif $main eq "tools"} {include file="partner/main/tools.tpl"} then I made a copy of partner/stats.php and renamed it partner/tools.php Can someone modify the code in this file to call partner/home.tpl and include the tools.tpl file that i have created? Here's the code from the tools.php file that I created (it's just a duplicate of stats.php but it's a start. I'm not a php kind-a-guy so any help would be appreciated. partner/tools.php Code:
require "./auth.php"; |
I've been thinking about this and maybe I'm going about it all wrong. Perhpas I could add an embedded static page and somehow modify the help.php file to display the partner area menu for that particular static page using and {if}{else} statement?
Would that work? Anyone? :) |
All times are GMT -8. The time now is 10:08 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.