AllToolKits.com Posted October 27, 2015 Report Posted October 27, 2015 Hi, I am trying to display some data when i click a service. At the moment i got 'This service has no details.' message. We need to modify public function getAdminServiceInfo($service, $package) { return null;} to display any data i want, right? I just tried public function getAdminServiceInfo($service, $package) { return "hi";} But hi is not displayed. I should re install the module? if so is there anyway to take backup of module and then reinstall it? Quote
0 Tyson Posted October 27, 2015 Report Posted October 27, 2015 You don't need to reinstall the module. Returning a string is fine, and in fact, what you've described displays under the service row in the admin interface for me. Michael 1 Quote
0 AllToolKits.com Posted October 27, 2015 Author Report Posted October 27, 2015 You mean, for you it's dispaying "hi" ? Quote
0 Tyson Posted October 27, 2015 Report Posted October 27, 2015 With this in the module: public function getAdminServiceInfo($service, $package) { return "hi"; } Yes, I see "hi" when I click on a service table row on the client's page in the admin UI. That is where you are looking for it, correct? Quote
Question
AllToolKits.com
Hi,
I am trying to display some data when i click a service. At the moment i got
'This service has no details.' message.
We need to modify
public function getAdminServiceInfo($service, $package) {
return null;
}
to display any data i want, right?
I just tried
public function getAdminServiceInfo($service, $package) {
return "hi";
}
But hi is not displayed. I should re install the module?
if so is there anyway to take backup of module and then reinstall it?
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.