File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,21 @@ Hero component
5252==============
5353
5454``djangocms-frontend `` allows developers to extend its functionality by creating
55- template components**. In this tutorial, we will create an **Hero component **
55+ ** template components **. In this tutorial, we will create an **Hero component **
5656with the following fields:
5757
5858- ``title ``: A required text field.
5959- ``slogan ``: A required text area field.
6060- ``hero_image ``: A required image field.
6161
62- This component will be stored in a template directory named ``<app_name>/cms_components ``,
63- as required for ``djangocms-frontend `` template components.
62+ This component will be stored in a template directory named ``<app_name>/cms_components ``
63+ (or any subdirectory thereof).
64+
65+ .. note ::
66+ You can change the location of your template components inside your template directory
67+ by setting the :attr: `DJANGOCMS_FRONTEND_COMPONENT_FOLDER ` setting. The default is
68+ ``cms_components ``. If you change it, you need to adjust the directory structure accordingly.
69+
6470
6571Directory Structure
6672-------------------
You can’t perform that action at this time.
0 commit comments