Headlines Module for Halogy

< Back to blog | Add a comment

Posted: 28th Aug 2009
Categories: Our Work What's New? Web Development
Tags: halogy module sitewide feed shop

blog-headlines

We have recently been working for a client called the Philo Trust building their new site in Halogy. In their brief they requested site-wide feeds from modules such as Shop and Events. In other words they wanted to be able to have a sidebar which always showed what was in their cart, what events are upcoming and what blog posts are recent.

We needed to therefore develop a "Headlines Module" which basically enabled administrators to feed this data in to their global templates (the templates which always showed up no matter what page), and not limit the data to just the module that the user was viewing. Make sense?

So now Halogy has a Headlines Module. You simply enable the module with {headlines:MODULE} where MODULE is for example 'shop', or 'events', and then you can write your HTML. For example:

        <ul id="cart">
            {headlines:shop:cart}
                <li>
                    <a href="{headline:link}">{headline:title}</a><br />
                    <small>({headline:quantity}x - {headline:price})</small>
                </li>
            {/headlines:shop:cart}
        </ul>

Pretty cool huh? The same can be done for lots of other modules.

This feature is now live to all Halogy users!

Add a comment









Back to top