B&B Listings Site
Posted: 22 June 2009 06:57 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  83
Joined  09-11-2008

Hiya,

We’ve just re-launched a South Africa bed and breakfast listing website. The site makes extensive use of categories, and to make it easy for editors to publish content we created a weblog per province. This means an editor can publish a listing straight into the relevant province, and side panel modules pull content from specific weblogs as appropriate. You can see an example of how we used weblogs and categories here:

Weblog (provincial): Western Cape B&B
Category Level 1 (region): Cape Town B&B
Category Level 2 (town): Camps Bay B&B

We had to optimise our templates as we’re experiencing certain times of the day when performance is not quite ideal but I think we’re close to conquering that as a number of queries return a large amount of data. A slight headache was effectively migrating all legacy URL’s from the previous site which was achieved using mod rewrites and a db table to store the URL mapping. This ensures all URL’s are permanently migrated across.

Thanks goes to Laisvunas (child Categories), Solspace (Freeform), Andrew Weaver (CSV Grab), Rick Ellis (Char limiter) and Leevi Graham (Htaccess generator) for the plugins/extensions used in the site.
 
If you have any thoughts or comments, do drop me a message.

Cheers,
Calan

 Signature 

EE Websites:
Umbrella Company | Limited Company | South Africa Accommodation

Profile
 
 
Posted: 30 June 2009 12:49 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRank
Total Posts:  5203
Joined  03-22-2004

Calan,

Great work. Clear layout and well thought out. The only comment I would have is that some sort of integration with Google maps and general information about the areas you are listing

As a prospective traveller to South Africa you gotta assume I have no idea where everything is.

 Signature 
Profile
 
 
Posted: 30 June 2009 05:27 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  83
Joined  09-11-2008

Hi John,

Cheers for the reply. We needed to get the site up fairly quickly so haven’t added maps yet but we’re adding a map to the homepage so that a user can simply click the area of the country they’re interested in.

In terms of more info, we might get there eventually though it’s a decent undertaking to provide all that content. I’ll have a chat to the team but thanks for the suggestion.

Regarding my post above on performance, it turned out that the Child Categories plugin was causing the problem. As we have about 800 categories, it was iterating through all of them, creating a query for every category and crashing the server. In the end, I turned the area list into static blocks which has made the site very fast. We’re also resizing all photos as they’re still optimised for the previous site and will speed things up even more.

Thanks for the thoughts.

Calan

P.S. Anyone using that plugin on a site with a large number of categories might want to review the number of queries being generated.

 Signature 

EE Websites:
Umbrella Company | Limited Company | South Africa Accommodation

Profile
 
 
Posted: 30 June 2009 08:08 AM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1211
Joined  12-18-2008

it is often possible to write a bit of custom php that can do what the child categories plugin does in a single query and roughly 2 loops through the returned data.  I’ve done it for nav-building purposes a couple times. I implemented it as a custom plugin and turned tag caching on for nearly static level performance.  Of course if you’re not going to need to change your categories often then static should be fine.

 Signature 

EE Pro Network
eMarketSouth - web design & development, SEO, video production, and more
ExpressionEngine consulting services - complex SQL queries, .htaccess url rewriting, custom plugins/modules/extensions, template optimization, javascript/jQuery enhancements, and more!
Skype: tywangsness

Profile
 
 
Posted: 01 July 2009 08:32 PM   [ Ignore ]   [ # 4 ]  
Summer Student
Total Posts:  2
Joined  06-15-2009

Nice site, I would highly agree with John and hook up with google maps, and maybe do something along the lines of what the travel sites do for travel arangements

Profile
 
 
Posted: 06 July 2009 12:55 PM   [ Ignore ]   [ # 5 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  115
Joined  08-18-2006

Nice site, great layout.

 Signature 

“The Road to Success is Always Under Construction”

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 1743, on December 02, 2009 03:47 PM
Total Registered Members: 120468 Total Logged-in Users: 43
Total Topics: 126547 Total Anonymous Users: 31
Total Replies: 665392 Total Guests: 275
Total Posts: 791939    
Members ( View Memberlist )