In v4.1 of Jul 22, 2023, the following was done
- Documentation was expanded and Blog Added
Framework Enhancements
- 200 lines of entry.php was moved to 4 new files viz menu, seo, assets, render.
- add_foot_hook for use by modules + flavours
- replaceItems created and used.
- new runCode (deprecates run_site_code)
- moved everything to before_bootstrap
- Added support for DISABLEMARKDOWN and DISABLEAUTOPARAGRAPS instead of a am_var disabled list
- render in entry.php doesnt call before/after file if embed
- html.php - simplified assistantHeading as its the first thing see. Also, it now concatenates the SubPage + Page names, moved in am_page_url and get_back_or_home_href
- stats.php - disk_include only substitutes SITEPATH if defined - needed to support renderMarkdown in the cms.php
- text.php - use replaceItems in 3 places
YieldMore Flavour
- flavour version in foot hook
- New features-only.css for use when calling from other sites that dont use the whole flavour (phased code merge)
Module Changes
See New Modules at v4 Announcement
- deck - now picks path from flavour.
- blurbs now works - see prayers, chakras and Creditism's real money.
- Analytice - added a to do to consider multi reporting support
- Assistant - supports assistant-heading for rich pages.
Existing Modules
- blurbs - Brought in from a halloween script, this has been in use since 4/5 years.
- google-analytics - simple js that expects a variable of the analytics id in cms.php
- markdown - We support .md files, detects automatically if a file starts with a markdown heading # or <!--markdown--> and can call renderMarkdown. Had to strip_paragraph
- revealjs (for slides)
- stripe (developed for loveforlife) to handle thanks page etc
- v2content - used before richHomePages was introduced in v3
- wordpress - for the wpautop function that lets us work in text without needing to explicitly declare paragraph tags
Other Changes
- calls to deprecated run_site_code was cleaned up