• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • 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

Russ

Well-known member
#2
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:

Code:
<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>

    </div>
</div>
Then go to page_container:

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

Code:
<xen:include template="todayinhistory" />
With this you get:
today.png