Please Log in or Create an account to join the conversation.
Yes, you access them the same way you would with CB triggers using var1, var2, etc..But it raised the question: What if I needed to access the parameters? Can I?
Joomla events are documented in Joomla documentation.Is this documented somewhere? I searched for joomla_on and found nothing relevant.
Since $article is the second variable of the event you'd access it with [var2], but since it's an object you'd need to access its properties. For title specifically you'd use [var2_title].How would I get to that in my Auto-Action?
You can access them from a Code action using the $variables variable. So for example $variables->title for article title. You're not required to use a code action as they can be substituted fine (see above quote). If you need to modify the variables by reference you can do so from a Code action our the Output after setting the appropriate variable as a reference variable under the parameters tab.Would I need to use a Code action and could I just use that type of reference?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.