• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Today in History module


Well-known member
It would be nice, as a module on sidebar. (for xenporta or another) It would connect a source or we can manually add events.
Not quite a full blown add-on and you may already have something like this... but here's a quicky I whipped up:
A feed from: http://www.brainyhistory.com/link/

1.) Create new template called "todayinhistory"

2.) Insert the following code in the new "todayinhistory" template:

<div class="section">
    <div class="secondaryContent">
<h3>Today in History</h3>
<script type="text/javascript" src="http://rss.brainyhistory.com/link/historyevents.js"></script><small><i>more <a href="http://www.brainyhistory.com/" target="_blank">History</a></i></small>

Then go to page_container:

3.) Find:
{xen:raw $sidebar}
4.) Right after put:

<xen:include template="todayinhistory" />
With this you get: