Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 8    Views: 44

Slav
Apple Fan
Profile
Posts: 37
Reg: Sep 09, 2013
Toronto
370
01/16/14 01:23 PM (11 years ago)

Mistake when try to enter menu items in Menu with image

After entering about 40 menu items - instead of regular option to enter more items I see red JSON text. It says it's not valid JSON. After closer examination (through JSON validator) - the quoatation to an itemText not included: http://inussr.com/wp-content/uploads/2014/01/JSON-mistake.jpg Configuration Data screen on BT control panel shows all correctly, with quotation: http://inussr.com/wp-content/uploads/2014/01/JSON-mistake1.jpg What may be a problem? It doesn't feel like good idea to enter all 40 items again
 
Slav
Apple Fan
Profile
Posts: 37
Reg: Sep 09, 2013
Toronto
370
like
01/16/14 02:07 PM (11 years ago)
I guess you can't enter certain text as a Row Title - in my case it's 010101. Somebody can explain why, which you can't include and how to solve it if I DO need to use such texts as my Titles
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
01/16/14 02:20 PM (11 years ago)
Hi, Slav. I don't know of any reason why you can't enter numbers as a row title. I have seen the row nickname be a bit particular, especially if you use an apostrophe. But not the row title. Maybe someone else has run into this problem--I never have, although I haven't used numbers as row names before either.
 
Slav
Apple Fan
Profile
Posts: 37
Reg: Sep 09, 2013
Toronto
370
like
01/16/14 02:30 PM (11 years ago)
I entered many other numbers and all were OK. Only this 010101 seem to crash the system all the time. And it seems I can't access JSON directly in control panel, so I guess I have to redo the entered menu (titles, descriptions). By the way, it's excellent plugin - much easier to operate than BTA Design Menu and, most important, works good in bigger devices
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
01/16/14 03:37 PM (11 years ago)
Well, maybe the JSON thinks 010101 is a binary number or something. You could try escaping the letters: http://stackoverflow.com/questions/1443158/binary-data-in-json-string-something-better-than-base64
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/16/14 04:07 PM (11 years ago)
It may not be what you want, but perhaps you could start the row with text: "Item 010101" ? (of course, they'd 'all' have to be like that for it to look symetrical) Just a thought. Cheers! -- Smug
 
Arubaman
Aspiring developer
Profile
Posts: 636
Reg: Oct 20, 2011
Akron
16,910
like
01/18/14 09:36 PM (11 years ago)
Could it confuse it with a hex color number?
 
Arubaman
Aspiring developer
Profile
Posts: 636
Reg: Oct 20, 2011
Akron
16,910
like
01/18/14 09:41 PM (11 years ago)
*double post
 
Slav
Apple Fan
Profile
Posts: 37
Reg: Sep 09, 2013
Toronto
370
like
01/18/14 10:00 PM (11 years ago)
It's not only 010101 but also 01 and any of similar kind. Probably rare mistake but still may be frustrating - in my case lost hours
 

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.