Discussion Forums  >  Self Hosted Control Panels

Replies: 4    Views: 70

aussiedra
Code is Art
Profile
Posts: 431
Reg: Dec 25, 2010
Brisbane, Austr...
8,260
01/30/13 05:22 AM (12 years ago)

Edit Configuration Data on Self Hosted

is there any way to edit the config data for each app ? would save so much time to edit this one box. {"BT_appConfig": { "BT_items":[ {"itemI ????
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/30/13 06:00 AM (12 years ago)
Every time I make a change to a screen I'm 'editing the config data'... I'm not sure what in particular you're looking to edit, or the result you're looking for... The config data for the app is comprised of individual settings of your screens/actions, so in essence, any change to your screens or actions will be reflected in your apps config.txt file, and if different that what is in your device, will be dynamically updated. If you could be a bit more specific in what you're trying to accomplish...? Cheers! -- Smug (If you're talking from kind of a 'template', and you want to change something about a plugin now and forever, like a new 'default' value or something, you'll find those in the plugins table of your database. But be sure your json data is valid before you commit any changes)
 
aussiedra
Code is Art
Profile
Posts: 431
Reg: Dec 25, 2010
Brisbane, Austr...
8,260
like
01/30/13 06:11 AM (12 years ago)
yea i am talking editing that raw config data
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
01/30/13 06:19 AM (12 years ago)
You can probably edit individual database entries, but not the complete config.txt data. The problem is how the app builds that data. When a user requests the config, it gets built from the database (depending on the live/design settings). The best way to do what I think you're trying to do is to use a JSON snippet, where you can edit little parts of the database manually, which will get compiled together as a valid BT_config.txt
 
aussiedra
Code is Art
Profile
Posts: 431
Reg: Dec 25, 2010
Brisbane, Austr...
8,260
like
01/30/13 06:26 AM (12 years ago)
thanks stobe i am using your JSON Snippet Keeper and that works great, was looking for a two click solution to do a full config copy. example cloning an app on the fly like moving all my buzz touch.com hosted apps to self. but in the mean time JSON Snippet Keeper is the way
 

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.