ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

fn in row doesn't appear

webcrea 23 Jun, 2017
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
Max_admin 23 Jun, 2017
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
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
webcrea 24 Jun, 2017
Answer
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
Max_admin 25 Jun, 2017
Hi Christophe,

You mean an underscore in the function name ? that should not be a problem.

Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
webcrea 25 Jun, 2017
1 Likes
Hi Max,

So i don't understand, now it works well with underscore!!!

Regards
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com