Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 01/19/2015
Components: Social
Versions: 11.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 0
Please see attached 20150119_socialplugin_fixesandenhancements for these files:
- socialplugin_original.cfm (original from CF11 Update 3)
- socialplugin_revised.cfm (contains fixes and enhancements)
- readme.htm (contains full details)
Full details from readme.htm:
------------
Enhancements
------------
- For consistency, added the HTML5 version for like, likebox, activityfeed, and subscribe and added the iframe version for follow and tweet. Added the format="html4|html5(default)" attribute for specifying iframe (html4) or div (html5). This is ignored for commentbox and plusone because an iframe version is not available for those.
- To allow the JavaScript to be placed in the <head>, and to remove the use of REQUEST-scoped variables for determining if the JavaScript had already been output, added the render="all(default)|html|javascript". Encapsulated the JavaScript for Facebook, Twitter and Google into a getJavaScript() function.
- To support Facebook's new versioning support, added the apiversion attribute for all Facebook types. Default is 1.0. If the version is no longer supported, Facebook automatically uses the oldest supported version.
- Previously, only the urls were encoded when output. Encoding method was incorrect for two of the cases. And canonicalization was not being done in any of the cases (and CF currently doesn't even have a way to properly canonicalize URLs). To allow the remaining options to be properly encoded, and to allow developer control over the encoding (in case developer is already encoding the other options), added the encodeoutput="true(default)|false" attribute. When true, output is canonicalized and encoded for its context. Added the udfCanonicalizeURL() function for canonicalizing URLs b/c canonicalize() converts, for example, &pi to the Pi symbol in the query string ?foo=bar&pid=product_id.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3923189
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
- January 19, 2015 00:00:00: 1_20150119_socialplugin_fixesandenhancements.zip
- January 20, 2015 00:00:00: 2_20150120_socialplugin_update.zip
Comments: