-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration and integration
juergmessmer edited this page Sep 24, 2012
·
15 revisions
Make sure you modify the available Journal-Plugin global configuration params to match your own needs.
To do this please overwrite any configuration parameter in your own site/config/config.yml file. Note: don't change the plugins config.yml file since it will be reset the next time you update to a newer version!
journal:
# Richtext editor toolbar configuration
text_module:
toolbar:
-
- ["Bold", "Italic"]
- ["Link", "Unlink", "Anchor", "-", "Image"]
- ["NumberedList", "BulletedList", "Blockquote"]
- ["Undo", "Redo", "-", "Find"]
-
- ["Subscript", "Superscript", "-", "Maximize"]
- ["Source"]
# If images and galleries are used frequently it is worthwhile to create and register a file category
# that is externally managed, to store the data in - solely a question of internal organisation.
externally_managed_images_category: null
# Calendar tree widget: render years [1] and months [2] and days [3]
display_journal_tree_levels: 2
# Tag cloud widget style attribute size settings:
# set pixel_size_min to null, if you do not want variable style attributes
tag_cloud:
pixel_size_min: 12
pixel_size_max: 22
# Query limit of entries
recent_entries_widget_limit: 7
After configuration please delete config caches
./base/scripts/clear-caches.sh
- Create a new page
- Choose template (if not the default) and page type journal in the section Template and page type of the page detail view and save the page
- Now you have to configure the Journal in the section Contents and configuration of the page detail:
- create or choose the journal(s) you want to display
- choose the overview page style (full text, truncated view or simple list view)
- define the number of entries you want to be displayed on the overview pages (pagination)
- allow comments and decide about moderation
- define the containers of the template where you want the articles and the sidebar widgets to be displayed
- select and order the widgets(1) you want to be shown
- Finish by saving the page
(1) Widgets: sidebar control elements like tag cloud, journals overview (themes), calendar or calendar tree, rss feed or recent entries widget displayed in the sidebar.
Now you can procede with creating and editing your journal entries.