Discussion Forums  >  Uncategorized

Replies: 7    Views: 310

rarrrr123
I hate code!
Profile
Posts: 78
Reg: May 22, 2011
location unknow...
780
11/15/11 03:33 PM (14 years ago)

Buzztouch Server BETA - Header Image / Custom HTML

Hi all, Working out how to create my app on Buzz Touch Server. Have installed it all fine. Can't find an option anywhere to actually add a header image to the whole app? Is there any way to do this yet? Also, I am guessing the custom html (not custom url) is still in the pipeline? Good work so far. Am loving the Server version.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/15/11 05:47 PM (14 years ago)
Glad you're liking it. The list of plugins today is very short, intentionally so you don't see many different screen types. However, a header-image in the navigation bar isn't a plugin issue, it's an issue with the way the navigation bar is created. For iOS, it's super-easy to create a header image. A bit more complex with Android. a) Make sure you have the latest BT server version running (updated today, the package-project process was very broken! LOL) b) Make sure the plugins you have installed are updated. Use the Check for updates option on each plugins Admin screen. Ok, header image in nav bar. I'll assume you're working with iOS. Have a look at BT_Layout/BT_viewUtilities.m file. This is the file that creates all the navigation bars for all the screens. Scroll down to about line 220 or so and find the configureBackgroundAndNavBar method. This is the method that runs for all the screens. take a bit to try to understanding what's going on. It sets the color, right button, title, etc. Lots but actually not too tough if you can get your head around it. The ideas is that a UIImageView needs to be introduced to add to the navigation bar. The UIImageView will include an image you add to the project. Make a 44 x 200 image and drag it into your project. Next, check your email, I sent you a file showing how to add some code to add the image.
 
willjj85
Aspiring developer
Profile
Posts: 93
Reg: Feb 14, 2011
ireland
3,480
like
11/15/11 06:19 PM (14 years ago)
Can i get the code to David if you have time Thanks
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/15/11 09:03 PM (14 years ago)
Sent to Ireland ;-)
 
willjj85
Aspiring developer
Profile
Posts: 93
Reg: Feb 14, 2011
ireland
3,480
like
11/16/11 06:33 AM (14 years ago)
Thanks from Ireland
 
rarrrr123
I hate code!
Profile
Posts: 78
Reg: May 22, 2011
location unknow...
780
like
11/16/11 01:14 PM (14 years ago)
Super stuff. Thank you! Spot on. :)
 
rpwiki
Aspiring developer
Profile
Posts: 25
Reg: Jun 03, 2011
Requa, CA
250
like
12/09/11 01:23 PM (14 years ago)
can I also get this magic code? I'm right on the crux of working it out, but having the cheat sheet would REALLY help!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/12/11 10:28 PM (14 years ago)
@ rpwiki: Check your email, just sent you a file.
 

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.