custom template field display (v2019)

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

custom template field display (v2019)

Post by Quincyhazz »

I created a custom template for the master record page and some fields display #tpc_tablenamel_fieldname instead of the field contents. Other fields display the field content as expected. here is an example of the code:
<span class="ew-cell"><strong>{{{caption AA_SG}}}:</strong> {{{value AA_SG}}}</span> . The caption displays correctly but the field displays #tpc_tablename_AA_SG. I am using PHPMaker 2019.


arbei
User
Posts: 9406

Post by arbei »

Make sure the field is selected for the List page of the master table. From the help file (see the topic Custom Templates in the help file):
The fields in the Custom Template cannot be more than the original script. The available fields are same as the original script, if you try to include other fields in the table or from other table by Custom Template, it will NOT work.


Quincyhazz
User
Posts: 28

Post by Quincyhazz »

Thank you very much. Your answer was spot on.


Post Reply