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!

shortcode for Update conditions in Save Data with data Provider

emmexx 28 Nov, 2017
If I'm not missing something in the docs, faqs and forum, it is not straightforward to enter the update conditions when using something like a loop.
Now you have to write something like
myfield:{var:loop_name.row.fieldinloop}
or longer.
loop_name here is the name of a loop that calls the save action or function.
And the Save data Data Provider property is set to {var:loop_name.row}.

Wouldn't it be easier to be able to access the values using an ad hoc short command that references the provided data and not the loop?

bye
maxx
Max_admin 29 Nov, 2017
Hi maxx,

Do you have a specific suggestion ? I could not come up with an easier shortcode for loops🙂

Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
emmexx 29 Nov, 2017
Do you have a specific suggestion ? I could not come up with an easier shortcode for loops

{this:fieldName} ?

If an array is in the Data Provider you can reference what is in the array.

I f the Data provider is {var:loop_event15.row} and the row is
(
  [brand] => BMW
  [model] => M6
)
{this:brand} or {this:model} would be easier to understand and remember.

bye
maxx
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