custom template - field not viewed correctly

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

custom template - field not viewed correctly

Post by alescotti73 »

I've used custome template on the list page
in the first iy works well, here's the code
<tr{{{row_attrs}}}>
<td>
<div class="ewRow">
<span class="ewCell"><b>{{{Title}}}</b></span>
<span class="ewCell">{{{Description}}}</span>
<br><br>
<span class="ewCell">{{{Username}}}</span><br>
<span class="ewCell">{{{caption Date_Creation}}} - {{{Date_Creation}}}</span><br>
<span class="ewCell">{{{Publish_Type}}}</span>
</div>
<div class="ewRow">{{{list_options_2}}}</div>
</td>
</tr>

In the second and third it doesnt, cause on the screen i got like
"test2
test
#tpx1_faq_Description

johndoe
Date Creation - #tpx1_faq_Date_Creation
Private Content"

and this is the code
<tr{{{row_attrs}}}>
<td>
<div class="ewRow">
<span class="ewCell"><b>{{{Title}}}</b></span><br>
<span class="ewCell"><b>{{{Category}}}</b></span><br>
<span class="ewCell">{{{Description}}}</span>
<br><br>
<span class="ewCell">{{{Username}}}</span><br>
<span class="ewCell">{{{caption Date_Creation}}} - {{{Date_Creation}}}</span><br>
<span class="ewCell">{{{Publish_Type}}}</span>
</div>
<div class="ewRow">{{{list_options_2}}}</div>
</td>
</tr>

can someone help me?


arbei
User
Posts: 9373

Post by arbei »

Make sure the option "List" for the field "faq_Date_Creation" is enabled then try again.


mobhar
User
Posts: 11712

Post by mobhar »

Make sure you have already enabled "List" from "Fields" setup -> "List Page" that belong to "Description" and "Date_Creation" fields.


alescotti73
User
Posts: 57

Post by alescotti73 »

it was that, thanx


Post Reply