-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add explanation for publishing workflow. Format uniformly.
- Loading branch information
Showing
29 changed files
with
962 additions
and
594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ django~=4.2 | |
git+https://github.com/django-cms/django-cms@release/4.1.x | ||
codespell | ||
pip-tools | ||
docstrfmt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,30 @@ | ||
Aliases | ||
####### | ||
======= | ||
|
||
.. include:: ../alias-note.rst | ||
.. include:: ../alias-note.include | ||
|
||
|
||
In Django CMS, the Alias plugin is a powerful tool that enables content editors to display in as many places as they like without duplicating it. Essentially, it creates a reference or link to content that resides in a separate place - called an "Alias". | ||
In Django CMS, the Alias plugin is a powerful tool that enables content editors to | ||
display in as many places as they like without duplicating it. Essentially, it creates a | ||
reference or link to content that resides in a separate place - called an "Alias". | ||
|
||
Key aspects of the Alias plugin include: | ||
|
||
1. **Content Replication:** Rather than copying content, the alias content is referenced either in a page template or by using the Alias plugin. | ||
|
||
2. **Cross-Page Content Sharing:** It facilitates sharing content across different pages within the site. For instance, if there's a section that needs to appear in multiple places but should have consistent content, the aliases can be employed to achieve this. | ||
|
||
3. **Maintaining Consistency:** Using aliases ensures consistency in content across various parts of the website. If the original content gets updated, all aliases referencing it will reflect those changes instantly. | ||
|
||
4. **Saves Effort and Reduces Errors:** Instead of manually replicating content across multiple pages (which could lead to discrepancies or errors), the Alias plugin streamlines the process and reduces the chance of inconsistencies. | ||
|
||
5. **Ease of Management:** Content editors can manage content in one place while displaying it in multiple locations, making it easier to maintain and update information without having to navigate through numerous pages. | ||
|
||
In essence, aliases in Django CMS serves as a smart reference system, allowing content editors to reuse existing content across the site while maintaining consistency and efficiency in content management. | ||
1. **Content Replication:** Rather than copying content, the alias content is referenced | ||
either in a page template or by using the Alias plugin. | ||
2. **Cross-Page Content Sharing:** It facilitates sharing content across different pages | ||
within the site. For instance, if there's a section that needs to appear in multiple | ||
places but should have consistent content, the aliases can be employed to achieve | ||
this. | ||
3. **Maintaining Consistency:** Using aliases ensures consistency in content across | ||
various parts of the website. If the original content gets updated, all aliases | ||
referencing it will reflect those changes instantly. | ||
4. **Saves Effort and Reduces Errors:** Instead of manually replicating content across | ||
multiple pages (which could lead to discrepancies or errors), the Alias plugin | ||
streamlines the process and reduces the chance of inconsistencies. | ||
5. **Ease of Management:** Content editors can manage content in one place while | ||
displaying it in multiple locations, making it easier to maintain and update | ||
information without having to navigate through numerous pages. | ||
|
||
In essence, aliases in Django CMS serves as a smart reference system, allowing content | ||
editors to reuse existing content across the site while maintaining consistency and | ||
efficiency in content management. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
.. _user-explanation: | ||
|
||
######## | ||
Concepts | ||
######## | ||
======== | ||
|
||
.. include:: ../contribute-note.include | ||
|
||
django CMS uses some specific concepts. This section explains those concepts from a content editor perspective. | ||
django CMS uses some specific concepts. This section explains those concepts from a | ||
content editor perspective. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
placeholders | ||
plugins | ||
publishing | ||
version-locking | ||
aliases | ||
structure-content-modes | ||
touch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,29 @@ | ||
Placeholders | ||
############ | ||
============ | ||
|
||
In Django CMS, placeholders are special markers within templates that define regions where content can be edited and managed by content editors. These placeholders act as slots or containers within a template where various types of content can be added, modified, and rearranged through django CMS' frontend editor and its structure board. | ||
In Django CMS, placeholders are special markers within templates that define regions | ||
where content can be edited and managed by content editors. These placeholders act as | ||
slots or containers within a template where various types of content can be added, | ||
modified, and rearranged through django CMS' frontend editor and its structure board. | ||
|
||
Here's how placeholders work: | ||
|
||
1. **Defined Areas in a page:** Designers identify specific areas within their HTML templates where content can be dynamically inserted. Editors can access these defined placeholders and add or edit content directly through the user-friendly frontend editing interface without needing to touch the underlying code. Pages can be rendered using different templates. | ||
2. **Content Manipulation:** Editors interact with placeholders to add various types of content elements or plugins (such as text, images, videos, forms, etc.) to these designated areas. They can modify existing content, rearrange elements, or remove content as needed. | ||
3. **Flexibility and Customization:** Django CMS allows for the creation of custom plugins that can be inserted into placeholders. These plugins offer a wide range of functionalities and content types, giving content editors the flexibility to create diverse and engaging web pages without requiring developer intervention for each content update. | ||
1. **Defined Areas in a page:** Designers identify specific areas within their HTML | ||
templates where content can be dynamically inserted. Editors can access these defined | ||
placeholders and add or edit content directly through the user-friendly frontend | ||
editing interface without needing to touch the underlying code. Pages can be rendered | ||
using different templates. | ||
2. **Content Manipulation:** Editors interact with placeholders to add various types of | ||
content elements or plugins (such as text, images, videos, forms, etc.) to these | ||
designated areas. They can modify existing content, rearrange elements, or remove | ||
content as needed. | ||
3. **Flexibility and Customization:** Django CMS allows for the creation of custom | ||
plugins that can be inserted into placeholders. These plugins offer a wide range of | ||
functionalities and content types, giving content editors the flexibility to create | ||
diverse and engaging web pages without requiring developer intervention for each | ||
content update. | ||
|
||
Ultimately, placeholders in Django CMS facilitate a clear separation between the presentation layer (templates) and the content, enabling content editors to manage and update website content easily without needing extensive technical knowledge or modifying the underlying code. | ||
Ultimately, placeholders in Django CMS facilitate a clear separation between the | ||
presentation layer (templates) and the content, enabling content editors to manage and | ||
update website content easily without needing extensive technical knowledge or modifying | ||
the underlying code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,30 @@ | ||
Plugins | ||
####### | ||
======= | ||
|
||
Django CMS plugins are modular components that represent content. In Django CMS, content components are organized into placeholders within templates. These placeholders can be filled with various plugins to add diverse content components. | ||
Django CMS plugins are modular components that represent content. In Django CMS, content | ||
components are organized into placeholders within templates. These placeholders can be | ||
filled with various plugins to add diverse content components. | ||
|
||
Django CMS plugins offer content editors an intuitive way to manage and enrich the content of web pages without needing technical expertise or diving into code. Here's how they benefit content editors: | ||
Django CMS plugins offer content editors an intuitive way to manage and enrich the | ||
content of web pages without needing technical expertise or diving into code. Here's how | ||
they benefit content editors: | ||
|
||
1. **Ease of Use:** Content editors can work inside the frontend editor and use the structure board, where they can see available placeholders on a page. They can easily add, edit, or remove content elements (plugins) within these placeholders using a simple drag-and-drop interface or form-based interactions. | ||
1. **Ease of Use:** Content editors can work inside the frontend editor and use the | ||
structure board, where they can see available placeholders on a page. They can easily | ||
add, edit, or remove content elements (plugins) within these placeholders using a | ||
simple drag-and-drop interface or form-based interactions. | ||
2. **Content Variety:** Plugins provide a wide range of content types that can be | ||
inserted into placeholders, such as text, images, videos, galleries, sliders, forms, | ||
maps, and more. This variety enables editors to create rich and diverse web pages | ||
without relying on developers for every content update. | ||
3. **Customization:** While there's a set of default plugins available, each | ||
installation has its own set of plugins activated and might also use custom plugins | ||
tailored to specific needs. These custom plugins can encapsulate complex | ||
functionalities or unique design elements that content editors might require for | ||
their content. Those custom plugins are not within the scope of this user guide. | ||
|
||
2. **Content Variety:** Plugins provide a wide range of content types that can be inserted into placeholders, such as text, images, videos, galleries, sliders, forms, maps, and more. This variety enables editors to create rich and diverse web pages without relying on developers for every content update. | ||
|
||
3. **Customization:** While there's a set of default plugins available, each installation has its own set of plugins activated and might also use custom plugins tailored to specific needs. These custom plugins can encapsulate complex functionalities or unique design elements that content editors might require for their content. Those custom plugins are not within the scope of this user guide. | ||
|
||
In essence, Django CMS plugins empower content editors to manage and present content effectively, providing them with the tools to create engaging and dynamic web experiences without needing to delve into the technical intricacies of web development. These plugins empower editors to create and manage content without needing to write code or modify templates each time they want to add specific elements to a webpage. | ||
In essence, Django CMS plugins empower content editors to manage and present content | ||
effectively, providing them with the tools to create engaging and dynamic web | ||
experiences without needing to delve into the technical intricacies of web development. | ||
These plugins empower editors to create and manage content without needing to write code | ||
or modify templates each time they want to add specific elements to a webpage. |
Oops, something went wrong.