News: 2021 Jun 14 - Jun 25
1 year ago ∙ 2 minutes read
osmcommerce.com (now osm.software) blog got multi-select layered navigation, category management, FontAwesome icons, Tailwind CSS Typography. Osm Core allows debugging accidental assignments of the computed properties.
osmcommerce.com Website v0.1.1
Reader-Oriented Changes
- show/hide sidebar, search, and access your account using page header
- navigate the blog using multi-select layered navigation, category and date filters
- search the blog, and narrow results using multi-select layered navigation
Author-Oriented Changes
- configure categories in
data/posts__categories
directory - assign categories to posts in the file name, or use
categories
meta field
Internal Changes
parse Markdown file metadata using
My\Markdown\File
(or derived) classuse FontAwesome icons from
My\FontAwesome
moduleuse category data:
- customize category meta data handling in
My\Categories\Category
class - access all defined categories using
My\Categories\Module::$categories
property
- customize category meta data handling in
style Markdown HTML using Tailwind CSS Typography plugin configured in
themes/_front__tailwind/tailwind.config.js
customize layered navigation:
- create custom
My\Posts\PageType
classes, currently there areHome
,Category
,Search
,Year
andMonth
page types - create custom
My\Posts\Filter
classes, currently there areCategory
,Date
andSearch
filters - render applied filters using custom
My\Posts\AppliedFilter
classes, currently there areCategory
,Date
andSearch
applied filters - render multi-select filter items using custom
My\Posts\FilterItem
classes, currently there areCategory
,Year
andMonth
filter items - generate layered navigation URLs using
My\Posts\Posts::url()
method and the fluent methods of theMy\Posts\Url
class
- create custom
customize new Blade components and their templates:
# page header My\Posts\Components\Front\Header themes/_front__tailwind/views/posts/components/header.blade.php # blog list item My\Posts\Components\Front\ListItem themes/_front__tailwind/views/posts/components/list-item.blade.php # category filter My\Posts\Components\Front\Filter\Category themes/_front__tailwind/views/posts/components/filter/category.blade.php # date filter My\Posts\Components\Front\Filter\Date themes/_front__tailwind/views/posts/components/filter/date.blade.php # applied filters My\Posts\Components\Front\AppliedFilters themes/_front__tailwind/views/posts/components/applied-filters.blade.php
customize new page routes and Blade their templates:
# home page My\Posts\Routes\Front\RenderAllPosts themes/_front__tailwind/views/posts/pages/all.blade.php # category page My\Posts\Routes\Front\RenderCategoryPosts themes/_front__tailwind/views/posts/pages/category.blade.php # search page My\Posts\Routes\Front\RenderSearchResults themes/_front__tailwind/views/posts/pages/search.blade.php # year page My\Posts\Routes\Front\RenderYearPosts themes/_front__tailwind/views/posts/pages/year.blade.php # month page My\Posts\Routes\Front\RenderMonthPosts themes/_front__tailwind/views/posts/pages/category.blade.php
host the website under the native PHP Web server using
public/Osm_App/router.php
filedon't assign tags and series to posts anymore - they are no longer supported
Osm Framework v0.8.4
- encode/decode parts of the URL using new
url_encode
andurl_decode
functions
Osm Core v0.8.11
- debug computed properties using new
DebuggableProperties
trait