Jump to content

Affiliates Template Page


Thx1138.6

Recommended Posts

I'm trying to the add some content to the affiliates page (affiliates.php) and so am working on the affiliates.tpl file. However, none of my changes are showing up. So I assume I must have the wrong template file.

 

OR maybe I'm going about it the wrong way. How are other people displaying their affiliate program details to potential affiliates?

 

Any advise would be appreciated

Link to comment
Share on other sites

Yes I am using the correct template, though I have made changes to both of them just in case.

 

I have made certain I am using the correct template in my configuration but again I have made changes to all three (my own, portal and default) just to make sure.

 

I have made sure that the option to register without buying a product is enabled and that the affiliate program is enabled.

 

At this point the only thing I can think of is that syntax (code) I am using to display the added connect is wrong.

 

For instance this is how I am getting the register link to show up:

 

{if !$loggedin}

<br><p align="left"><a href="../billing/register.php">Sign me up! I want to be an affiliate</a><br>

{/if}

 

I must be missing something or simply don't have the correct syntax.

 

Any further help would be greatly appreciated.

Link to comment
Share on other sites

Fixed it...

 

Since you have to be logged in to enable the affiliate program the affiliates.php page display the login.tpl file. So this is the file that needed to be updated.

 

Still its a kooky way of doing it. Really the affiliates.php should be used to register new affiliates and allow them to login if they are already an affiliate.

 

I have since created my own page for this purpose.

 

Thanks to everyone who offered their help!

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated