Discussion Forums  >  Self Hosted Control Panels

Replies: 4    Views: 79

Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
08/27/13 05:20 AM (12 years ago)

Customer control screen in App

Guru's Is it possible for me to allow a 'customer' to control one screen of the an app? For example. Lets say one screen is a simple menu. I want to customer to be able to add lines to this screen but not have access to anything else. Is it possible to make 1 Screens control panel available to a customer or is there another way around it? Thanks Steve P.S. I am self hosted
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
08/27/13 08:14 AM (12 years ago)
Hi @Bonzo, Hmmm not sure! You possibly could make the screen in html to make interaction. Again, not positive! LA
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
08/27/13 11:51 AM (12 years ago)
Hi Bonzo, LA is right! You could use the dataURL of the menu plugin and point it to a file where the child items can be found. You could let the client add anything in it in just raw code (json) or you could create an User interface which is more user friendly. This would be the easiest way to accomplish your goal. Another way, but much more difficult, would be to alter the core code of the selfhosted software to have more user control. I would choose for the first option. Best regards, Danny
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/27/13 09:28 PM (12 years ago)
Hmm.."add lines to one screen" - to a menu. I can think of a few different ways to do this, each with pros / cons. And of course each with a different difficultly level (from the developers perspective). The first decision will be whether or not you want the user to manipulate your backend, or if you wand to allow them to manipulate the app itself. There's a difference. Adding data to your backend involes a different approach than adding data to the phone that a certain screen uses to render itself. Example: Adding menu rows on the device itself (like adding favorite screens or something) would involve a different type of logic and programming than adding rows to an existing menu in your database. 1) Figure out the approach. 2) Figure out the code required (on phone or on backend or on both) 3) Implement
 
us_david
Code is Art
Profile
Posts: 41
Reg: Dec 27, 2010
San Francisco
410
like
09/08/13 01:42 AM (12 years ago)
I am planning to do similar thing: Adding a menu item to existing menu like a favorite screen etc. Is there any guide on how to do it? I am thinking link a php to an Action button and let the PHP to make changes to the menu and add a menu item to the existing menu (a screen in buzztouch's term). Feng
 

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.