Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 19    Views: 93

MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
05/28/13 08:53 AM (12 years ago)

XIB menu plugin

Hey, I'm having a little trouble with this plugin, its not a problem, it works fine, its just annoying, don't even know if its a plugin problem or self hosted problem. When using this plugin, I'm able to select the screen for the buttons. I select them, its saved into the json file and works great, the problem is when I go back to the menu, there is nothing there, its like if I didn't choose the buttons. Although it does work. Any ideas? Thanks.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
05/28/13 09:12 AM (12 years ago)
Must be a problem with the index.php file. If it's not set up properly it will cause this behavior.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
05/28/13 09:14 AM (12 years ago)
in the plugin itself, right?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
05/28/13 09:18 AM (12 years ago)
Yeah
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
05/28/13 09:30 AM (12 years ago)
hummm. Ok. Thanks for that Chris. Like your sunset view, congrats. Miguel
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
05/28/13 11:11 AM (12 years ago)
Miguel I have the same problem, super annoying I enter screen names, save, all is good. If I go back to the settings on the plugin in self hosted, the values are all blank again. But it still works as if they are not. Cheers, David
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
05/28/13 11:25 AM (12 years ago)
Ya it is... :) But it does happen in some other plugins as well. In most of the menu plugins when I select the indicator type and/or the transition type, the same happens, the change to the json is made but when I go back, its not there. Does this happen to you as well in other plugins? Cheers.
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
05/28/13 11:32 AM (12 years ago)
HI Guys. Are these text DATA fields or drop-down selections?
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
05/28/13 11:36 AM (12 years ago)
@reddog: Text Data, it's where you type/select the screen name for each button in the plugin settings in the control panel. @madroc: only this plugin actually, others work fine! David
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
05/28/13 12:19 PM (12 years ago)
Sounds like the index.php is missing the <?php echo fnFormOutput(fnGetJsonProperyValue(.....> for all of the <input type="........> lines of code.
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
05/28/13 12:25 PM (12 years ago)
*example* Change your <input type........ lines like this:....... <input type="text" name="json_rowStyle" id="json_rowStyle" value="" /> .... should be: <input type="text" name="json_rowStyle" id="json_rowStyle" value="<?php echo fnFormOutput(fnGetJsonProperyValue("rowStyle", $jsonVars));?>"> Test this on one to make sure it works first. Do NOT change any <input type='button' lines Barry
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
05/28/13 12:26 PM (12 years ago)
I can't give specific code since I don't have that plugin.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
05/28/13 12:42 PM (12 years ago)
I think I found it, but it does seem to use the same code you suggest. Instead of rowStyle its got buttonscreen1. Thanks
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
05/28/13 12:52 PM (12 years ago)
hmm...... Do you see this around line #94 in the index.php? //querystring for links so user can "go back" and without losing paging / sorting / filtering variables... $qVars = "&searchInput=" . fnFormOutput($search) . "&searchPluginTypeUniqueId=" . $searchPluginTypeUniqueId; $qVars .= "&sortColumn=" . $sortColumn . "&sortUpDown=" . $sortUpDown . "&currentPage=" . $currentPage; $qVars .= "&viewStyle=" . $viewStyle; ///////////////////////////////////////////////////////////////////////////////
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
05/28/13 03:08 PM (12 years ago)
I have the same problem, however u found out eventually that the screens you assign to each button are actually still there and you won't have to keep adding the screens each time.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
05/28/13 03:21 PM (12 years ago)
Red Dog, yes I do.
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
05/28/13 04:36 PM (12 years ago)
Well, Rats. That's all I have without owning the plugin. Have you asked Mutzy?
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
05/28/13 07:23 PM (12 years ago)
This seems to happen to everyone. It didn't happen when I first submitted the plugin but then it started happening. Before it went live the php was fixed but then it started happening again. It's a known bug. I have no idea why its happening and Susan and David couldn't make sense of it either. The screen selections are being saved and stored but the text, as you mentioned, is disappearing. I've tried looking into it again after the plugin went live and can't figure it out. I'll remind Susan and David about it... Josh
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
05/28/13 08:37 PM (12 years ago)
Did you check the formula in the value= section of the offending form fields?
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
07/16/13 05:28 AM (12 years ago)
Hi guys, I just started using this great plugin and came across this issue straight away. The app will be managed by a client so it be great if I could sort this out. Any solution in the horizon? Cheers, Farcat
 

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.