Page 1 of 1

custom template - field not viewed correctly

Posted: Fri Mar 24, 2017 8:46 pm
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?


Re: customer template - field not viewed correctly

Posted: Sat Mar 25, 2017 9:12 am
by arbei

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


Re: customer template - field not viewed correctly

Posted: Sat Mar 25, 2017 12:46 pm
by mobhar

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


Re: customer template - field not viewed correctly

Posted: Thu Mar 30, 2017 6:51 pm
by alescotti73

it was that, thanx