1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    11
    Vote Rating
    1
    solumac is on a distinguished road

      0  

    Default How do I add "fb-root" to index.html

    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.

  2. #2
    Sencha Premium Member
    Join Date
    Nov 2007
    Posts
    399
    Vote Rating
    11
    Mthor will become famous soon enough

      0  

    Default


    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.

  3. #3
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,189
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    Correct, make a copy of the page.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  4. #4
    Sencha User
    Join Date
    Aug 2012
    Posts
    11
    Vote Rating
    1
    solumac is on a distinguished road

      0  

    Default fb-root auto created

    fb-root auto created


    Thankfully fb-root div is auto created by the FB.init.

Tags for this Thread