|
83.
|
|
|
An example file is provided in the codebase. It is set up to use `Markdown <https://www.markdownguide.org/>`_ for formatting its content.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/tips/customisations.rst:12
|
|
84.
|
|
|
**Do not** put any sensitive information such as passwords, keys, or personal information into that file though but store them securely elsewhere. The ``CUSTOMISATIONS`` file is added to the project repository and thus a history of changes is kept. If the codebase were made more widely available, that sensitive information would be exposed.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/tips/customisations.rst:15
|
|
85.
|
|
|
The file sits outside the ``htdocs`` folder so it is not deployed to a web server and thus accessible through the browser, provided, you only upload the content of the ``htdocs`` folder to your server.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/tips/customisations.rst:17
|
|
86.
|
|
|
Hide retractable option in block configuration
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/tips/hide_retractable_option.rst:6
|
|
87.
|
|
|
:index:`If <pair: Tips; Hide retractable option>` you want to hide the 'Retractable' option in the block configuration, you don't need to use CSS or comment out the code, which then in turn requires you to resolve conflicts when you update the code as you are making code changes in the core code. Instead, you can make a change in the database.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/tips/hide_retractable_option.rst:8
|
|
88.
|
|
|
.. image:: images/page_editor/blocks/notretractable.*
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/tips/hide_retractable_option.rst:13
|
|
89.
|
|
|
View of the database table in a graphical interface to show the value needed
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/tips/hide_retractable_option.rst:13
|
|
90.
|
|
|
Connect to your database.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/tips/hide_retractable_option.rst:15
|
|
91.
|
|
|
You can do so via the command line or via a graphical interface, whichever you are more comfortable with.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/tips/hide_retractable_option.rst:18
|
|
92.
|
|
|
In the table ```blocktype_config```, add the block type for which you want to remove the retractable option into the *plugin* field. You can find the block type in the :ref:`Plugin administration <plugins>`.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/tips/hide_retractable_option.rst:20
|