• 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

Saburov

Active member
Licensed customer
It would be nice, as a module on sidebar. (for xenporta or another) It would connect a source or we can manually add events.
 
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.webp
 
Very nice Russ. Thanks, but my site language is Turkish. I think i have to find another solution.
 
Back
Top Bottom