The client has requested that I created a map of England that highlights their main offices through the country and what events are being held in each area. I have drawn a map in photoshop (using my graphics tablet). The events need to be assigned to each area so you can click on the area and it will take you to the events page.
There have been a few dilemmas that I have had to solve through this request:
- What if there is an event that is held more than one of the regions?
- What if the event is in an area that isn't highlighted as a main area that events are held? (see below for how I have dealt with these issues).
1) I created a template variable. A template variable allows you to bring in a template where ever you like throughout the website so you don't have to keep individually code the elements.


3) So far I have got the content to layout simple text that is calling the information that is needed to format the events. However I have run into my first problem-the time isn't set put properly and it still includes events that have already passed. My client needs it to only have present and up coming events.

4) This is a ditto call. A ditto calls purpose to command the template. It can also list data from other documents and create outputs in many formats. You can also specify what data goes in and how it is laid out. Within this ditto call I had to change what are it is referring to (that I have already labelled in dreamweaver).

The client asked if I could specifically created links on the map for Scotland, North East. North West and the Midlands as they all have offices that need to be able to send their content to the main office where it will be up dated (in Modx) by my client. I also created links on other areas of teh country in case there are events that are organised by a certain office but are out of their area. I thought that this would give them flexibility in the future in case events are hosted in different areas that they don't have to account for now.
6) I had to set more templates variables for the fields needed in events, such as cost, place, time, venue, email and phone number of the organiser. I also had to set what order that they would be in so with each field it goes up. They are labelled individually from 55-60 so they will be set in a different place in the code and can be reference through their number.





A parent page is the main pages labelled in the navigation and a child page is any page that goes off that navigation.

Through these steps (with the guidance of Chris at ibrow media and his helpful work experience) I have created the map below that link to the events page once the area is clicked on.

9) In this bit of code I had to direct it to the right image file and the right are. I also had to change the bit of code [~193~] to direct it to the right area (see child pages on the left hand side).


Events page (still needs to be styled) Here is the address (but only for a short period) http://s109231681.websitehome.co.uk/events1.html

No comments:
Post a Comment