Simplilo (version A-06)
Developed since 2011-10-13 until 2012-02-26.
The format of the version numbers is changed again: A letter, a two-digit number and a time string: A-06-yyyymmddhhmm. The letter means the development branch: A, alpha; B, beta; C... The number marks a version that breaks compatibility with the previous version or has significant improvements. The time string means the engine build time.
Changes
- No system, template or config pages any more: Config and design files are moved into their own directories.
- Removed the useless config value
default_data_metafields
. - Several config texts removed (from the old web interface).
- The config value
use_cache
is renameduse_cache_on_line
, to make it clearer. - The config value
clean_urls
is renamedclean_url
. - The old cache commands,
<
and> <
, are moved to an addon file. They are not useful in the engine, and they need updating and reworking.> - The config value prefix
redirect:
is renamedredirection:
. - The addon
<
(with config variables' prefix "t_") is renamed> <
(with variables' prefix "txt:"). Same about addons' config variables. All addons and config files updated.> - Templates are searched for in the new path designs/DESIGN-NAME/index.html. This makes a bit easier to import designs. If the path fails, the design is supposed to be the actual template file name. This lets trying several HTML templates under the same design. The old path (designs/DESIGN-NAME.EXT) is deprecated, but still kept in third position for backward compatibility. The same change is done with the designs bundled with the engine.
New features
- Automatic
hreflang
attribute in local links. - New addon
<
.> - Improved addon
<
: optional parameters for changing the date.> - Improved addon
<
, more versatile; new functions> <
and> <
.> - New metadatum
modifed
(ISO date and time of the page modification); it has higher priority than the file modification time. - New config value:
show_draft_pages_on_localhost
. When set to true, draft are shown (and linked) on localhost. - New config value:
link_missing_pages_on_localhost
. When set to true, links to missing pages are created on localhost; otherwise only the link text is shown. - New config value:
mark_unready_links_on_localhost
. When set to true, links to unready pages (draft or missing) show a configurable remark. - All condition addons (
<
) are removed from the engine and grouped into an addon file called addon/if.php, with many new condition addons, also for blocks (> <
).> - Page redirections configured in the main config file create an actual redirection, beside converting the links.
- Two new redirection config value prefixes:
link_redirection:
translates pages in links, andurl_redirection:
translates them in URL. The currentredirection:
does both translations, what sometimes in inconvenient; it is deprecated but kept for backward compatibility. - When a related link metadatum (prev, next, first, last up) contains the current page or a period, an empty string will be used. In previous versions there was no way to avoid the default calculation when needed.
- New config value
uncached_pages
. It allows to indicate a CSV of pages that must not be cached. - New calculated metadata:
best_menu_title
andbest_breadcrumb_title
.
Main fixes
- The search cache does not include the template any more, only the page title, description, keywords and content.
- The search cache does not ruin the HTML entities any more.
- Addons accept empty parameters.
- Addons are loaded only once when they are duplicated in the list.