linuxUser Posted November 14, 2011 Share Posted November 14, 2011 (edited) Hi, How can I add Client name field in Affiliates page? Please check my screenshot below. if it requires any manual modification then which file can i edit? I know it will require database query and other things but I need to know the actual file name to edit it. Thanks Edited November 14, 2011 by linuxUser 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted November 14, 2011 Share Posted November 14, 2011 You should be able to modify the affiliates.tpl file to make changes to this. You can also execute PHP calls in there if you need to make some database queries. 0 Quote Link to comment Share on other sites More sharing options...
linuxUser Posted November 14, 2011 Author Share Posted November 14, 2011 (edited) Can you show me how to do coding on this page? I don't see any SQL query in affiliates.tpl . I can't find declaration in that page. For example what is declaration of {$referral.service} ? etc. Thanks Edited November 14, 2011 by linuxUser 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted November 18, 2011 Share Posted November 18, 2011 Throw a {$debug} somewhere on there, it'll show you all the defined variables. You can execute PHP from within {php} tags if you do not have the variable available that you need. 0 Quote Link to comment Share on other sites More sharing options...
filipeapsilva Posted February 9, 2012 Share Posted February 9, 2012 also could not display the domain, how do I? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted February 9, 2012 Share Posted February 9, 2012 Did you add {debug} to the template file? That should show the available variables. the domain is not likely to be available as the affiliates page isnt specific to a single product. You could do some PHP code to pull all the customer domains into an array for display if you wanted to. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.