| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Add new "Affiliate Tools Page" to Partner area | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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:
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:
__________________
Jazzer CloserToTheDream.com X-Cart 4.0.12 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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? ![]()
__________________
Jazzer CloserToTheDream.com X-Cart 4.0.12 |
|||||||
|
|||
X-Cart forums © 2001-2020
|