Skip to main content

Aldryn Blog App

https://travis-ci.org/aldryn/aldryn-blog.svg?branch=master https://img.shields.io/coveralls/aldryn/aldryn-blog.svg

Simple blogging application. It allows you to:

  • write a tagable post message

  • plug in latest post messages (optionally filtered by tags)

  • attach post message archive view

Installation

Aldryn Platform Users

Choose a site you want to install the add-on to from the dashboard. Then go to Apps -> Install app and click Install next to Blog app.

Redeploy the site.

Manual Installation

NOTE: If you are using a database other than PostgresSQL, check out the table below.

Database support:

SQLite3

MySQL

PostgresSQL

Not supported

Requires Time zone support

Fully supported

Run pip install aldryn-blog.

Add below apps to INSTALLED_APPS:

INSTALLED_APPS = [
    …

    'aldryn_blog',
    'aldryn_common',
    'django_select2',
    'djangocms_text_ckeditor',
    'easy_thumbnails',
    'filer',
    'hvad',
    'taggit',
    # for search
    'aldryn_search',
    'haystack',
    …
]

Posting

You can add post messages in the admin interface now. Search for the label Aldryn_Blog.

In order to display them, create a CMS page and install the app there (choose Blog from the Advanced Settings -> Application dropdown).

Now redeploy/restart the site again.

The above CMS site has become a blog post archive view.

About the Content of a Post

In Aldryn Blog, there are two content fields in each Post which may be confusing:

  1. Lead-In and

  2. Body

The Lead-In is text/html only and is intended to be a brief “teaser” or introduction into the blog post. The lead-in is shown in the blog list-views and is presented as the first paragraph (or so) of the blog post itself. It is not intended to be the whole blog post.

To add the body of the blog post, the CMS operator will:

  1. Navigate to the blog post view (not the list view);

  2. Click the “Live” button in the CMS toolbar to go into edit-mode;

  3. Click the “Structure” button to enter the structure sub-mode;

  4. Here the operator will see the placeholder “ALDRYN_BLOG_POST_CONTENT”, use the menu on the far right of the placeholder to add whatever CMS plugin the operator wishes –– this will often be the Text plugin;

  5. Double-click the new Text plugin (or whatever was selected) to add the desired content;

  6. Save changes on the plugin’s UI;

  7. Press the “Publish” button in the CMS Toolbar.

Available CMS Plug-ins

  • Latest Blog Entries plugin lets you list n most frequent blog entries filtered by tags.

  • Blog Authors plugin lists blog authors and the number of posts they have authored.

  • Tags plugin lists the tags applied to all posts and allows filtering by these tags.

Additional Settings

  • ALDRYN_BLOG_SHOW_ALL_LANGUAGES: By default, only the blog posts in the current language will be displayed. By setting the value of this option to True, you can change the behaviour to display all posts from all languages instead.

  • ALDRYN_BLOG_USE_RAW_ID_FIELDS: Enable raw ID fields in admin (default = False)

Release files for aldryn-blog 0.4.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aldryn-blog 0.4.6
File Size Uploaded
aldryn-blog-0.4.6.tar.gz 29.0 kB Details

Release files / aldryn-blog-0.4.6.tar.gz

Download URL aldryn-blog-0.4.6.tar.gz
Size 29.0 kB
Tags Source
SHA-256 checksum
How to use checksums
95e15651eea92c1848bf876f3e70b9898ecc7454a2db338f9eef336493b8b744
BLAKE2b-256 checksum
How to use checksums
67edeb1d12312edacd031faa48c3c0893bda7fa2b5f62b82d0fde08b453f89d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.6 This release

1 release file

0.4.5

1 release file

0.4.4.4

1 release file

0.4.4.3

1 release file

0.4.4

2 release files

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4

1 release file

0.3.12

1 release file

0.3.9

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.1.5

1 release file

0.1.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page