Dotclear

Dotclear News

Entries feed - Comments feed

2025 Aug 13

Dotclear 2.35

Warning The update from 2.34 will cause an error during the process. Just refresh the current page in your browser to finish the update. It will not break anything.

Error message displayed during the update process

Also, if your widgets have suddenly disappeared, install the following plugin (manual installation): blogrollLinkStatus, then once the installation is complete, return to the dashboard home page. You should then see a notification that the blogroll plugin has been updated. You may then uninstall the blogrollLinkStatus plugin.

Remember to clear the template cache (Maintenance plugin) once the updates have been made.

As a reminder, if you need help, a Matrix salon is ready to welcome you: https://matrix.to/#/#dotclear:matrix.org


A new version of your favorite blogging software is now available, featuring:

  • A new way to modify themes (see below for detailed explanations).
  • A suggestion to reset the URL of the entry you are editing if you change its publication date (only if the entry has not already been published).
  • The addition of an option to immediately publish a comment recognized as non-spam even if comments are moderated a priori.
  • Some optimizations (plugin updates, media library display, etc.).
  • Addition of a header to prevent your content from being indexed by AI (no guarantee, however, that they will respect this setting).
  • The management of dark/light themes in the backend has been revised.
  • Addition of a field in the donation panel on the dashboard to record the date of your last donation to Dotclear, by the way... :-).
  • Addition of a page that provides a list of all installed (and active) plugins with their respective settings links.
  • Removal of an unnecessary step at the end of the update (you will see this in the next update).

Details are described in the CHANGELOG file provided with the version.

Theme Adaptations

This version brings a significant change to theme management.

Starting with this version, modifications made via the theme editor will be stored in a specific directory associated with the current blog and the selected theme1.

Advantages:

  • No need to worry about whether you can update a theme, which, as I said, completely overwrites the previous one, including modifications.
  • Return of the "modification" function, which becomes an override rather than a modification, for themes natively delivered with Dotclear.

Disadvantages:

  • Older themes will no longer be editable with the theme editor and will remain frozen in their current state.
  • Themes that can now be modified will have to be adapted as described below.

To summarize, more freedom with the new themes provided or adapted, and old themes will continue to work as before.

The following is for theme developers or experienced people who would like to take charge of this.

For others, you can skip the rest.


Now, what should I do to adapt a theme for Dotclear 2.35?

First, add a line to the _define.php file. Taking the Berlin theme as an example, its _define.php file is now as follows (I've intentionally omitted the comments):

<?php
$this->registerModule(
    'Berlin', // Name
    'Dotclear 2.7+ default theme', // Description
    'Dotclear Team', // Author
    '2.0', // Version
    [ // Properties
        'type' => 'theme',
        'tplset' => 'dotty',
        'overload' => true,
    ]
);

The new line is the one containing overload' => true,. This line allows you to modify (override) your theme's files.

Additionally, if you use the url(...) function in your style sheet(s), using a path to a file (image, font, other style sheet, etc.), you will need to modify the parameter by preceding it with index.php?tf=.

Two examples:

.header {
    background-image: url(images/header.jpg);
}

Will become:

.header {
    background-image: url(index.php?tf=images/header.jpg);
}

Another example (this one uses quotes, which are optional):

@import url(‘layout.css’);

Will become:

@import url(‘index.php?tf=layout.css’);

Note that the form index.php?tf= refers to the theme's "root folder" and that you can use paths relative to this "base," as in the first example.

Finally, on the rendering side, priority is given, for the provision of files, to what is located in the override folder, then in the theme's folder, then, if one is defined, in the theme's parent folder, and finally in the template set associated with the theme.

Simply put: override > theme > parent theme > template set.

If you override one of the PHP files in the theme's src directory, be sure to also override the Frontend.php file, even without modifying it; it will be necessary for proper operation.

Regarding template files, the {{tpl:BlogThemeURL}} and {{tpl:BlogParentThemeURL}} tags will now use the index.php?tf= format for adapted themes instead of a direct URL as before.


  1. These overrides will be stored in the var directory under the themes/blog_id/theme_id tree, with blog_id replaced by the blog ID and theme_id by the ID of the theme selected for this blog. 

2025 Jul 25

Service message

One of the two Dotclear servers broke down a few days ago (both hard disks died) and unfortunately we were unable to get it up and running again.

As a result, visibly:

  • The forum is gone, body and soul.
  • The official Git repository too (with tickets), but we've installed another one at Codeberg.

The other server being at the end of its life, the same one where the blog you're reading is installed, we're going to in the coming days and weeks :

  • Prepare a Dotclear blog to replace this one, for the moment in French only (an English version will come later), with the posts you can read here, a download page and a donation page.
  • Make sure we can release the next version of Dotclear 2.35 by mid-August - but we say, "It'll be ready when it's ready!

Until a definitive solution is found for the forum, I suggest you use the Matrix Dotclear room.

We're sorry for the inconvenience, but we'll try to get things back up and running as quickly as possible.

Translated with DeepL.com (free version)

2025 May 13

Dotclear 2.34

We've fixed quite a few bugs here and there and tweaked a few nuts and bolts, but rather than give you an austere list, we'd prefer to focus on what could potentially cause malfunctions:

First change: the dcCore::app() argument is no longer supplied as a parameter to the spam filter constructor (SpamFilter::__construct())1. If you have developped such a filter, please modify it accordingly and publish a new version.

Second change: for themes based on the dotty template set, the pagination of pages resulting from a search is now the same as for other contexts. This may have an impact on installed themes.

Third change: the search widget now uses a search type input field. This may have an impact on appearance, depending on your theme's CSS style sheet.

To sum up, it's nothing too major and shouldn't break your blog, even if there may be some changes in appearance.

Bug fixes include :

  • Fixed drag'n'drop for category ordering.
  • The media list in a directory is no longer sorted twice, which will have a performance impact.
  • Plugin installation and updating should work better.
  • Media alignment with CKEditor is now visible during editing.

For the rest, I refer you to the changes file, which gives a fairly exhaustive list of what's been done.

And finally, a big up to the team behind the scenes, especially JcDenis, Gérard, Philippe, Tomek and Noé2.


  1. That said, this variable has been obsolete for a few years now, so it's time to do away with it for good. 

  2. It's a very masculine team, it sucks! Say, girls and others, are you coming to play with us? 

2025 Mar 2

Dotclear 2.33.1

A small update that fixes three problems, including a blocking one that prevented non-administrators from creating new posts.

2025 Feb 13

Dotclear 2.33

It's like reading a book all over again with this new version for the new year, which is off to a slow start.

We've continued the in-depth work on the code, but without calling into question the current ecosystem — no incompatibilities to be expected, apart from those already known — plugins and themes.

Backend continues to be slightly revised, for greater coherence and unity, in parallel with the reworking of the code.

A few bugs fixed, including three small potential security issues.

In short, it's not a revolution, but it's working well!

2024 Nov 27

Dotclear 2.32.1

A maintenance release that fixes some issues in 2.32 version:

  • A category could not be renamed
  • The categories page doesn't display any categories if there's only one for the blog
  • Cast number values to int in blog parameters form as they might be non-existent
  • Replace return button by a cancel button in intermediary steps during creation of a new SimpleMenu item
  • legacyEditor with pseudo empty excerpt (thanks Ben Griffith for documenting this issue)

2024 Nov 13

Dotclear 2.32

A new version for a year that is slowly drawing to a close.

Fundamental work continues on the code, but does not call into question the current eco-system — no incompatibilities to be expected, apart from those already known — plugins and themes.

Backend continues to be slightly revised, for greater coherence and unity, in parallel with the reworking of the code.

A few bugs corrected.

To sum up, in theory everything's going well!

2024 Aug 19

Dotclear 2.31.1

A maintenance release that fixes two bugs (one of which is blocking) in media insertion and page management.

2024 Aug 13

Dotclear 2.31

A new version for this quarter and to celebrate Dotclear's 21st birthday!

A major overhaul of the code, which will continue for several more versions, but which will not call into question the current ecosystem — no incompatibilities to be expected, apart from those already known — of plugins and themes.

The backend has been slightly revised to make it more coherent and unified, and this is also in progress at the same time as the code is being reworked.

A few bugs fixed.

In short, it's still moving and it's going to be fine!

2024 May 17

Dotclear 2.30.1

A small maintenance release that fixes a problem with the template engine in certain configurations and corrects the behaviour of outgoing links to the documentation.

2024 May 13

Dotclear 2.30

The new version has been available since this morning.

On the programme are a few minor fixes (including a security vulnerability, which isn't too bad, though), and a fair amount of tweaking to the look'n'feel of the administration, which I hope you'll find more polished and coherent than before.

And then 'one more thing', which I find hard to do without in my development and testing work, is the quick access to menu items .

How do you use it?

Type the : key (which may be changed) and if you're not in an input field, this will position the cursor in the search field, where you can then type the first few letters of the menu item you're looking for, and ... you'll soon understand the rest ;-)

A little tip: type : and the key (enter) and you'll see the dashboard.

Finally, if you currently have version 2.29 installed, this is the first time you'll see the new update dashboard coded by JcDenis in action ;-)

Happy installing/updating!

2024 Feb 13

Dotclear 2.29

After several complicated versions for plugins and themes, this version 2.29 does not break compatibility for everything that was adapted for 2.28.

There are quite a few new features, but they are lighter than in previous versions. Of particular note is a new dashboard dedicated entirely to managing updates, which will help to better separate update-related processes from the rest of the code and avoid a complete multi-blog crash. You'll see it in action in the next version.

New features :

  • Dashboard dedicated to update management.
  • Switch from JQuery to Vanilla for various javascript functions,
  • Ability to modify theme .php files,
  • Addition of behaviors (adminPostAfterButtons, adminPageAfterButtons),
  • Overhaul of image attributes (accessibility) inserted via editors,
  • Changes to styles on the admin side (particularly the buttons),
  • Numerous UI/UX/a11y tweaks (see CHANGELOG)

2023 Nov 19

Dotclear 2.28.1

Inevitably, we look everywhere, test a thousand times, and then a small typing error creeps into the well-oiled cogs and so this morning a small maintenance version with some light visible effect.

Yes, again :-)

PS: You should use safe-mode (as described in previous post) if you upgrade from 2.27.3 or lower version.

2023 Nov 15

Dotclear 2.28

The new version for the festive season.

Be careful before updating!!!

We strongly recommend that you perform the update in rescue mode, which will then allow you to update the plugins that need updating.

If some plugins have no updates available, we advise you to temporarily deactivate them (in rescue mode) and then check their operation one by one (one re-activation at a time) in normal mode.

If you have trouble logging in after the update, delete the associated cookies before refreshing the login page.

What's changed

It's essentially the internal code (the engine) that has been modernized, something we had already started with the latest Dotclear 2.27 and which is now complete, at least for the PHP code. We'll now be able to concentrate on new functionalities; more on that when the time comes.

On the visible side, we've added full support for the Avif format for images, alongside the already-supported JPEG, WebP, PNG and Gif, and we've fixed a number of small, more or less annoying bugs.

Don't forget the forum if you have any difficulties (comments are not for that), and in the case of more technical problems we may advise you to open a ticket.

2023 Aug 31

Dotclear 2.27.3

A new version that corrects a few problems encountered with installation, plugin and theme dependency management, the password recovery procedure, flat export and when certain widget settings were incorrect.

- page 1 of 10

Sites map