Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 56

Nezy Lugardo
Lost but trying
Profile
Posts: 48
Reg: Apr 27, 2012
Kuwait
4,330
07/12/12 09:32 AM (13 years ago)

Plugin Theme

Team, Is there anyway to apply plugin themes. For Example: I have 1000 Call us screens and i want to hide it from the search plugin so is there away to do apply it on all of them with one click or i have to go through each "Call us" screen and disable this option ? Cheers, Nasser
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
07/12/12 11:15 AM (13 years ago)
you could do a find and replace within the BT_Config.txt file. Or you could just find the code that handles the search plugin and force it to ignore "call us" screens. (Don't ask me how, though, lol!)
 
lsills81
Apple Fan
Profile
Posts: 469
Reg: Mar 19, 2012
location unknow...
14,090
like
07/12/12 11:18 AM (13 years ago)
I would like to see how you would use the BT_Config.txt file to stop the search? Thanks
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
07/12/12 11:28 AM (13 years ago)
You just need to manually add this JSON parameter to any screen to hide it from the search: "hideFromSearch":"1" So in Nezy's case, if all the screens are "Call Us" screens, and assuming, each of those screens has a "number":"xxx-xxx-xxxx" JSON parameter with it, he could do a find-and-replace like this: Find: "number" Replace with: "hideFromSearch":"1", "number" Hit replace all - BOOM, done! This should add the hide parameter to any "call us" screen. (double check the upper/lowecase of the number vs Number string) You may end up with an error, where you might have to manually add or subtract a comma, depending on how the BT_Config.txt is all laid out. But for 1000 entries, this should be a big time saver. Either that, or it could destroy the whole app, and cause a black hole to open up. Neither of which, I should be held responsible for!
 
lsills81
Apple Fan
Profile
Posts: 469
Reg: Mar 19, 2012
location unknow...
14,090
like
07/12/12 11:34 AM (13 years ago)
@stobe LOL.....very useful!!! Thank You
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
07/12/12 11:37 AM (13 years ago)
The last sentence is the most important, IMO
 
Nezy Lugardo
Lost but trying
Profile
Posts: 48
Reg: Apr 27, 2012
Kuwait
4,330
like
07/13/12 02:58 AM (13 years ago)
Thanks team...I will try to do it and see how it works with me. Anyhow, I have almost reached 5000 screens now and expecting to reach 12000 :p Cheers
 

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.