You are herePast Events

Past Events


By Richard Frankum - Posted on 01 January 2014

01/22/2013 11:34
Event Type: 
Meeting

Below this line are past events. This is a hack against the old Drupal version we run here.
 
Problem: The site's front page should give attention to current events
Context: The front page only shows one list, from oldest to newest. This means newly-created links to events far in the future will fall off the front page and not be shown when the event draws near.
Forces: Events are ordered by "Authored Date", which is by default the creation date of the posting 
Solution: Make a distinction between old(have occured) and new(haven't occured) events. Order the new events as further in the future. BUT new events should be added in reverse order so closer events end up at the top of the page.
I do this by changing the Authored Date of future events a year into the future (so all in 2014), and then putting them in reverse order. It's too complicated but doesn't take that long to do. Looking forward to a site revamp!
Reference: This link shows the Authored Date for all posts on the front page. 

Signups closed for this Event

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Tuesday (7:30 PM)
Open House Meeting
水曜日 (7:30 PM)
日本語 Meeting

« June 2017 »
SunMonTueWedThuFriSat
123
45678910
11121314151617
18192021222324
252627282930

twitter / TkoHackerSpace

Syndicate content