Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-25-2006, 05:20 PM   PM User | #1
adrockc2
New to the CF scene

 
Join Date: Feb 2006
Location: Philadelphia, PA
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
adrockc2 is an unknown quantity at this point
Question date archive

A friend of mine has a website for his band and has asked me to help him with it. It's in word press, which I find extremely difficult to work with. Anyway there's a 'shows' page and I was trying to figure out how to make the dates that have already past move to a 'past shows' page. Any help is appreciated.
adrockc2 is offline   Reply With Quote
Old 04-26-2006, 06:06 PM   PM User | #2
jalarie
Regular Coder

 
Join Date: Jun 2002
Location: Flint, Michigan, USA
Posts: 593
Thanks: 1
Thanked 19 Times in 19 Posts
jalarie is an unknown quantity at this point
If you have a server-side language (php, perl, ???) available, that would be the way to go. Otherwise, you could use Javascript.

Store all of the show information in an array. Loop through the array checking for dates of today or later, and display that information under the "Current Shows" heading. Loop throught the array again checking for dates prior to today, and display that information under a "Previous Shows" heading.
__________________
Visit my site at http://spruce.flint.umich.edu/~jalarie/.
jalarie is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:50 PM.


Advertisement
Log in to turn off these ads.