Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 46

Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
02/27/13 05:43 PM (12 years ago)

Config issue

I have encountered an issue and wondered if others have had the same thing and, if so, found a resolution. When I remove the text from my home screen Nav bar (as i've personalised the nav bar with an image) I get config errors. Having put the config data through the JSON validator it highlights the code error: "BT_screens":[{"itemId":"46C281C1EA59D53CD68DA69", "itemType":"BT_screen_menuListSimple", "itemNickname":"Menu2", , "childItems":[]}, You can see the issue after the menu nickname, showing one correct comma and one that shouldnt be there. OK, this is fine, remove the comma in the xcode project and you are away?! NO. It builds fine, yes. But if you want to refresh the app it gets an error as I cannot change the config data in the control panel. I'm thinking, maybe a "" might work? Hope this makes sense, thoughts appreciated.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
02/27/13 05:46 PM (12 years ago)
Not related to this topic, but we're both posting stuff on the forums at 00:45. That how dedicated us Brits are!
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
02/27/13 06:14 PM (12 years ago)
Happens all the time to me. As mint as the app looks without any text in a custom nav-bar. BT needs some text in there to function. @mrdavid showed me a trick tho - Depending on your OS you can enter a "blank" character, like on Win using ALT+255 http://www.ehow.com/how_8751297_type-blank-character.html Not sure what mac is, I don't have an Apple keyboard. But I've had config files with that blank char working.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/27/13 07:22 PM (12 years ago)
Hi Alex, I just ran into this problem last week, and brought it to @David's attention. It's a bug for sure, and will be corrected in the future. The workaround is that if you are removing the Nav Bar text, make another change in the control panel, and it shouldn't leave a trailing comma. Since I was replacing the nav bar with an image, I just changed the Nav Bar Style to something (since it wouldn't show anyway), and that took care of the problem! Hope this helps. Mark
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
02/28/13 12:43 AM (12 years ago)
Cheers Atrain, I'll look into it. Mark, that's reassuring to know, thanks. I'll try that work around.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.