This project is read-only.


Topics: Administration, Core, Customizing Orchard, General, Writing modules, Writing themes
Jul 26, 2015 at 7:46 AM
Currently when i publish a template, it render in both of Admin and Front theme. I think this is bad idea. How can i prevent rendering templates in Admin theme?
For example i created "Menu" template to change menu of front theme. But it destroyed Admin menu.
Jul 27, 2015 at 12:33 PM
Interesting. The templates you create are actually harvested as shapes, so it's not hard to shoot yourself in the foot.
Perhaps the shape table provider should be updated to only render the shapes on the front end theme like you said. Not sure how that would work, but maybe open an issue for this on GitHub and see what the others say.
Jul 28, 2015 at 9:56 AM
Thank you so much. Your explanation was enlightening. Also i'm going to open an issue on GitHub now.