Changeset [b0c3de8dc1204d6092ff7071c06469a20459a579] by dleffler
Revision b0c3de8dc1204d6092ff7071c06469a20459a579,
committed by dleffler
· June 9th, 2015 @ 04:34 PM
Updates facebook og: tag support to use blog/news/filedownload
1st attached item as og:image if it exists and is an image as the
2nd optional og:image if one is not specifically assigned to the
item; the 3rd option is the one assigned to the module, with the
final selection being the 'generic' icon; also adds the
og:audio/og:video tag with the url to that file if the 1st
filedownload attachment is suitable as such (should present a
playback button on the facebook status?)
https://github.com/exponentcms/exponent-cms/commit/b0c3de8dc1204d60...
3 changed files
-
M
framework/modules/blog/controllers/blogController.php -
M
framework/modules/filedownloads/controllers/filedownloadController.php -
M
framework/modules/news/controllers/newsController.php