renderPartial not found in Plugin

I have a situation where i need to render a partial or an htm file from a plugin and not from a theme.

currently i am doing it like this


the renderPdf directory is in the theme. but i want to have this directory in my plugin. is there anyway to do this?

I tried


but i got an error that

the partial [/plugins/wa/form/controllers/formsubmissionfeedback/renderPdf/_renderData.htm] not found

thanks alot

Hi @ibrarartisan

Take a look at the documentation on rendering views from plugins:

1 Like

@daft thanks alot. I was looking it completely the wrong way.

1 Like