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!

SUPER IMPORTANT: Pass values directly in function calls

healyhatman 13 Jun, 2018
1 Likes
So this is very important to me because it has allowed me to for example have one link element that I can reuse across multiple tables, or one function that works anywhere.

You can pass values when you make a {fn:} or {view:} call!

So for example, {fn:my_function$value1=myvalue&value2=myothervalue}

Then in your function you can use
{var:value1} and {var:value2}

You can combine all this information to make complex filter links that work in multiple tables across multiple events. For example:
COLUMN VIEW:
worker.name:{view:generic_filter_by_worker$data_worker_name=(var:timesheets_list.row.worker.name)&data_worker_id=(var:timesheets_list.row.timesheet.user_id)}
healyhatman 13 Jun, 2018
If you want to use a link as a filter in more than one event, just set its event to {data:event} to submit it to itself.
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