Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 8    Views: 29

Agu
Lost but trying
Profile
Posts: 98
Reg: Mar 06, 2014
GRANADA
980
07/05/14 02:32 AM (10 years ago)

Hide from Search Results

how to hide from Search Results a screen made with blank screen plugin? I ca not see the "Hide from Search Results" option in this kind of plugin. Thanks!
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/05/14 02:40 AM (10 years ago)
If it's not part of the control panel, you can add it manually. the json key/value pair to insert in your plugin json (using a comma if need be...) "hideFromSearch" : "1" The options are '0' and '1'. Zero (0) keeps it in the search. One (1) takes it out. Cheers! -- Smug
 
Agu
Lost but trying
Profile
Posts: 98
Reg: Mar 06, 2014
GRANADA
980
like
07/05/14 02:50 AM (10 years ago)
Thanks! What a quick answer! but...where must i add "hideFromSearch": "1"? in blank screen plugin control panel i can not see "JSON Configuration Data (Editable)" option.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/05/14 03:04 AM (10 years ago)
Good Point. I just noticed that. Honestly, since you're not self hosted, there is nothing you can do about that until someone behind the servers makes the changes. Typically, the Blank Plugin isn't used much; it's basically a template for creating new plugins... so it hasn't gotten the love some of the other plugins get. I'd ask Susan to put it on the 'to do' list, and hope it gets done soon. But I hate to say it; you might wait a while... With BT-Go around the corner, BT Central coming up next, and iOS 8 soon after, things might be a little busy in BT Land... "If" you have purchased Stobe's snippet keeper, that would be a viable alternative until the fix is in. Cheers! -- Smug
 
Agu
Lost but trying
Profile
Posts: 98
Reg: Mar 06, 2014
GRANADA
980
like
07/05/14 03:24 AM (10 years ago)
ok, thanks!
 
peterj
Apple Fan
Profile
Posts: 113
Reg: Jun 19, 2011
location unknow...
6,630
like
07/05/14 06:32 AM (10 years ago)
I had a similar issue once, and I was able to modify the plug-in source code (the BTM_search.m file) to hide certain screen types. I'm not sure if it would work for the "blank screen" plug-in, but it's worth a try. Read my second comment from this post: https://www.buzztouch.com/forum/thread.php?tid=C7238255CD7DCA680B61194
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/05/14 06:47 AM (10 years ago)
Silly me. I didn't even think about it, but Peter is on a good track. If you're comfortable, you could easily do that in the search source code, and solve the problem that way. Cheers! -- Smug
 
Agu
Lost but trying
Profile
Posts: 98
Reg: Mar 06, 2014
GRANADA
980
like
07/05/14 06:55 AM (10 years ago)
Ok guys! I'll try!Thanks!
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
07/05/14 06:04 PM (10 years ago)
When I have used the Search plugin, I usually modify the source code to pull out what I don't want included. It can be a lot easier than going through the screens one by one.
 

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.