Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 67

Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
10/16/12 01:43 PM (13 years ago)

Error in Screen Menu Image plugin

When I try to compile the source for the application with the Screen Menu Image plugin, there is an error in file WB_screen_menu_image. Variable wb_menu_row2 is not known. It is in the following part ====================================== if(rowView == null) { //no need to intialize details images everytime... //images for indicator (right side)... chevron_detailsDrawable = BT_fileManager.getDrawableByName("bt_chevron_details.png"); chevron_arrowDrawable = BT_fileManager.getDrawableByName("bt_chevron_arrow.png"); //inflate the view so we can get a reference to it's parts.. LayoutInflater inflater = (LayoutInflater) thisActivity.getSystemService(Context.LAYOUT_INFLATER_SERVICE); rowView = inflater.inflate(R.layout.wb_menu_row2, parent, false); }//rowView is null ====================================== rows 613 - 625. Can someone please suggest how to overcome this; that variable is mentioned only once in the entire source code. Maybe that is some kind of syntax error? Has anyone already encountered this before? Sincerely, Dusko
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
10/17/12 03:40 AM (13 years ago)
I will need to update the plugin to solve this problem. In the meantime, I think the code issue is with the "wb_menu_row2". Try changing "wb_menu_row2" to "wb_menu_row" by removing the 2 at the end. I think that is the coding error. I will research more thoroughly and report back soon. Thank you for reporting this so clearly!
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
10/17/12 04:40 AM (13 years ago)
Hello I have removed the trailing 2, from "wb_menu_row2" to "wb_menu_row" and the plugin compiled without problem. I haven't tried to use it, but the app compiled so that is a fix for now. Do let me know when you issue a new version of the plugin! Many thanks for the speedy reply! Regards, Dusko
 
denikov
Lost but trying
Profile
Posts: 46
Reg: Dec 26, 2011
Reno Nevada
10,360
like
10/17/12 04:49 AM (13 years ago)
I just purchased the simple menu with image plugin but it's not saving my properties for anything. It's stuck on saving entries. What's the problem?
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
10/17/12 06:43 AM (13 years ago)
@Susan super excited to see this update. didn't see a post describing any new features or details. but it does sound like some row icons now? is that both Android/iOS or just iOS? looks like some glitches with update so i'll wait until these get resolved before i update. hope you're enjoying the time with David!
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
10/17/12 09:46 AM (13 years ago)
@ATRAIN--It was so much fun to have David here...it was a whirlwind. David spoke to a group of Minneapolis developers and the group just loved listening to him. An hour and a half went bynina heartbeat. David uploaded the plugin right before he came to Minneapolis. It all worked well in testing, but there is one problem above I need to fix in the Android code. The row icons and description rows work in Android on the plugin. @denikov--I'm not sure what the problem is. Is there a certain field that won't save? Is there an error message? One thing I have run into in various buzztouch fields is the how it handles apostrophes in the screen nicknames. If you use an apostrophe, in the screen nickname the JSON can get confused. I have run into this on the quiz answers as well. If this is the problem you need to delete the entry, and renter it with a screen nickname without an apostrophe. You can use an apostrophe in the row title--just not the nickname.
 

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.