On Oct 20, 2006, at 10:41 AM, Jody Cleveland wrote:
I've got a website I'm developing for a library. On the front page will be displayed new events, updated and added pages, etc. What I'd like to do is have a small area on the page that shows a few featured events. Kind of like this site: http://www.aadl.org
My question is, where do I start? How do I classify an event as being 'featured', and how do I get a block to only display those items?
Here's one approach that could work:
Create a view using views module. Designate it a block. In the footer, point to your calendar in a link.
For the filters, use node is event, node is published, node is promoted. Sort order by event date or post date, whatever is your preference.
Display the block on your front page. There are a half dozen ways to do that.
In your workflow under admin/settings/content, change your event node type defaults to simply published, but not promoted to front page. To feature an event, simply promote it to the front page (which you can do during creation or under admin/content).
Based on how long you make the views block, your featured events will display or roll off the list, as indicated by your views settings.
To adjust your block, give it a new name, header, footer, whatever, all you need to do is edit your view.
Hope this helps!
Best, Laura
•)))
Laura Scott pingVision, LLC http://pingv.com
303.415.2559 • inquiry@pingv.com