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

Akhil
Akhil

I am developing a plugin with components. While accessing component with specific partial {% partial 'tvShow::listOnHomePageSlidTvShows' %} i want to pass the some values to
components but not found any syntax on website.

                           I want to do like this {% partial 'tvShow::listOnHomePageSlidTvShows'  maxItems="7" %}  but it is not working. Let me know if you have any idea.
Flynsarmy
Flynsarmy

In your component use $this->propertyOrParam('maxItems').

Last updated

1-2 of 2

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