Answer the question
In order to leave comments, you need to log in
How to properly expand the functionality in October Cms?
1. How to correctly change the output template of third-party plugins? So far I've tried copying the .htm files of the plugin to the partials of the theme, editing what you need, and calling not {% component 'example' %}, but {% partial 'example' %}, but judging by the documentation, there are some limitations in partials compared to with components.
2. How to properly expand the functionality of existing plugins. Do I need to create my own plugin and use functions in it to add, for example, additional columns to the table and tabs with fields in the admin panel.
3. How to create an analogue of custom post types, such as portfolios or projects. Create a plugin for each type and do everything in it, or is there another way?
4. If there is a need for your own php-function, which will be called on different pages, then where to place it?
Answer the question
In order to leave comments, you need to log in
1) copy the folder with templates from the component into partials and name it as component
{% component 'carousel_list11' %}
/partials/carousel_list11/
2) yes, you create your own plugin and extend the installed ones using the Event class or other methods ( see documentation )
3 ) Probably easier to tie them to different categories. But you can extend the blog plugin with a custom plugin: add a table, add a field to the form, etc.
4) Pay attention to the php code section at the beginning of the page template. You can also create your own component and add it to the layout.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question