Results 1 to 4 of 4

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

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    11
    Vote Rating
    1
      0  

    Default 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
    Location
    Moore, Oklahoma
    Posts
    505
    Vote Rating
    19
      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 User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    Correct, make a copy of the page.
    Aaron Conran
    @aconran

  4. #4
    Sencha User
    Join Date
    Aug 2012
    Posts
    11
    Vote Rating
    1
      0  

    Default fb-root auto created

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •