1. BadJ3d1's Avatar
    So I thought I'd discover how difficult Dreamboard theming is , and decided to begin the coding and design on my first DB theme this morning. I put together the Info Plist without any issues. But I had a question with my Theme Plist.

    I got this error when I opened my Theme Plist with iFile. NewDreamboard.plist invalid: Encountered unexpected characters on line 77.

    Attachment 544355

    Now when I went to line 77, I checked my code and have no clue what the problem is.

    <key>FavoriteFolderView</key>
    <dict>
    <key>Alpha</key>
    <integer>0</integer>
    <key>Frame</key>
    <string>0,0,320,490</string>
    <key>Actions</key>
    <array>
    <string>vars.favorites = 0
    </string>
    <string>vars.grid = 0</string>
    <string>function FavoriteFolder

    <!--line 71 is directly below -->
    <string>function update</string>



    </array>
    <key>AllApps</key>
    <false/>
    <key>Apps</key
    <array>
    <string>com.apple.AppStore
    </string>
    <string>com.saurik.Cydia
    </string>


    Thanks in advance for your help!
    2011-08-23 02:40 AM
  2. BadJ3d1's Avatar
    I'll just start over.
    2011-08-23 08:49 PM
  3. noelbob's Avatar
    it looks like you left the key open but its hard to tell not looking at the code as code

    did you know you can post it as code?
    2011-08-26 03:05 AM
  4. BadJ3d1's Avatar
    Ya, I'm pretty sure now that it was just a syntax error. It sure helps if you run it through a validator. So how do I post my code as code?
    2011-08-26 02:09 PM
  5. noelbob's Avatar
    Ya, I'm pretty sure now that it was just a syntax error. It sure helps if you run it through a validator. So how do I post my code as code?
    In advanced there is a # thats for code and it leaves it formatted its a little easier to read
    I use plist Editor of windows its freeware and checks for and errors before it save its a nice feature and not a bad program
    2011-08-26 06:42 PM
  6. BadJ3d1's Avatar
    Ok, thanks noelbob. I had downloaded plist editor, but hadn't used it much. I'll look into it some more.
    2011-08-26 10:55 PM
LINK TO POST COPIED TO CLIPBOARD