ISH Posted January 28, 2019 Share Posted January 28, 2019 Hi, Dear community users, Shows the number in active service in the customer interface. We want to show the number in active service with the group but we relevant product. For example: Dedicated Servers Virtual Servers Web hosting, etc. We need hooks with Client Area Homepage Tiles (not Panels) In these groups you have active or is it possible to show how Total product number. all shows the number of currently active services. I thank everyone in advance 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 29, 2019 Share Posted January 29, 2019 On 28/01/2019 at 13:48, ISH said: We want to show the number in active service with the group but we relevant product. For example: Dedicated Servers Virtual Servers Web hosting, etc. do you mean these... ? On 28/01/2019 at 13:48, ISH said: We need hooks with Client Area Homepage Tiles (not Panels) the only way you could alter them with a hook would be to replace the values within the existing variables used with new values - probably by querying from the database.... you could change the labels using Language Overrides... but you couldn't change the FA5 icons with a hook as they're coded in the template. On 28/01/2019 at 13:48, ISH said: In these groups you have active or is it possible to show how Total product number. if you wanted to get totals by product groups, you would have to query the database using a ClientAreaPageHome action hook. if you just wanted to show total number of services, then the simplest way is to edit the clientareahome.tpl template and change {$clientsstats.productsnumactive} to {$clientsstats.productsnumtotal}... I suppose you could use a hook to replace the values in $clientsstats if you had to... but if you're going to change these tiles to show product groups, then you're really looking at editing the template AND using potentially hooks (depending on if the values are already available to the template). there's nothing to stop you adding more tiles to the row, or outputting them in a different way - but you will need to edit the template to do that.... 0 Quote Link to comment Share on other sites More sharing options...
ISH Posted January 29, 2019 Author Share Posted January 29, 2019 On 1/28/2019 at 7:18 PM, ISH said: Hi, Dear community users, Shows the number in active service in the customer interface. We want to show the number in active service with the group but we relevant product. For example: Dedicated Servers Virtual Servers Web hosting, etc. These are product groups.(gid) If a client have active product in groups need to display in Homepage Tiles 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 29, 2019 Share Posted January 29, 2019 49 minutes ago, ISH said: These are product groups.(gid) If a client have active product in groups need to display in Homepage Tiles and what if he has products in 10 product groups ? you can't have 10 different tiles there! 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.