CMS 27.11.2015 2773 Feedback Status: Closed Solution: Yes bluesatkv
Hi Jerome,
How can I use custom template for plugin e.g. FAQ or Blog?
In template folder in plugin (FAQ or Blog) are some files. I can edit this files or can I create new folder with custom template files?
Thanks for your support.
Thank you for opening a support ticket.
Each plugin has his own template directory. You can edit the files of course, however I would suggest to adapt the classes used for the plugin in your new template/stylesheet.
For example the blog plugin, to show blog posts we have used following code:
You have two options now, you can either change the code and classes or the easier way would be rename the classes from your exisiting stylesheet to fit the code above, that way you can swap between templates without changing code again. The stylesheet from the jakweb template is commented through so you will find the connected classes from line 546.
Many thanks. Close please.
Jerome,
I like your CMS
I have idea. It is possible created better system for plugin template. I think that your solution is more complicated.
For example:
It is possible created folder in template folder 'jakweb' where we can store all the templates plugins?
That would be possible of course, but if someone want to create a new template he has to create a folder for each plugin for the the new template, otherwise the system does not work anymore.
Will be implemented within CMS 1.5 thank you for your suggestion.
*** Ticket closed ***