This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
miguelcamguse
Can I use "type: partial" in theme customization? And what should be the path of the "_partial.htm"?
daftspunky
This is currently supported if the theme name is known and won't change. If the theme is called demo you could place it inside a directory called views/mypartial.htm
form:
fields:
my_partial:
label: Found partial
type: partial
path: ~/themes/demo/views/mypartial.htm
I have made a note to improve this ability in the future.
1-2 of 2