Dave Dash

FBML and embedded CMS

Tagged: reviewsby.us, css, symfony, css, symfony, reviewsby.us, sfFacebookPlatformPlugin, fbml, partials

[tags]fbml, css, reviewsby.us, partials, symfony, sfFacebookPlatformPlugin[/tags]

One problem of going the FBML route1 is CSS styles. You can't link to external style sheets so you need to embed everything.

I took the liberty of using a partial that contains all the useful CSS that I use in our app. Now we can just embed it in our layout by doing:

<?php include_partial('sfFacebook/css');?>

The following classes are useful:

  1. I'm not completely convinced that the reviewsby.us app for facebook should be using FBML.