CustomTemplateBody get field in php for each record

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
servgas
User
Posts: 55

CustomTemplateBody get field in php for each record

Post by servgas »

Hi, please using CustomTemplateBody at List Page server event, I need to pull a value to use in php for each record.

This is my code, but it shows the latest record data, how can I get this field value for each record?. is it possible?

<?php
print CurrentPage()->TicketID->CurrentValue;

thank you


arbei
User
Posts: 9719

Post by arbei »

You should use Custom Template Tags. You cannot use PHP code because Custom Template is JavaScript and is only rendered after the whole page is rendered by PHP.


Post Reply