Discussion Forums  >  Self Hosted Control Panels

Replies: 7    Views: 101

Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
11/29/13 08:12 AM (11 years ago)

Menu with Image Row Icon

I downloaded the version 2.5 of Menu with Image plugin, but can't change the row icon anymore. I click on the row title for one of my screens and it doesn't do anything. Thanks, Adam
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
11/29/13 10:32 AM (11 years ago)
The updated version is working fine on mine. Have you updated the control panel to 3.0.0?
 
Adam
Aspiring developer
Profile
Posts: 247
Reg: Oct 23, 2010
Southern Califo...
4,470
like
11/29/13 12:56 PM (11 years ago)
I updated the control panel.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
12/03/13 10:24 AM (11 years ago)
I'm having the same issue (spinning wheel of death). i'm updated fully. have you tested Thomas? I'm using 2.5 :/
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
12/04/13 09:59 AM (11 years ago)
Same issue here. Local row images won't load, spinning wheel of death. Online row imges seem to work... but I don't want all of my row icons to be online... too much data transfer for the user.
 
BranX26
Apple Fan
Profile
Posts: 58
Reg: Feb 07, 2012
Minnesota
580
like
12/04/13 10:07 AM (11 years ago)
My app update is stalled out because of the images not loading in the menus. I waited for the new core, and now I am waiting on this. I am happy to wait for help, as long as I know its coming.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
12/09/13 05:37 PM (11 years ago)
I updated for this problem several days ago, but I don't think the new files are in the package. I reported that problem to David. Anyway, If you delete the method called, showImage (see line 399 of WB_cell_menuList, and replace it with these two methods then it should work. - (void)showImage { @synchronized(self) { if ([[NSThread currentThread] isCancelled]) return; [thread cancel]; // Cell! Stop what you were doing! thread = nil; if ([theMenuItemData image]) { // If the image has already been downloaded. //set the image [self performSelectorOnMainThread:@selector(setImageFromThread:) withObject:theMenuItemData.image waitUntilDone:NO]; //hide loading spinner... //[imageLoadingView performSelectorOnMainThread:@selector(stopAnimating) withObject:nil waitUntilDone:NO]; } else { // We need to download the image, get it in a seperate thread! thread = [[NSThread alloc] initWithTarget:self selector:@selector(downloadImage) object:nil]; [thread start]; } } } - (void)downloadImage { if (![[NSThread currentThread] isCancelled]) { [theMenuItemData downloadImage]; @synchronized(self) { if (![[NSThread currentThread] isCancelled]) { //set the image [self performSelectorOnMainThread:@selector(setImageFromThread:) withObject:theMenuItemData.image waitUntilDone:NO]; } } } }
 
BranX26
Apple Fan
Profile
Posts: 58
Reg: Feb 07, 2012
Minnesota
580
like
12/09/13 05:54 PM (11 years ago)
Yes, this worked for me. Thanks again Susan!
 

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.