How do I add "fb-root" to index.html
I am writing an Sencha Touch 2 Mobile Application in Architect and I can't edit the index.html page as it is over written every time I save changes in Architect. What I need to know is how do I add...
<div id="fb-root"></div>...to the body element in Architect so that it dosn't disapear everytime I save the application.
Sencha Premium Member
I would say your best bet is to have a separate html page, there are ways to change References to css and js files, but don't think there is a way to add body tags in architect.
Correct, make a copy of the page.
fb-root auto created
Thankfully fb-root div is auto created by the FB.init.
Tags for this Thread