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 everyone,
I am currently working on a theme with a custom editing experience. I decided that the editor/widget will be released as a part of my existing free plugin and the theme will provide some details/implementation to the plugin about how it should render it contents. My question is: can I release a theme which contains a php class in a .php file on marketplace? It will use arbitrary namespace as it will be loaded manually, thus not follow any autoload standard. The plugin will take care of loading the .php file and registering the class in the DI container, if currently selected theme has the implementation file.
I guess the different way of doing this, is to provide a plugin for the theme. Will probably use this method if the stated is unsupported.
Thank you in advance. Daniel
1-3 of 3