My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
WhatsOnNowBox  
Some brief documentation about how we populate the What On box
Updated Feb 4, 2010 by fbradley...@gtempaccount.com

Google Calendar

We use Google Calendar to organise our schedule, therefore this box is largely populated by that date.

Title

The Title needs to be consistent. For Example

  • Sam and Mark - the title must be "samandmark"
  • The Excellently Cool Show - the title must be "excellentlycool"

We can write a list of consistent names, so everyone understands the same rules.

Description

The description is the shows descriptive text that comes up underneath the image, on the website.

Google Calendar has a description box when you create an event, so we can simply pull that data into the website.

What's On... the box on the website

The Image

The image can be quite easily pulled as long as the name of the images matches the same consistency as the Google Calendar Title. For example the images will be held in /images/showimgs/whatson/.

Once the title is pulled from Google Calendar you could do this...

<?php 
 '<img src="/images/showigs/whatson/'.$googletitle.'.png" />';
?>
Powered by Google Project Hosting