CREATING A NEW SET:

Creating Initial Folder for New Online Set:

1.  Make a copy of the '[TEMPLATE FOLDER]' folder in L:\_Online\Source Code\[For DZ Maps]\
2.  Rename copied folder to the folder name to be used for the New Set (ie. the folder for Coshocton, OH, is 'coshocton')
3.  Open 'setname.php' in a text editor and change FOLDERFORSETHERE to the folder's name (ie. 'FOLDERFORSETHERE' becomes 'coshocton' for the Coshocton, OH, set) and save
4.  Go to https://registration.weather.com/ursa/wow/step2, log in with the jcooper@uaai.com account, and create the weather widget for the new set, choosing the main city
5.  Open 'weather.php' with a text editor and paste the new weather widget code into it and save
6.  Open 'banner.min.js' with a text editor and enter the information for any Banners for the set under the '//EDIT FOLLOWING LINE TO ADD BANNERS' line, removing the leading '//' to activate the Banners.  Copy the line for every different banner, changing the number inside the brackets (ie. banners[1]) as well as the appropriate values
7.  Copy Banner images into the 'banners' folder
8.  If there are any non-standard categories for the set (ie. other than Attractions, Automotive, Dining, Entertainment, Financial, Lodging, Medical, Realtors, Services, or Shopping), go into the 'pushpins' folder and rename one of the three 'other' gif sets to the new name (ie. for a new category called 'Malls', rename 'other1.gif' to 'Malls.gif' and 'other1-block.gif' to 'Malls-block.gif')
9.  Upload the entire folder into the corresponding State folder (ie. /justmaps/oh/ for Coshocton, OH), creating the State folder in the /justmaps/ folder if it doesn't already exist
10.  Once done, set the permissions for the 'ads' folder in the new set folder to '777' so that category folders can be created later by the form

Converting Ads for Later Use:

1.  Go through the PSDs for the Ads, removing any special characters from their file names (ie. no '!', '&', '#', '$', '%', etc.)
2.  If there are two versions of an Ad, select the proper one to be used online (ie. choosing the color version over the black and white version).  Move the versions that won't be used to a new folder called '[Not Needed]'
3.  Batch convert the PSDs in the main directory into JPGs while not converting the files in '[Not Needed]'
4.  Batch convert the new JPGs into 150dpi JPGs, saving them into a separate folder called '150dpi'
5.  Batch convert the 150dpi JPGs into images with a maximum width of 125, saving them into a separate folder called 'Thumb'.  Keep the same filename as the images in the '150dpi' folder.
6.  Upload the entire 'Thumb' folder into the 'ads' folder for the new set

Creating Deep Zoom Map:

1.  Make the map files into PNGs if they aren't already, separating the front and back sides into separate PNG files
2.  Import the two PNGs into Deep Zoom Composer
3.  Place the two sides in the Compose window
4. Go to the Export tab, selecting 'Seadragon Ajax' for 'Output type', leaving the other settings as default
5.  Once exporting is complete, view the project in a browser to verify that it worked and, so long as there are no problems with the exported page, view the folder that the image files were saved to
6.  Copy the 'GeneratedImages' folder into the new set folder or copy the 'Coordinate-for_offline_folder.html' file from the new set folder into the 'GeneratedImages' folder, which will allow you to use the map for pinpointing locations later
OPTIONAL:  Begin uploading the 'GeneratedImages' into the new set folder

Entering Ads:

1.  Open 'Coordinate-for_offline_folder.html' to get pinpoint locations for ads in its own window
2.  In another window (or on a separate screen/computer), go to http://www.uaai.com/addmap/addad.php and login using username 'maps' and the standard uaai.com password
3.  Go to the second form on the page and enter the Set:
	3a.  The first field is the set's full display name (ie. 'Coshocton and Coshocton County with Millersburg and Holmes County, OH').  This will be how the set name is displayed on the map page
	3b.  The second field is for the name of the folder used for the new set (ie. 'coshocton')
	3c.  The drop down is simply for selecting the State
	3d.  Click 'Add Set' when done
4.  On refresh, there should be a confirmation message under the second form.  If not, follow the error messages to complete it again
5.  Once the Set is successfully added, click the 'Return' link under the confirmation message and refresh the page.  Hitting refresh on the page with the confirmation results will attempt to submit the previous form again
6.  After refreshing, the new set should now appear in the drop down list for the third form, which will create the categories for the new set:
	6a.  Select the Set from the dropdown
	6b.  Enter the category name, capitalizing the first letter and not using all caps as this will be how the category is displayed on the map page when done (ie. 'Attractions' instead of 'attractions' or 'ATTRACTIONS')
7.  Once all of the necessary categories are created, click the 'Return link under the confirmation message and refresh the page, allowing for the categories to show up for the next part
8.  Begin entering the ads:
	8a.  Select the Set from the drop down menu
	8b.  Select the Primary Category, which will set the pushpin color for the Ad on the map, as well as Secondary and Tertiary categories if there are any
	8c.  Enter the Ad Name as you'd have it displayed on the map page (ie. 'Harris Automotive' instead of 'harris automotive' or 'HARRIS AUTOMOTIVE')
	8d.  Select whether the map is to be pinpointed or not.  Even if it will not be actually pinpointed on the map, select 'Yes' if the ad is to be shown as a thumbnail in the Category and Search fields, as well as having any website links appearing.  Only select 'No' for Ads that are simply to be listed as text in Category and Search view results
	8e.  Enter any keywords for the ad, as well as the non-standard words from the name (ie. don't enter 'the', 'or', 'and', etc.).  These do not need to be capitalized
	8f.  If the Ad is pinpointed on our map, find the location on the 'Coordinate-for_offline_folder.html' page, entering the first coordinate into this field (ie. '0.30028503').  If it isn't pinpointed on the map, leave the field blank
	8g.  Same as 8f, using the second coordinate if pinpointed
	8h.  If a website address is provided, enter it in this field (ie.  'http://www.uaai.com' instead of just 'uaai.com')
	8i.  Select the Ad from the '150dpi' folder
9.  Click 'Add Ad' once all necessary fields are completed and wait for the page to refresh and display results:
	9a.  If there are no problems, a confirmation should be displayed under the first form, along with a link to the uploaded file.  Click the link to verify that it was uploaded successfully and then move the file in the '150dpi' folder into a new folder called '[Done]' and place the Ad Sheet into a new pile for completed entries
	9b.  Otherwise, read the provided error message to determine what went wrong
10.  Repeat steps 8 and 9 for the rest of the Ads, verifying that all Ad Sheets are in the new pile and all images in the '150dpi' folder are now in the '[Done]' folder.  If not, determine which Ads weren't entered

Uploading Files:

1.  If you haven't done so already, begin uplodaing the 'GeneratedImages' folder into the new set folder

Adding the Set to the 'Interactive Maps' Page:

1.  Once the 'GeneratedImages' folder is uploaded, go to http://www.uaai.com/addmap/addmap.php
2.  Check the State drop down menu to make sure the State folder already exists.  If the State isn't listed, go to the second form, select it from the drop down and click 'Add State'.  After refresh, go back to http://www.uaai.com/addmap/addmap.php and refresh the page, which should place the added State into the first drop down.  If refreshing doesn't work, close the page and reopen http://www.uaai.com/addmap/addmap.php
3.  Enter the Set data into the first form:
	3a.  Select the State from the drop down menu
	3b.  Enter the set name without the State (ie. 'Coshocton and Coshocton County with Millersburg and Holmes County' instead of Coshocton and Coshocton County with Millersburg and Holmes County, OH')  Capitalization and punctuation matter as this will be how the Set is displayed in the drop down on the 'Interactive Maps' page
	3c. Enter the name of the new set folder (ie. 'coshocton')
4.  Click 'Add Map' when all fields are completed.  After refresh, a message will appear under the first form:
	4a.  If successful, the message will be a confirmation and the Set will now list in the drop downs for 'Interactive Maps'
	4b.  Any problems will be listed under the form.  Follow any instructions to fix the problem

NEW SET IS NOW COMPLETE

MAKING CHANGES:

Editing the Display Name in the 'Interactive Maps' Menus:

1.  Go to http://www.uaai.com/addmap/edit.php and click on 'Change a Set's Display Name on the Interactive Maps page'
2.  Complete the form:
	2a.  Select the Set from the drop down menu
	2b.  Enter the New Display Name
3.  Click 'Edit Display Name for Interactive Maps' when both fields are completed.  After refresh, a message will appear under the form:
	3a.  If successful, the message will be a confirmation and the Display Name will now show the changes in the 'Interactive Maps' drop down menu.  Might have to close and re-open the 'Interactive Maps' page to show the change
	3b.  Any problems will be listed under the form.  Follow any instructions to fix the problem

Editing the Display Name for the Actual Map Page:

1.  Go to http://www.uaai.com/addmap/edit.php and click on 'Change a Set's Display Name on the Actual Map page'
2.  Complete the form:
	2a.  Select the Set from the drop down menu
	2b.  Enter the New Display Name
3.  Click 'Edit Display Name for Actual Map Page' when both fields are completed.  After refresh, a message will appear under the form:
	3a.  If successful, the message will be a confirmation and the Display Name will now show the changes on the actual map page upon refresh
	3b.  Any problems will be listed under the form.  Follow any instruction to fix the problem

Editing a Set's Folder:

1.  Go to http://www.uaai.com/addmap/edit.php and click on 'Change a Set's Folder'
2.  Complete the form:
	2a.  Select the Set from the drop down menu
	2b.  Enter the New Folder Name (ie. coshocton)
3.  Click 'Change Folder' when both fields are completed.  After refresh, a message will appear under the form:
	3a.  If successful, the message will be a confirmation and the database will have the new Folder Name for the Set
	3b.  Any problems will be listed under the form.  Follow any instructions to fix the problem

Editing a Currently Entered Ad:

1.  Go to http://www.uaai.com/addmap/edit.php and click on 'Edit a Currently Entered Ad'
2.  Complete the form:
	2a.  Select the Set from the drop down menu
	2b.  Select the Ad that will be edited from the drop down menu
	2c.  If the Display Name for the Ad is to be changed, fill in the 'New Ad Name' field.  If not, leave blank
	2d.  If the Primary Category for the Ad is to be changed, fill in the 'New Primary Category' field (ie. 'Entertainment' or 'Lodging' without the quote symbols, not 'entertainment' or 'LODGING').  If not, leave blank
	2e.  Repeat directions for 2d for the Secondary Category
	2f.  Repeat directions for 2d for Tertiary Category
	2g.  If the Pinpoint value is to be changed from 'Yes' to 'No' or vice versa, select the new value from the drop down menu.  If not, don't choose either
	2h.  If changing the Keywords for the Ad, enter them into the 'New Keywords' field.  Remember to enter the Display Name for the Ad into this field as well, along with any of the old Keywords that are being kept
		2h1.  If the Display Name for the Ad was changed, follow the directions from 2h and use the New Display Name in place of the old one
	2i.  If the Company Address is different, fill in the 'New Company Address' field.  If not, leave blank
	2j.  If the X-value of the Pinpoint Location is different, fill in the 'New Location-X' field with the new value.  If not, leave blank
	2k.  If the Y-value of the Pinpoint Location is different, fill in the 'New Location-Y' field with the new value.  If not, leave blank
	2l.  If the Company URL is different, fill in the 'New Company URL' field with the new address.  If not, leave blank
	2m.  If there is a New Ad Image, browse to the file and select it, making sure that the filename doesn't contain any special characters (ie. no '!', '&', '#', '$', '%', etc.)
		2m1.  Create a new thumbnail for the Ad Image, uploading the new thumbnail into the /ads/Thumb/ folder.  See Step 5 of 'Converting Ads for Later Use' above for instructions
3.  Click 'Edit Ad' when all of the necessary fields are completed, leaving any fields that aren't being changed blank.  After refresh, a message will appear under the form:
	3a.  If successful, the message will be a confirmation and the details of the Ad that were changed should now be visible on the Actual Map page
	3b.  Any problems will be listed under the form.  Follow any instructions to fix the problem