Hallo,
My suggestion of solution :
0. first let's suppose that all 366 articles for the 366 days are in the same Category and that for each of them you set the correct date (well, correct day and month, you can put anything for year, hour, minute, second)
1. create an override (or alternate layout) for a Module displaying Articles, like Latest Articles or Articles Newsflash (let's take Newsflash here)
2. edit /templates/cassiopeia/html/mod_articles_news/default.php
3. there you can add a "if condition" to check whether it is the anniversary of the creation date of the article
4. here are the two changes to the original code
4.1. you have to add 2 lines of "use"
4.2. you have to add the "if" as written below (and the "endif" of course)
<?php
/**
* @package Joomla.Site
* @subpackage mod_articles_news
*
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\Helper\ModuleHelper;
use Joomla\CMS\HTML\HTMLHelper; // added for the date
use Joomla\CMS\Language\Text; // added for the date
if (!$list) {
return;
}
?>
<div class="mod-articlesnews newsflash">
<?php foreach ($list as $item) : ?>
<?php if (HtmlHelper::date($item->created, Text::_('m-d')) == HtmlHelper::date('now', Text::_('m-d'))) : // only display article if it is its anniversary based on the creation date ?>
<div class="mod-articlesnews__item" itemscope itemtype="https://schema.org/Article">
<?php require ModuleHelper::getLayoutPath('mod_articles_news', '_item'); ?>
</div>
<?php endif; ?>
<?php endforeach; ?>
</div>
Alles anzeigen