I’ve owned this domain since 2005 and actually started developing it with TextPattern back then, but TextPattern didn’t pan out and I was having a rough go with getting everything working. Luckily I found ExpressionEngine! It’s allowed me to do some things with creating websites that I never thought possible.
Glad to see it all up and working now. Looks absolutely fantastic. A true testament to what ExpressionEngine sites can look like when care has been taken over them
Nice Deron! A nice addition would be to be able to simply browse the list of courses, or even dropping them all on a Google map. I’m not familiar with the town names and zipcodes across the river in western Kentucky, so those tools would help us out-of-staters find a new course to try!
Thanks everyone, I appreciate the kind words on the site!
Derek Jones - 12 June 2008 02:33 PM
Nice Deron! A nice addition would be to be able to simply browse the list of courses, or even dropping them all on a Google map. I’m not familiar with the town names and zipcodes across the river in western Kentucky, so those tools would help us out-of-staters find a new course to try!
That’s a great idea actually. Don’t know why I hadn’t thought of it. You can actually search by Name, City, Zip, Course Designer, Yardage, Tee Time Policy and some other custom fields but I haven’t figured out a way to let everyone know that they can search by all of those without making the design look bad, so I just left it at “name, city or zip.” I’m thinking of offering an advanced search option though too.
It would be very easy to create a list of courses alphabetically and that’s probably a very good idea for people not familiar with cities and zip codes. An even better idea for these people is just what you suggested by having a google map with nodes that show the location of each course… wouldn’t have any idea on how to accomplish that would ya?
Thanks a lot Derek. I actually looked a while back on how to do that but for whatever reason I couldn’t turn anything up. Looks fairly straight forward.
Superb looking site but perhaps you can tidy up the login/registration links at the top. Looks like there is a bit of left margin/padding going on there.
As for the Google Maps thing, I have done something similar where I output the address to a geolocator using Google Maps -
var park = "{title}"; var address = "{location_address}";
// On page load, call this function
function load() { // Create new map object map = new GMap2(document.getElementById("map")); map.addControl(new GSmallMapControl());
// Create new geocoding object geocoder = new GClientGeocoder();
// Retrieve location information, pass it to addToMap() geocoder.getLocations(address, addToMap); }
// This function adds the point to the map
function addToMap(response) {
// Retrieve the object place = response.Placemark[0];
// Retrieve the latitude and longitude point = new GLatLng(place.Point.coordinates[1], place.Point.coordinates[0]);
// Center the map on this point map.setCenter(point, 13);
// Create a marker marker = new GMarker(point);
// Add the marker to map map.addOverlay(marker);
var streetaddress = place.AddressDetails.Country.AdministrativeArea.Locality.Thoroughfare.ThoroughfareName; var city = place.AddressDetails.Country.AdministrativeArea.Locality.LocalityName; var state = place.AddressDetails.Country.AdministrativeArea.AdministrativeAreaName; var zip = place.AddressDetails.Country.AdministrativeArea.Locality.PostalCode.PostalCodeNumber;
// Add address information to marker marker.openInfoWindowHtml('<div class="google_bubble">' + '<h3 class="google">' + park + '</h3>' + '<p>' + streetaddress + '</p>' + '<p>' + city + '</p>' + '<p>' + state + ' ' + zip + '</p>' + '</div>');
Superb looking site but perhaps you can tidy up the login/registration links at the top. Looks like there is a bit of left margin/padding going on there.
Steven,
Thanks! I appreciate that. Can you tell me what browser you’re using? For some reason I had a heck of a time with the login/registration area and I thought I finally had it sorted out at least in the majority of browsers. It should look fine in FireFox, Opera, Safari (windows) and IE7.
into an htaccess file in the root directory of my server.
And the 404 Error Page, I’ve just set up template which I’ve named “404-error” and placed the static code/text in that template for the 404 page. Under the global template preferences you can set what template you’d like to use for your 404 page.
I don’t know how far you browsed into the site, but I’ve already done some geolocation with google maps myself using the CoolLocation Extension see this page as an example: Kearney Hill Golf Links. I’m going to check out your code more closely tomorrow as I want to do something like Derek suggested with a map which has nodes for all the courses. Do you have a live example of yours?
That .htaccess method doesn’t work with mine either… It’s a mystery! Nothing works!
I don’t have a live example I’m afraid. It is pre launch and waiting for client instruction (limbo).
That’s really weird. I’ve never had a problem with this method. It takes me all of five minutes to implement and it’s done. I’m not super versed in all the .htaccess stuff and how it reacts with the server, but it almost sounds like it’s a setting or sort on the server?
As for it destroying the 404 process, I heard that too and tried every other method except this one and could never get it to work so I posted in the tech support forums and Robin replied saying she’s never had a problem with 404 pages using the file and directory check method and it’s what she recommends so I just went with it. To my knowledge I’ve never had any problems or been penalized in any way by the search engines. I think that was the big issue is that it creates duplicate content somehow which search engines frown upon.