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

iillexial5598
iillexial5598

Hi. I want get param in my view from my component. i try:

    public function onRun()
    {
        $this->page['pageParam'] = '1';
    }

And my view:

{{ this.pageParam }} 

But it's not working. How i can make this?

Daniel81
Daniel81

If you use $this->page['pageParam'] = "1" you only need to use {{ pageParam }}

1-2 of 2

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