XenCustomize News Publisher v2.3.12.1 is released!
This is a small maintenance update that fixes an undefined variable error when creating news and removes a duplicate title assignment in the Create service. A quick but important patch for smooth publishing.
Bug Fixes
- Fixed an undefined variable issue in the news creation process that prevented reading time from being calculated when publishing new stories. (Reported by @PhineasD)
- Corrected duplicate title assignment in the Create service.
=============================================================================================
XenCustomize News Publisher v2.3.12 is released!
This update introduces Reading Time for news stories, shown on the news view page and every display mode. A new
Words Per Minute option lets you control how reading time is calculated.
We also added automatic reading-time rebuilding for older news stories. After upgrading, simply run
Rebuild caches → News Publisher: Rebuild news to apply reading time to all existing content.
We also improved permission handling for viewing news comments and updated the related “What’s New” tabs and navigation conditions to match the new logic.
New Features & Enhancements:
- Introduced a reading time feature for news stories, displayed on the news view page and across all display modes (Card Grid, Compact List, Expanded List, and Standout Card Grid).
- Added a new admin option: Reading Time: Words Per Minute (controls the average reading speed used to calculate estimated reading time).
- Updated permission logic for viewing news comments by introducing the new
canViewNewsComments() method.
- Updated the “What’s New” template modification so the news comments tab correctly follows the updated permission checks.
- Added the
$xf.visitor.canViewNewsComments() display condition to the New comments navigation link entry.
- Added a new
rebuildReadingTime() process to the News rebuild job, ensuring all existing news stories receive an updated reading time when running Rebuild caches → News Publisher: Rebuild news.
Changed Templates:
The following templates have had changes:
xcu_nwp_news_list_macros
xcu_nwp_news_view
xcu_nwp_news_wrapper_macros
Note: After upgrading, please check your
Outdated Templates page and either
revert or
merge/integrate these templates to ensure that all new changes are applied.
Screenshot of reading time on news view