serge Posted June 10, 2015 Report Posted June 10, 2015 In this client template: client_services_serviceinfo.pdt I would like to get value for: - client_id - service_id all my try did not work, any idea? Quote
Blesta Addons Posted June 10, 2015 Report Posted June 10, 2015 i the top of the pdt file n print the "services" var and chearch in it the var you need . print_r($services); serge 1 Quote
Tyson Posted June 10, 2015 Report Posted June 10, 2015 for each service $i Service ID: $services[$i]->id Client ID: $services[$i]->client_id endfor serge 1 Quote
serge Posted June 11, 2015 Author Report Posted June 11, 2015 by the way, I was not in the good template for my goal, the good one was: client_services_manage.pdt and this code was working: <?php echo "Service ID:" . $service->id . "<br>" ; echo "Client ID:" . $service->client_id . "<br>" ; ?> Quote
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.