Hello
does anyone know which .tpl file to edit if i want to add a registration button in the affiliate login page ?
/clients/affiliates.php
thanks
Hello
does anyone know which .tpl file to edit if i want to add a registration button in the affiliate login page ?
/clients/affiliates.php
thanks
I really wish to have an answer for this .
i know it looks like it's not possible but i need a confirmation .
hi u have to great a free Package so that user
is sign up !
like this
"quantushosting.net/whmcs/order.php?step=2&pid=7"
hope this helps
I know that but i want to add a button in clients/affiliates.php file to redirect the clients to that free package when clicked.Originally Posted by dbosch
thanks
Did you find out how to have this redirect tp the free package order form?
Thinking
No , i do not think it is possible because the affiliates.php is encrypted and looks like the only way to add it is in that file.
This is possible. You never add code to the PHP files - all code goes in the templates. In this case it would be affiliates.tplOriginally Posted by joe123
I tried that but if you say so i must of done something wrong , i will give it another try.
Thanks
affiliates.tpl is for the client when he is logged in as i can see it , and it's not possible to add any button to register to be visible when clients/affiliates.php is called.
I gave up !
thanks
Indeed it is. Try the template file affiliatesignup.tpl - all the templates are named what they are for so it should be possible to work out which template is used where.
Matt
NO it's not affiliatesignup.tpl , it's the login.tpl but if i make any changes there it will be visible in both clientarea.php and affiliates.php because both use this file . i guess the only way to do it is make a new affiliates.php file , which is not that complicated.
thanks
Or you could just use an if statement in the login file.
Code:{if $pagetitle eq "Affiliates"}Display your button code here{/if}
great !
that code did the job
thanks very much matt