This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

chrisiek
chrisiek

My onRun() function that is placed in component class is run every time a new picture from currently loaded page is loaded.

public function onRun()
{
    $routeParameter = $this->property('paramCode');
    if ($this->param($routeParameter)) {
        trace_log("found code: ".$this->param($routeParameter));
    else { ....

 [2016-07-23 11:23:31] local.INFO: found code: after_password_small_change.png  
 [2016-07-23 11:23:31] local.INFO: found code: before_password_small_change.png  
 [2016-07-23 11:23:31] local.INFO: found code: when_red_in_editor.png 

According to documentation only adding a component to page causes to execute onRun().

Am I missing something?

Chris

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.