Skip to content

Commit 3aae21a

Browse files
committed
Rename tutorials and restore Custom Frontend Component name (without the 'CMS')
1 parent 47e7a67 commit 3aae21a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/source/tutorial/custom_components.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
.. _custom_components:
22

33
#######################################
4-
Building Custom CMS Frontend Components
4+
Building Custom Components With Form Classes
55
#######################################
66

77
.. index::
88
single: Custom frontend components
99

1010
.. versionadded:: 2.0
1111

12-
In this tutorial, we will explore how to create custom **CMS Frontend Components**. These are more
12+
In this tutorial, we will explore how to create custom **Frontend Components**. These are more
1313
versatile than :ref:`template_components`, but require some minimal Python coding.
1414

1515
You create a custom frontend component by subclassing the ``CMSFrontendComponent`` class to
@@ -21,7 +21,7 @@ Hero CMS component example
2121
==========================
2222

2323
In this tutorial we will create again a **Hero component** similar to the one in the
24-
:ref:`previous chapter <template_components>`, but this time via code.
24+
:ref:`previous chapter <template_components>`.
2525

2626
Directory Structure
2727
-------------------

docs/source/tutorial/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ that gets the job done for your project.
2323
needed. This is the fastest approach to create ``djangocms-frontend`` components.
2424
Template-based (or auto) components are auto-detected.
2525

26-
3. **Custom CMS Frontend Component** development – A more advanced method that lets you create
26+
3. **Custom Frontend Component** development – A more advanced method that lets you create
2727
custom components with **minimal code**. This approach is more flexible than the
2828
template-based method, but requires some Python coding providing more control over
2929
the components add and change forms, for example.

docs/source/tutorial/template_components.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _template_components:
22

33
############################
4-
Building Template Components
4+
Simplified Component Creation with Templates
55
############################
66

77
.. index::
@@ -265,7 +265,7 @@ Template components are a powerful tool for developers, but they have some limit
265265
Classes are instantiated by default, for example. This is ok for ``widget=forms.Textarea``, but potentially not
266266
for more complex cases.
267267

268-
For more powerful customization options, consider building a :ref:`custom CMS Frontend Component <custom_components>`
268+
For more powerful customization options, consider building a :ref:`custom Frontend Component <custom_components>`
269269
or a :ref:`custom Plugin<how-to-add-frontend-plugins>`
270270

271271

0 commit comments

Comments
 (0)