mirzaaghazadeh Posted October 31, 2023 Share Posted October 31, 2023 Hi, in clientareahome i need to access to one of functions of my modules how can i access? 0 Quote Link to comment Share on other sites More sharing options...
0 leemahoney3 Posted October 31, 2023 Share Posted October 31, 2023 (edited) I'm not entirely sure I understand the question, however you can add additional Smarty variables to your client area templates using hooks. E.g. for client area pages use the ClientAreaPage hook which allows you return additional variables. You can do a check in the hook to only run on certain pages if necessary. https://developers.whmcs.com/hooks-reference/client-area-interface/#clientareapage Edited October 31, 2023 by leemahoney3 0 Quote Link to comment Share on other sites More sharing options...
0 mirzaaghazadeh Posted November 1, 2023 Author Share Posted November 1, 2023 12 hours ago, leemahoney3 said: I'm not entirely sure I understand the question, however you can add additional Smarty variables to your client area templates using hooks. E.g. for client area pages use the ClientAreaPage hook which allows you return additional variables. You can do a check in the hook to only run on certain pages if necessary. https://developers.whmcs.com/hooks-reference/client-area-interface/#clientareapage i need to retrun a varibles of module in client home page 0 Quote Link to comment Share on other sites More sharing options...
0 leemahoney3 Posted November 2, 2023 Share Posted November 2, 2023 I think the hook I referred to above would best suit your needs to add additional variables from your module to your Smarty templates. Which module does this relate to and which variable are you looking to expose? 0 Quote Link to comment Share on other sites More sharing options...
Question
mirzaaghazadeh
Hi,
in clientareahome i need to access to one of functions of my modules
how can i access?
Link to comment
Share on other sites
3 answers to this question
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.