Project: Share This

Add a Facebook/Twitter share link to Listing Detail Sidebar/Page, Photo Gallery & 10 'About' pages

Start Date: February 10, 2011
Deadline:  
Assigned by: Cass Herrin/Carolyn Cecil

To Do

FaceBook


Title

Description

Sample URL's, Title and Descriptions - (all NOW Descr are the same, except Photo Gallery) Marketing Contact: Tara Sharp

Detail Tab   http://localhost:8500/pub/index.cfm?fuseaction=listing.PP3ListingDetail&ListingID=73706401

Link from here targets Detail Page
Detail Page   http://localhost:8500/pub/index.cfm?fuseaction=listing.listingDetailUpdated&listingID=67394865
NOW Title Listing Detail | Windermere Real Estate
  Descr Windermere Real Estate - Real Estate and Homes for Sale in Seattle, Portland, Tacoma, Spokane, Boise, Las Vegas, Phoenix, the Bay Area, Southern California and across the Western United States.
NEW Title Windermere | Listing Detail | 3607 NW 60th St Seattle, WA 98107
  Descr Views! Views! Views! Stunning contemporary on quiet cul-de-sac. Breathtaking views of sailboats, Sound, ship canal, and iconic Ray's. Main floor: master suite with BTH, deck, and lg closet, 2 add oversize BRs and BTH. Upper level has soaring vaulted ceilings, open flr plan, bamboo flrs, and 2 decks. All with panoramic VIEWS. French doors open to fam/sun room. Beautiful wood detailing throughout. Lower level has private guest suite, perfect for family visits or nanny. Great neighborhood.
Photo Gallery   http://localhost:8500/pub/index.cfm?fuseaction=Listing.largePhotos&listingID=67394865
NOW Title Windermere Real Estate Company
  Descr <none>
NEW Title Windermere | Large Photos | 3607 NW 60th St Seattle, WA 98107
  Descr Views! Views! Views! Stunning contemporary on quiet cul-de-sac. Breathtaking views of sailboats, Sound, ship canal, and iconic Ray's. Main floor: master suite with BTH, deck, and lg closet, 2 add oversize BRs and BTH. Upper level has soaring vaulted ceilings, open flr plan, bamboo flrs, and 2 decks. All with panoramic VIEWS. French doors open to fam/sun room. Beautiful wood detailing throughout. Lower level has private guest suite, perfect for family visits or nanny. Great neighborhood.
Buy a Home   http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=114560
NOW Title Buy a Home
  Descr Windermere Real Estate - Real Estate and Homes for Sale in Seattle, Portland, Tacoma, Spokane, Boise, Las Vegas, Phoenix, the Bay Area, Southern California and across the Western United States.
NEW Title Windermere Buy a Home
  Descr Whatever your reasons for buying, finding the right home, in the perfect neighborhood and at a cost that is within your budget, is no small task. Many buyers choose a full-service, licensed Windermere professional to make purchasing their dream home a reality.
Get Ready to Buy   http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=115925
NOW Title Get Ready to Buy
  Descr Windermere Real Estate - Real Estate and Homes for Sale in Seattle, Portland, Tacoma, Spokane, Boise, Las Vegas, Phoenix, the Bay Area, Southern California and across the Western United States.
NEW Title Get Ready to Buy
  Descr You’re ready to buy - or maybe you're just ready to start seriously thinking about buying. There’s a lot you can do to prepare. With so much information available at your fingertips, you may already be doing a lot of your own research. Here are a few things to keep in mind while you get started.
The Buying Process   http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=115924
NOW Title The Buying Process
  Descr Windermere Real Estate - Real Estate and Homes for Sale in Seattle, Portland, Tacoma, Spokane, Boise, Las Vegas, Phoenix, the Bay Area, Southern California and across the Western United States.
NEW Title The Buying Process
  Descr You’ve found the home you can see yourself living in, now what? There are several stages of the buying process you will go through before you can officially call it your own including:
Glossary   http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=115810
NOW Title Glossary of Real Estate Terms
  Descr Windermere Real Estate - Real Estate and Homes for Sale in Seattle, Portland, Tacoma, Spokane, Boise, Las Vegas, Phoenix, the Bay Area, Southern California and across the Western United States.
NEW Title Glossary of Real Estate Terms
  Descr Definitions for Amoritization, Annual Percentage Rate, Comparative Market Analysis, Hazard Insurance, Origination fee, and more!
Sell a Home   http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=114561
NOW Title Sell a Home
  Descr Windermere Real Estate - Real Estate and Homes for Sale in Seattle, Portland, Tacoma, Spokane, Boise, Las Vegas, Phoenix, the Bay Area, Southern California and across the Western United States.
NEW Title Sell a Home
  Descr Your home may be your single biggest investment and one of the largest financial transactions you’ll ever make. When you make the decision to sell, you want to get the best price and the most favorable terms. There are many marketing options, legalities and details that go into the sale, from the time you set the price to the final closing.
Prepare Your Home   http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=115928
NOW Title Prepare Your Home for Sale
  Descr Windermere Real Estate - Real Estate and Homes for Sale in Seattle, Portland, Tacoma, Spokane, Boise, Las Vegas, Phoenix, the Bay Area, Southern California and across the Western United States.
NEW Title Prepare Your Home for Sale
  Descr A clean, neat home in need of few or no repairs will sell faster, and at a higher price, than one that is showing wear and tear. Give your home its best possible presentation and perform a mini-makeover. Your Windermere agent can recommend the most important items and can help with staging your home.
Selling Process   http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=115927
NOW Title The Selling Process
  Descr Windermere Real Estate - Real Estate and Homes for Sale in Seattle, Portland, Tacoma, Spokane, Boise, Las Vegas, Phoenix, the Bay Area, Southern California and across the Western United States.
NEW Title The Selling Process
  Descr You’re ready to move on from your current home. There are several steps of the selling process you will go through. Here are a few of those stages:
Foundation   http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=115330
NOW Title The Windermere Foundation
  Descr Windermere Real Estate - Real Estate and Homes for Sale in Seattle, Portland, Tacoma, Spokane, Boise, Las Vegas, Phoenix, the Bay Area, Southern California and across the Western United States.
NEW Title The Windermere Foundation
  Descr Every time a Windermere sales associate sells a home, a portion of the commission goes to the Windermere Foundation, a non-profit organization established in 1989. Contributions from Windermere agents combined with contributions from Windermere employees and public supporters have allowed the Windermere Foundation to distribute over two million dollars annually in recent years to non-profit agencies dedicated to helping homeless and low-income families.
Comm. Service Day   http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=115329
NOW Title Community Service Day
  Descr Windermere Real Estate - Real Estate and Homes for Sale in Seattle, Portland, Tacoma, Spokane, Boise, Las Vegas, Phoenix, the Bay Area, Southern California and across the Western United States.
NEW Title Community Service Day
  Descr Creating vibrant communities is one of the things that inspire our Windermere network to be involved in service projects that make things a little brighter for all our neighbors. Supporting the communities Windermere serves is at the core of our company’s formation and growth.
Neighborhood Events   http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=114989
NOW Title Neighborhood Events
  Descr Windermere Real Estate - Real Estate and Homes for Sale in Seattle, Portland, Tacoma, Spokane, Boise, Las Vegas, Phoenix, the Bay Area, Southern California and across the Western United States.
NEW Title Neighborhood Events
  Descr Windermere's community involvement goes well beyond helping people buy and sell houses. We believe in giving time and resources to supporting events that enrich the communities where we live and work.

 

2/11/11Start Doing Stuff

Share Widget

  • Added Share widget to detail listing
  • Facebook has to link to a live site, so test on dixoninteractive.
  • Does it always grab the description? The blog pages grab the first paragraph - look up rules
  • Point dev and qa to di.com, live to www.windermere.com?
2/14/11Those 10 About Pages

Buy a Home

http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=114560

More Resources have three different ways of getting to the index:
  • index.cfm?fuseaction=agentoffice.AgentOfficeSearch - Offices and Agents Near You
  • ../../index.cfm?fuseaction=content.libraryHTMl&contentID=115925 - Get Ready to Buy
  • /index.cfm?fuseaction=content.libraryHTMl&contentID=115924 - The Buying Process
  • /index.cfm?fuseaction=content.libraryHTMl&contentID=115810 - Glossary of Real Estate Terms
  • http://blog.windermere.com/buying/ - Latest Buying Tips from Our Blog

in /Controllers/Content/fbx_Switch.cfm

  • <cfcase value="libraryHTML">
        <cfset AddToQ('mContent.getContent')>
        <cfset AddToQ('vContent.DisplayLibraryHTML into col2')>
        <cfset AddToQ('vLayout.#request.page.skin# AS Layout')>
        <cfset AddToQ('vLayout.masterLayout AS Layout')>
    </cfcase>

in /Models/mContent/fbx_Switch.cfm

  • <cfcase value="getContent">
        <cfset AddToQ('q.selContentDocument')>
    </cfcase>
  • SELECT title, description, url, HTMLContent
    FROM Content, contentDocument
    WHERE
    content.ContentID = contentDocument.fkContentID
    description like #keyWord# AND/OR
    content.ContentID = attributes.ContentID
  • These items do not have a description field in the update form. Is it blank?
    Yes it is. query.txt | screenshot
    • Login to WORC
    • Admin
    • Content Manager
    • Public HTML Content
    • Windermere.com 2010 (2)
      • About Windermere (1)
        Buy a Home (1)
        Sell a Home (1)
        Get Ready to Buy (2)
        The Buying Process (3)
        Prepare Your Home for Sale (6)
        The Selling Process (7)
        Glossary of Real Estate Terms (9)
        About Us (10)
        Executive Team (20)
        Press Releases (30)
        Press Release Archive (35)
        Contact Us (40)
        Become a Windermere Office (70)
        Windermere Education (80)
        On-Line Course Descriptions - California (83)
        Windermere Online Courses (86)
        Pre-Licensing Information (86)
        The Windermere Foundation (110)
        Community Service Day (120)
        Neighborhood Events (130)
        Property Management (180)
        Relocation and Referral Services (230)
        Our Team (231)
        Corporate Services (232)
        Additional Services (233)
        Living (300)
    • History of Windermere (212)

in /Views/vContent/dspDisplayLibraryHTML.cfm

  • <cfset attributes.pagetitle = "#selContentDocument.title#">
    #selContentDocument .HTMLContent#

in /Views/vLayout/PublicSiteLayout.cfm

  • request.page.skin = PublicSiteLayout
  • <cfif request.page.skin NEQ "silver">
        <cf_srcScripts>
        <cfinclude template="#request.page.header#.cfm">
        #col2#
        <cfif attributes.fuseaction NEQ "about.home"><br />#col3#</cfif>
        <cfinclude template="#request.page.footer#.cfm">
    </cfif>

in /Views/vLayout/masterLayout.cfm

  • if defined request.agent
    <cfparam name="request.page.htmlTitle" default="#request.agent.MetaTitle#">
    <cfparam name="request.page.metaDescription" default="#request.agent.MetaDescription#">
  • else
    <cfparam name="request.page.htmlTitle" default="#attributes.pageTitle#">
    <cfparam name="request.page.metaDescription" default="Windermere Real Estate - Real Estate and Homes for Sale in Seattle, Portland, Tacoma, Spokane, Boise, Las Vegas, Phoenix, the Bay Area, Southern California and across the Western United States.">
  • <title>#request.page.htmlTitle#</title>
    <meta name="Description" content="#request.page.metaDescription#">
  • <body <cf_srcOnloads> <cf_srcOnresizes>>
        #fusebox.layout#
    </body>

 

2/15/11The Listing Detail Tab

 

http://localhost:8500/pub/index.cfm?fuseaction=listing.PP3ListingDetail&ListingID=73706401

in /Controllers/Listing/fbx_Switch.cfm

  • <cfcase value="PP3ListingDetail">
        <cfset attributes.XFA.listingDetail = "listing.listingDetailUpdated">
        <cfset AddToQ('mListing.GetListingDetail')>
        <cfset AddToQ('vListing.PP3ListingDetailLayout into blankLayoutFile')>
        <cfset AddToQ('vLayout.blankLayout AS Layout')>
    </cfcase>
  • And <cfcase value="SoldListingDetail">

in /Views/vListing/dspPP3ListingDetailLayout.cfm (and dspSoldListingDetailLayout.cfm)

  • Page that rendersthe content of the sidebar - from Message and photos to Agent info
  • Contains open house area.
  • Could I set a title and Description here?  No need - not coming back to here

in /Views/vLayout/blankLayout.cfm

  • Contains <HEAD> and <BODY> and <TITLE> tags, but no <META Description> - however, it doesn't matter because we are not coming back to this page
  • <body <cf_srcOnloads> <cf_srcOnresizes>>
        #blankLayoutFile#
    </body>
2/15/11The Listing Detail Page

 

http://localhost:8500/pub/index.cfm?fuseaction=listing.listingDetailUpdated&listingID=67394865

in /Controllers/Listing/fbx_Switch.cfm

  • <cfcase value="listingDetailUpdated">
        <cfset attributes.pagetitle = "Listing Detail | Windermere Real Estate">
        <cfset AddToQ('mListing.GetListingDetail')>
        <cfset AddToQ('vListing.ListingDetailPublicUpdated into col2')>
        <cfset AddToQ('vLayout.#request.page.skin# AS Layout')>
        <cfset AddToQ('vLayout.masterLayout AS Layout')>
    </cfcase>
  • And <cfcase value="SoldListingDetailUpdated">
  • Interesting that a page title is defined here in the switch. If it was moved below the Get Listing Detail and added a line for the description, we could specify the title and description based on the query results.

in /Models/mListing/fbx_Switch.cfm

  • <cfcase value="GetListingDetail">
        <cfset AddToQ('q.selPub_View')>
    </cfcase>

/Query/sel/selPub_View.cfm

in /Views/vListing/dspListingDetailPublicUpdated.cfm (and dspSoldListingDetailPublicUpdated.cfm)

  • put the share widget below Nearby Comparable Solds

in /Views/vLayout/PublicSiteLayout.cfm

  • request.page.skin = PublicSiteLayout
  • <cfif request.page.skin NEQ "silver">
        <cf_srcScripts>
        <cfinclude template="#request.page.header#.cfm">
        #col2#
        <cfif attributes.fuseaction NEQ "about.home"><br />#col3#</cfif>
        <cfinclude template="#request.page.footer#.cfm">
    </cfif>

in /Views/vLayout/masterLayout.cfm

  • Contains <HEAD> and <BODY> and <TITLE> tags,
  • <title>#request.page.htmlTitle#</title>
    <meta name="Description" content="#request.page.metaDescription#">

Solution

  • Added to the switch
    <cfset attributes.pagetitle = "Listing Detail">
  • Added to selPub_View.cfm
    <cfset attributes.htmlTitle2 = " | " & selPub_View.address & " " & Trim(selPub_View.cit) & ", " & selPub_View.st & " " & selPub_View.zip >
    <cfset request.page.metaDescription = selPub_View.comments
  • Added to Master Layout
    <title>#request.page.htmlTitle# #attributes.htmlTitle2#</title>
    <meta name="Description" content="#request.page.metaDescription#">
2/15/11Photo Gallery Page

http://localhost:8500/pub/index.cfm?fuseaction=Listing.largePhotos&listingID=67394865

in /Controllers/Listing/fbx_Switch.cfm

  • <cfcase value="largePhotos">
        <cfset AddToQ('mListing.GetListingDetail')>
        <cfset AddToQ('mListing.RetrievePhotoGallery')>
        <cfset AddToQ('listing.initLargePhotos' )>
        <cfset AddToQ('mListing.InitSlideViewer into blankLayoutFile')>
        <cfset AddToQ('vListing.SlideViewer into blankLayoutFile')>
        <cfset AddToQ('vLayout.blankLayout AS Layout')>
    </cfcase>

/Query/sel/selPub_View.cfm

in /Views/vLayout/blankLayout.cfm

  • Contains <HEAD> and <BODY> and <TITLE> tags, but no <META Description>
  • <body <cf_srcOnloads> <cf_srcOnresizes>>
        #blankLayoutFile#
    </body>

in /Query/sel/selPub_View.cfm

  • Could set Title and Description here
  • <cfset attributes.pagetitle = selPub_View.address & " " & selPub_View.cit & ", " & selPub_View.st & " " & selPub_View.zip >
    <cfset request.page.metaDescription = selPub_View.comments >

 

Solution

  • Added to the switch
    <cfset attributes.htmlTitle="Windermere Large Photos">
  • Added to selPub_View.cfm
    <cfset attributes.htmlTitle2 = " | " & selPub_View.address & " " & Trim(selPub_View.cit) & ", " & selPub_View.st & " " & selPub_View.zip >
    <cfset request.page.metaDescription = selPub_View.comments
  • Added to blankLayout.cfm
    <title>#attributes.htmlTitle# #attributes.htmlTitle2#</title>
2/15/11How do the sites grab the content?

Facebook Stuff

Twitter Stuff

 

3/2/11In the Database

SELECT contentID, fkContentTypeID, parentContentID, subRoot, title, description, sortOrder, dateCreated, dateModified, activeDate, inactiveDate, permRole, permMLS,
permServiceArea, permState, showDate, lastUpdatedBy, browserTarget, oldCustomPageID, active
FROM content
WHERE parentContentID = 114556

3/2/11Facebook Refresh

So the new descriptions went live, but the facebook "grab" is not updated. Had to use the "Linter" to update their cache. http://developers.facebook.com/tools/lint

(Checked in 3/2/11) Revision # 13544
Modified Files

About Pages

W/Views/vLayout/dspPublicHeader.cfmFor 2nd Release | Top of page

Shortened Page Title to 700px, Added share widget to right of large page title text (2/14/11)

<cfif ListFind("114560,115925,115924,115810,114561,115928,115927,115330,115329,154989", attributes.contentID )>
    <div style="margin:30px 46px 0 0; float:right">
        <span style="display:none;">
            <script charset="utf-8" type="text/javascript" src="http://w.sharethis.com/button/sharethis.js
##publisher=bc1b1b43-2fe6-4f15-8106-1c949b18abaa &amp;type=wordpress&amp;post_services=email
%2Cfacebook%2Ctwitter %2Cgbuzz%2Cmyspace%2Cdigg%2Csms%2Cwindows_live%2Cdelicious
%2Cstumbleupon%2Creddit%2Cgoogle_bmarks%2Clinkedin%2Cbebo%2Cybuzz%2Cblogger%2Cyahoo_bmarks
%2Cmixx%2Ctechnorati%2Cfriendfeed%2Cpropeller%2Cwordpress%2Cnewsvine&amp;wp=2.8.4"></script>
        </span>
        <style>.stico_default {background-position: 1 2 !important}</style>
        <cfoutput>
            <script type="text/javascript">SHARETHIS.addEntry({ title: "#attributes.pageTitle#", url: "http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=#attributes.contentID#" });</script>
        </cfoutput>
    </div>
</cfif>

Changed from Share widget to just Facebook and Twitter (2/16/11)

<cfparam name="attributes.contentID" default="">
<!--- SHARE THIS --->
<!--- This list is also in masterlayout.cfm --->
<cfif ListFind("114560,115925,115924,115810,114561,115928,115927,115330,115329,154989", attributes.contentID )>
    <div style="margin:30px 32px 0 0; float:right">
        <cfoutput>
            <!--- Facebook Button --->
            <a href="http://www.facebook.com/sharer.php ?u=http://www.windermere.com/index.cfm%3Ffuseaction=content.libraryHTMl%26contentID=#attributes.contentID#" target="_blank" ><img src="/images/facebookshare.png" width="57" height="19" hspace="5" border="0" /></a>

            <!--- Twitter Button --->
            <cfset twitterTitle = attributes.pageTitle >
            <cfset twitterDescription = Left(request.page.metaDescription,115-Len(attributes.pageTitle))>
            <a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.windermere.com/index.cfm?fuseaction=content.libraryHTMl&contentID=#attributes.contentID#" data-text="#twitterTitle#-#twitterDescription#..." data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
        </cfoutput>

    </div>
</cfif>

(ci: 3/18/11, rev 13576)

W/Views/vContent/dspDisplayLibraryHTML.cfmDisplays center content of pages in the Content Library

Contains update of page titile from database. Added update of Description from database (2/14/11)

(ci: 3/2/11, rev 13542)
<cfif IsDefinedValue("selContentDocument.description")>
    <cfset request.page.metaDescription = "#selContentDocument.description#">
</cfif>

Listing Detail Tab

W/View/vListing/dspPP3ListingDetailLayout.cfmFor 2nd Release | Right Column Detail tab for Active listings

Added just Facebook and Twitter (2/16/11)

<!--- SHARE THIS --->
<!--- Facebook Button --->
<a href="http://www.facebook.com/sharer.php?u=http://www.windermere.com/index.cfm%3Ffuseaction=listing.listingDetailUpdated%26listingID=#attributes.listingID#" target="_blank" ><img src="/images/facebookshare.png" width="57" height="19" hspace="5" border="0" /></a>

<!--- Twitter Button --->
<cfif selPub_view.show_address eq 1>
    <cfset twitterAddress = "#Trim(selPub_View.address)# #Trim(selPub_View.cit)#, #Trim(selPub_View.st)# #Trim(selPub_View.zip)#" >
<cfelse>
    <cfset twitterAddress = "Address Not Available #Trim(selPub_View.cit)#, #Trim(selPub_View.st)# #Trim(selPub_View.zip)#" >
</cfif>
<cfset twitterComments = Left(selPub_View.comments,115-Len(twitterAddress))>
<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.windermere.com/index.cfm?fuseaction=listing.listingDetailUpdated&listingID=#attributes.listingID#" data-text="#twitterAddress# #twitterComments#..." data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

(ci: 3/18/11, rev 13576)

(ci: 4/6/11, rev 13613) Took title, address, details button, share this and open house and put it ina table to keep them from overlapping

W/View/vListing/dspSoldListingDetailLayout.cfmRight Column Detail tab for Active listings
 

Full Listing Detail Page

W/View/vListing/dspListingDetailPublicUpdated.cfmFor 2nd Release | Body of page - photo, specs and maps

Added share widget below Nearby Comparable Solds (2/14/11)

<script type="text/javascript">SHARETHIS.addEntry({ title: "<cfif selPub_view.show_address eq 1>#selPub_View.address#<cfelse>Address Not Available</cfif> #selPub_View.cit#, #selPub_View.st# #selPub_View.zip#", url: "http://www.windermere.com/#attributes.listingID#" });</script>

Added just Facebook and Twitter (2/16/11)

<!--- SHARE THIS --->
<!--- Facebook Button --->
<!--- type: button, button_count, box_count, icon--->
<a href="http://www.facebook.com/sharer.php ?u=http://www.windermere.com/index.cfm%3Ffuseaction=listing.listingDetailUpdated%26listingID=#attributes.listingID#" target="_blank" ><img src="/images/facebookshare.png" width="57" height="19" hspace="5" border="0" /></a>

<!--- Twitter Button --->
<cfif selPub_view.show_address eq 1>
    <cfset twitterAddress = "#Trim(selPub_View.address)# #Trim(selPub_View.cit)#, #Trim(selPub_View.st)# #Trim(selPub_View.zip)#" >
<cfelse>
    <cfset twitterAddress = "Address Not Available #Trim(selPub_View.cit)#, #Trim(selPub_View.st)# #Trim(selPub_View.zip)#" >
</cfif>
<cfset twitterComments = Left(selPub_View.comments,115-Len(twitterAddress))>
<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.windermere.com/index.cfm?fuseaction=listing.listingDetailUpdated&listingID=#attributes.listingID#" data-text="#twitterAddress# #twitterComments#..." data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

(ci: 3/18/11, rev 13576)

W/View/vListing/dspSoldListingDetailPublicUpdated.cfmBody of page - photo, specs and maps
 

Large Photos

W/Views/vListing/dspSlideViewer.cfmFor 2nd Release | Displays pop-up large photo viewer linked form detail tab, page, and pop-up table on map view

Added buttons and moved address and pagination into a table to allow the buttons to float in the middle. (2/16/11)

<!--- SHARE THIS --->
<!--- Facebook Button --->
<a href="http://www.facebook.com/sharer.php ?u=http://www.windermere.com/index.cfm%3Ffuseaction=listing.listingDetailUpdated%26listingID=#attributes.listingID#" target="_blank" ><img src="/images/facebookshare.png" width="57" height="19" hspace="5" border="0" /></a>

<!--- Twitter Button --->
<cfif selPub_view.show_address eq 1>
    <cfset twitterAddress = "#Trim(selPub_View.address)# #Trim(selPub_View.cit)#, #Trim(selPub_View.st)# #Trim(selPub_View.zip)#" >
<cfelse>
    <cfset twitterAddress = "Address Not Available #Trim(selPub_View.cit)#, #Trim(selPub_View.st)# #Trim(selPub_View.zip)#" >
</cfif>
<cfset twitterComments = Left(selPub_View.comments,115-Len(twitterAddress))>
<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.windermere.com/index.cfm?fuseaction=listing.listingDetailUpdated&listingID=#attributes.listingID#" data-text="#twitterAddress# #twitterComments#..." data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

(ci: 3/18/11, rev 13576)
(ci: 3/25/11, rev 13586) Hide buttons if opened from CMA

Shared Files

W/Controllers/Listing/fbx_Switch.cfmController switches

case listingDetailUpdated (ci: 3/1/11, rev 13537)
Changed <cfset attributes.pagetitle = "Listing Detail | Windermere Real Estate"> to <cfset attributes.pagetitle = "Windermere | Listing Detail">

case largePhotos (ci: 3/1/11, rev 13537)
Added <cfset attributes.htmlTitle="Windermere | Large Photos">

W/Query/sel/selPub_View.cfmQuery for Detail Page, Detail Tab, Large Photos

Added (2/15/11) (ci: 3/2/11, rev 13540)
<cfset attributes.htmlTitle2 = " | " & selPub_View.address & " " & Trim(selPub_View.cit) & ", " & selPub_View.st & " " & selPub_View.zip >
<cfset request.page.metaDescription = selPub_View.comments >

(ci: 3/18/11, rev 13575)
<cfset tempDescr = "SQFT:" & selPub_View.sqft & " " & selPub_View.br & "br/" & selPub_View.bth & "ba " & "... MLS##" & Trim(selPub_View.ln) >
<cfset truncDescr = left(selPub_View.comments, 299-len(tempDescr))>
<cfset wholeWordTruncDescr = left(truncDescr, len(truncDescr)-find(" ", reverse(truncDescr)))>
<cfset request.page.metaDescription = "SQFT:" & selPub_View.sqft & " " & selPub_View.br & "br/" & selPub_View.bth & "ba " & "MLS##" & Trim(selPub_View.ln) & " " & wholeWordTruncDescr & "...">

(ci: [13608 -April2011 branch, 13609 -trunk] 4/6/11)
<cfif selPub_view.show_address eq 1>
    <cfset attributes.htmlTitle2 = " | " & selPub_View.address & " " & Trim(selPub_View.cit) & ", " & selPub_View.st & " " & selPub_View.zip >
<cfelse>
    <cfset attributes.htmlTitle2 = " | Address Not Available " & Trim(selPub_View.cit) & ", " & selPub_View.st & " " & selPub_View.zip >
</cfif>

W/Views/vLayout/blankLayout.cfmUsed by Detail Tab and Large Photos

Updated Title and Description (2/15/11) (ci: 3/2/11, rev 13543)
<cfparam name="attributes.htmlTitle2" default="">
<cfparam name="request.page.metaDescription" default="">
Changed Title from #attributes.htmlTitle# to #attributes.htmlTitle# #attributes.htmlTitle2#
Added <link rel="SHORTCUT ICON" href="wre_ico.ico">
Added <meta name="Description" content="#request.page.metaDescription#">

W/Views/vLayout/masterLayout.cfmUsed by Detail Page and About Pages

Updated Title (2/15/11) (ci: 3/2/11, rev 13544)
<cfparam name="attributes.htmlTitle2" default="">
<!--- For About Us pages that use the Facebook and Twitter buttons ---><!--- This list is also in dspPublicHeader.cfm --->
<cfparam name="attributes.contentID" default="">
<cfif ListFind("114560,115925,115924,115810,114561,115928,155927,115330,115329,114989",attributes.contentID) >
    <cfset request.page.htmlTitle = "Windermere | " & request.page.htmlTitle>
</cfif>
<title>#request.page.htmlTitle# #attributes.htmlTitle2#</title>

W/CFC/persist/OpenHouse.cfc---
(ci: 4/7/11, rev 13613)
W/Style/map/detail.css---
(ci: 4/7/11, rev 13613)
W/Style/map/detail.css---
(ci: 4/7/11, rev 13613)

Stephen Lloyd 04/07/2011