Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 20    Views: 71

LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
01/15/14 08:20 AM (11 years ago)

Mosaic Menu Titles

Hey Kittsy, love your mosaic menu plugin but it seems the titles do not move if I want them to for example be in middle and center alignment. Whatever I select in the control panel, the titles stay bottom left as default. 3.0, self hosted.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
01/15/14 09:36 AM (11 years ago)
Probably you need to contact Kittsy directly for this. It's the best chance to gain his awareness.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
01/15/14 09:37 AM (11 years ago)
Although I do love the plugin!
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/15/14 09:40 AM (11 years ago)
I'll check this out when I get home won't be for another 5 hours though on a late :-( Is any one else having the same issue
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/15/14 09:49 AM (11 years ago)
Yes well, thought it would be good to have the fix here in the forum ;-) I can wait Kittsy, told the client the app will be send to Apple on friday , so plenty of time :-)
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/15/14 02:47 PM (11 years ago)
Background color instead of image does not work either and "Send E-Mail" does not work if attached to a mosaic!
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/15/14 03:23 PM (11 years ago)
I have just tested self hosted and buzz touch hosted fresh projects and I am happy to say that the plugin works flawlessly on all of your issues above. Which means that 1. you need top update the plugin in self hosted (I don't think it is this as you must be able to see the options to make them changes) so the only other reason is that the 1.0 verrison must be in your project at the moment. You need to recompile your app and replace the mosaic plugin classes into your current project. To confirm this is the correct diagnosis check if the code below is in the MosaicDataview.m file lines 68 to 82 if ([module.titleHorizontalAlignment isEqualToString:@"0"]) { [titleLabel setTextAlignment:NSTextAlignmentLeft]; }else if ([module.titleHorizontalAlignment isEqualToString:@"1"]){ [titleLabel setTextAlignment:NSTextAlignmentCenter]; }else if ([module.titleHorizontalAlignment isEqualToString:@"2"]){ [titleLabel setTextAlignment:NSTextAlignmentRight]; } if ([module.titleVerticalAlignment isEqualToString:@"0"]) { [titleLabel setTextVerticalAlignment:UITextVerticalAlignmentBottom]; }else if ([module.titleVerticalAlignment isEqualToString:@"1"]){ [titleLabel setTextVerticalAlignment:UITextVerticalAlignmentMiddle]; }else if ([module.titleVerticalAlignment isEqualToString:@"2"]){ [titleLabel setTextVerticalAlignment:UITextVerticalAlignmentTop]; } if they are not there its the old code. If it is there. shit whats happened here lol
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/15/14 03:36 PM (11 years ago)
o man... sorry for wasting your time, you are right! Email issue still remains though.
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
01/15/14 03:43 PM (11 years ago)
with the email unfortunately it's the old buzz touch core problem if you where to test it with a completely fresh download you will find it works.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/15/14 03:45 PM (11 years ago)
excellent point sheri lol you can use buzz touches own email plugin for this and just put it in the load screen if you have made a lot of code changes in the version you have downloaded
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/15/14 03:46 PM (11 years ago)
Hey Sheri, when did that update? My Sourcecode download is about 4 weeks ago and I hardcoded to much to just redownload :(
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/15/14 03:47 PM (11 years ago)
it was a just short pif a few weeks ago about 2 weeks after the plugin was released it was brought up by sherry I think
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/15/14 03:47 PM (11 years ago)
Kittsy, I am referring to buzz touches own email plugin!
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/15/14 03:48 PM (11 years ago)
OK, so no chance for me to use it if I don't download the source code again?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/15/14 03:48 PM (11 years ago)
ah yeah makes sense as my plugin code uses the same code to save writing excess code
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/15/14 03:50 PM (11 years ago)
To be honest the email code is in the core but this may work. You downloaded the source code again replace the code in the BT_viewcontroller.h and .m files with the files in the newly downloaded code. Got a feeling that may work. Get ready to press undo if it doesn't lol
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/15/14 03:57 PM (11 years ago)
naah can't go that way as those files are part of the modified fun ^^ Well, pity then, but send email is not worth it. Thx for the help.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/15/14 03:59 PM (11 years ago)
well if you go into it a bit further you could compare the code relating to the between the the BT_viewcontrollers I'm pretty sure it will just be a typo on one of the lines as I never changed the code from when I originally made it so the method names haven't changed
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/15/14 04:06 PM (11 years ago)
Ok, will look into it tomorrow and answer here.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/15/14 04:08 PM (11 years ago)
good luck. I'd love to help but obviously I don't have the offending core code
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/16/14 02:34 AM (11 years ago)
 

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.