|
C
|
cgphp 6/11/2012 |
|
In the "Before display" event of the List page, enter the following code: $xt->assign('fieldname_fieldheader',$xt->getvar("fieldname_value") == 1);
$xt->assign('field1_fieldheader',$xt->getvar("field1_value") == 1); |
|
|
M
|
maxcolo author 6/12/2012 |
|
Hi Cristian, |
|
|
C
|
cgphp 6/12/2012 |
|
Post your code. What is the db type field? INT or VARCHAR? |
|
|
M
|
maxcolo author 6/14/2012 |
|
The Field are INT |
|
|
C
|
cgphp 6/14/2012 |
|
Make sure prod1 is the real name of the field. |
|
|
M
|
maxcolo author 6/14/2012 |
|
This is the SQL table |
|
|
C
|
cgphp 6/14/2012 |
|
Go to the Visual editor of the List page, switch to html and check if the prod1_fieldheader exists. |
|
|
M
|
maxcolo author 6/14/2012 |
|
Hi Cristian, |
|