This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello,
I'm trying to write a component to list some records of a model I created. I can make a basic listing in the default.html file all work as expected.
Now I need to create an option in my component in order to choose between several template files. I already created the component option that list all available files under the component folder (default.htm, grid.htm, accordion.htm, etc....).
Now I want to load the correct template file depending on that option. I don't know where to say to my component "Please, load the grid.htm file instead of default.htm"
If somebody can point me the right direction, it would be appreciated.
Thanks
1-1 of 1