WebHostCentral UK - Dean Posted February 12, 2015 Report Posted February 12, 2015 I would like to know if their is a way to change a product label on a customers service I.e Dedicated IP label to say the IP they have been given i.e Some SSL products that was imported do not have a label or the label is their username for cPanel.. Is there a way we can change this manually? Even if i need to go into phpmyadmin and manually change this? Thanks for the help in advance Quote
0 Michael Posted February 12, 2015 Report Posted February 12, 2015 Ah bloody WHMCS crap lol. Yeah you'll have to edit the database. Or re-add it (Cancel and re-order without using the module, then edit the renewal date). Quote
0 Tyson Posted February 12, 2015 Report Posted February 12, 2015 Depending on the module used for those services, you could click the 'Manage' link next to each service and change the first package service option listed (if any is available). Some modules (e.g. Universal Module) use that first service option as the label. Other modules may reference a specific service field as the label, which you might have to update the database to change if it is not available as a service option when managing the service. They are stored in the `service_fields` table. Quote
0 WebHostCentral UK - Dean Posted February 12, 2015 Author Report Posted February 12, 2015 Thank you guys! Yeah i will take a look this evening and see what i can do with it! I like the client area looking spot on! those little things bug me Quote
0 bobs@sectorlink Posted November 25, 2015 Report Posted November 25, 2015 I'm following what Tyson said....So basically, I'm fetching the following: SELECT `value` FROM `service_fields` WHERE `service_id`=:sid && `serialized`='1'....I then unserialize it, to get an array, at that point I add a label to the array and serialize it back up and update the database. Super, that creates the label in the DB, where is the MVC for /admin/clients/view/ Services, so I can display my new label?? Not sure, if this matters, but this is on the Proxmox V2 module, but we use other modules as well... Thanks, for all the excellent support. Quote
0 Tyson Posted November 26, 2015 Report Posted November 26, 2015 The label to use is defined by the module, so in your case that would be the Proxmox v2 module. You would want to update that module under /components/modules/YOURMODULE/YOURMODULE.php of your Blesta installation. The label should exist in the service fields and be returned from the getServiceName method. Here's an example. Quote
Question
WebHostCentral UK - Dean
I would like to know if their is a way to change a product label on a customers service
I.e Dedicated IP label to say the IP they have been given
i.e Some SSL products that was imported do not have a label or the label is their username for cPanel.. Is there a way we can change this manually?
Even if i need to go into phpmyadmin and manually change this?
Thanks for the help in advance
5 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.