Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 52

Alessandro
Aspiring developer
Profile
Posts: 68
Reg: Nov 13, 2012
São Paulo
12,180
12/24/14 05:51 AM (9 years ago)

Menu Image Rows - hide header image

Hi, Is it possible to have no header image in Menu Image Rows plugin? I need to have only menu items in the screen, beginning at the topo. If I let the header image fields blank the space for the header image is still occupied and the menu itens start in the middle of the page. Thanks!
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
12/24/14 09:55 AM (9 years ago)
If you set the image to be the smallest size option, maybe together with a transparent image, that should make the menu items a bit higher up. That might help a bit for now. To eliminate the header altogether, you will need to dig into the plugin code, maybe set the height to zero, it may be similar to the way that has been done with Menu Image Advanced. Or better, write to the author, who I am sure will offer a good suggestion.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/24/14 11:54 AM (9 years ago)
Would the Menu Simple plugin work for you? It has no header image: https://www.buzztouch.com/plugins/plugin.php?pid=334A4B840178A021CF61919 Mark
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
12/25/14 12:14 AM (9 years ago)
The easiest way to have no header is to choose one size you don't plan to use, the go into the code and change the size of that header image to 0.
 
Alessandro
Aspiring developer
Profile
Posts: 68
Reg: Nov 13, 2012
São Paulo
12,180
like
12/25/14 05:13 AM (9 years ago)
Thank you all for the answers! I tried to change in JSON "headerImageSize": "Small" to "0" or "hidden", but no effect. I will try to change directly in the code.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
12/25/14 09:10 AM (9 years ago)
Yes....you have to choose one of the existing settings in the control panel.For example, choose small. Then go into the app code and find where the header image sizes are set. For iOS, it is near the top of the .m file. Set the size to 0. I will add this option to the next version I release, since it is such an easy add.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
12/26/14 10:42 PM (9 years ago)
The easiest way to have no header is to choose one size you don't plan to use, the go into the code and change the size of that header image to 0.
 
Alessandro
Aspiring developer
Profile
Posts: 68
Reg: Nov 13, 2012
São Paulo
12,180
like
12/30/14 12:17 PM (9 years ago)
Thanks Susan, it worked! By changing to "imageHeight = 0" in 3 places that appear "Small" in WB_rowImageMenu.m
 

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.