My new project: Kentucky Golfing
Posted: 12 June 2008 01:13 PM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1561
Joined  08-02-2006

Kentucky’s Online Golf Resource - Kentucky Golfing

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.

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 12 June 2008 01:17 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  220
Joined  02-01-2007

Nice Work, really like it. I hope it gets popular, best of luck…

 Signature 

Adam Wiggall.

Profile
 
 
Posted: 12 June 2008 01:22 PM   [ Ignore ]   [ # 2 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6407
Joined  04-15-2006

Hi Deron,

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 wink

Great work.

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 12 June 2008 01:33 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15739
Joined  06-03-2002

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!

 Signature 
Profile
MSG
 
 
Posted: 12 June 2008 02:22 PM   [ Ignore ]   [ # 4 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1561
Joined  08-02-2006

Thanks everyone, I appreciate the kind words on the site!

Derek Jones - 12 June 2008 01: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?

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 12 June 2008 02:24 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  874
Joined  02-15-2008

Very nice, love your use of colors there. Also liking your nice stylesheet site.

 Signature 

Andy Harris | Pepper Digital | Malvern, UK | Twitter | New to ExpressionEngine? Start here!
Remember - If at first you don’t succeed, you’re not Chuck Norris

Profile
 
 
Posted: 12 June 2008 02:31 PM   [ Ignore ]   [ # 6 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15739
Joined  06-03-2002

It’s pretty simple, Deron.  If you have the addresses for each course, the weblog entries tag can output the location data for you.

http://code.google.com/apis/maps/documentation/introduction.html
http://code.google.com/apis/maps/documentation/examples/index.html

 Signature 
Profile
MSG
 
 
Posted: 12 June 2008 05:47 PM   [ Ignore ]   [ # 7 ]  
Summer Student
Total Posts:  12
Joined  05-19-2008

just bookmarked it ... very elegant

Profile
 
 
Posted: 12 June 2008 08:05 PM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1561
Joined  08-02-2006

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.

Are you close to Western Kentucky?

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 12 June 2008 08:31 PM   [ Ignore ]   [ # 9 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15739
Joined  06-03-2002

Yes, Metropolis, IL is directly across the river from Paducah.

 Signature 
Profile
MSG
 
 
Posted: 12 June 2008 08:36 PM   [ Ignore ]   [ # 10 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1561
Joined  08-02-2006

Ah, nice!

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 12 June 2008 10:05 PM   [ Ignore ]   [ # 11 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1576
Joined  01-05-2007

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 -

{exp:weblog:entries weblog="{segment_1}" url_title="{segment_3}" disable="member_data|trackbacks"}


//<![CDATA[

var geocoder;
var
map;

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 + '&nbsp;' + zip + '</p>' + '</div>');

}

//]]>


{/exp:weblog:entries}

 Signature 

 
Steven Hambleton | ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 12 June 2008 10:09 PM   [ Ignore ]   [ # 12 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1576
Joined  01-05-2007

PS. How did you do the index.php removal and 404 page?

I am having great difficulty with mine.

 Signature 

 
Steven Hambleton | ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 12 June 2008 10:32 PM   [ Ignore ]   [ # 13 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1561
Joined  08-02-2006
stinhambo - 12 June 2008 10:05 PM

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.

As for removing the index.php, I’m using the “file and directory check” method found on this wiki page: http://expressionengine.com/wiki/Remove_index.php_From_URLs/

Essentially all I’ve done is copy/paste:

RewriteEngine On
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule
^(.*)$ /index.php/$1 [L]

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?

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 12 June 2008 10:36 PM   [ Ignore ]   [ # 14 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1561
Joined  08-02-2006

BTW: Your open search plugin is absolutely wonderful! I use it on the daily!

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 12 June 2008 10:45 PM   [ Ignore ]   [ # 15 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1576
Joined  01-05-2007

Thank you for *your* kind words!

I am viewing your site on FF3 RC3 on the Mac.

I thought the directory approach destroyed the 404 page process? Mmm I might have to revisit that then.

 Signature 

 
Steven Hambleton | ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 12 June 2008 10:55 PM   [ Ignore ]   [ # 16 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1576
Joined  01-05-2007

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).

 Signature 

 
Steven Hambleton | ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 13 June 2008 04:45 AM   [ Ignore ]   [ # 17 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1436
Joined  09-16-2004

Nice work, easy to read and clean layout. Kudos!

 Signature 

Peace, e-man.
stookstudio.com, websites built with care and web standards. LinkedIn profile

Profile
 
 
Posted: 13 June 2008 04:52 AM   [ Ignore ]   [ # 18 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1561
Joined  08-02-2006
stinhambo - 12 June 2008 10:55 PM

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.

Thanks e-man!

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64515 Total Logged-in Users: 21
Total Topics: 81075 Total Anonymous Users: 9
Total Replies: 436313 Total Guests: 138
Total Posts: 517388    
Members ( View Memberlist )