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

delphinium
delphinium

Is it possible to render a partial from Plugin A - Component A in Plugin B - Component B? I have the name and path to Partial A, but want to render it in Component B, is that possible? renderPartial seems to assume that the partial is contained in the component

delphinium
delphinium

I can pull the component class in and call renderPartial from that class, but I get the following error

"Call to a member function setComponentContext() on null"

because the $this variable has not been properly initiated. Is there a way to initiate the $this variable for a component without loading it on a page?

1-2 of 2

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