hi,
I create a simple function get_fonds_vl
$html = "(444)";
return $html;
in table views
Columns list
fonds.lastvl:Valeur
Columns views
fonds.lastvl:{fn:get_last_vl}
And nothing appear in the column on the front !!! It should be (444) in each row
An idea
I create a simple function get_fonds_vl
$html = "(444)";
return $html;
in table views
Columns list
fonds.lastvl:Valeur
Columns views
fonds.lastvl:{fn:get_last_vl}
And nothing appear in the column on the front !!! It should be (444) in each row
An idea
Hi Christophe,
When you use "return" in the function then the value will be under {var:fn_name}, but if you use "echo" then the value will be directly displayed, which is what you need to do here.
Best regards,
Max
When you use "return" in the function then the value will be under {var:fn_name}, but if you use "echo" then the value will be directly displayed, which is what you need to do here.
Best regards,
Max
Hi Max,
I tried
in the function
echo "444";
or
return "444";
and in view
fonds.lastvl:{fn:get_last_vl}
or
fonds.lastvl:{var:get_last_vl}
in all combination and nothing appears in the column
Without underscore it works 😀
thanks
I tried
in the function
echo "444";
or
return "444";
and in view
fonds.lastvl:{fn:get_last_vl}
or
fonds.lastvl:{var:get_last_vl}
in all combination and nothing appears in the column
Without underscore it works 😀
thanks
Hi Christophe,
You mean an underscore in the function name ? that should not be a problem.
Best regards,
Max
You mean an underscore in the function name ? that should not be a problem.
Best regards,
Max
This topic is locked and no more replies can be posted.