1. Read Data
2. Event Switcher
Data provider: {var:read_data.model.user_id}
Events: {user:id}
3. Display Section inside {user:id} event.
4. Debugger
Naming the event "964" directly works and shows the display section. Naming the event "{user:id}" does NOT work. (my user id is 964)
What am I missing?
Also, how can I determine what happens if none of the event names fit the data provider? (Can't find anything on that in the manual)
Array
(
[article_id] => 12
[event] => edit
[aef27140db7210fbf793f9cdb818be07] => 5269c28ed3b37f3b1e371ba8118eb658
[joomla_user_state] => logged_in
[Itemid] => 194
[option] => com_content
[view] => article
[id] => 58
[edit-offer] =>
)
Array
(
[read_data11] => Array
(
[log] => Array
(
[0] => SELECT `myoffers`.`aid` AS `myoffers.aid`, `myoffers`.`user_id` AS `myoffers.user_id`, `myoffers`.`created` AS `myoffers.created`, `myoffers`.`modified` AS `myoffers.modified`, `myoffers`.`pirate_name` AS `myoffers.pirate_name`, `myoffers`.`category` AS `myoffers.category`, `myoffers`.`title` AS `myoffers.title`, `myoffers`.`products` AS `myoffers.products`, `myoffers`.`price_poe` AS `myoffers.price_poe`, `myoffers`.`operator` AS `myoffers.operator`, `myoffers`.`price_doubloons` AS `myoffers.price_doubloons`, `myoffers`.`type` AS `myoffers.type` FROM `yfk_chronoforms_data_place-offer` AS `myoffers` WHERE `myoffers`.`aid` = '12' LIMIT 100;
)
[var] => Array
(
[myoffers] => Array
(
[aid] => 12
[user_id] => 964
[created] => 2018-03-07 18:28:49
[pirate_name] =>
[category] => Ship(s)
[title] => Testoffer Sloopdog
[products] => some products
[price_poe] => 1
[operator] => or
[price_doubloons] => 2
[type] => Buying
)
)
)
)
Thanks for help!