INCF / biostar-central

DEPRECATED, please go to upstream on
http://github.com/ialbert/biostar-central
Other
4 stars 4 forks source link

ENH: refer to NeuroStars instead of Biostar where applicable. Custom search id #9

Closed yarikoptic closed 10 years ago

yarikoptic commented 10 years ago

I have generated Search ID myself, so you might like to redo it... I have not enabled any ads etc

Also I have not tested these changes

brainstorm commented 10 years ago

Thanks Yaroslav! I'll merge it to the live site this afternoon.

brainstorm commented 10 years ago

@yarikoptic I just merged the changes, thanks for them!

The custom Google search is still bugging me though, it does not seem to refer to neurostars, the javascript still autocompletes posts from BioStars...

yarikoptic commented 10 years ago

sorry about that -- I guess there might be more to it, I have just changed the ID, not the entire snippet. If you like I could troubleshoot it further, or will you just do it under your google account?

brainstorm commented 10 years ago

This one is indeed confusing, I commented the whole js snippet via jinja2's {% comment %}.... {% endcomment %}, flushed the browser's cache and keeps reappearing :-S

There must be yet another piece of code/widget that controls that search bar elsewhere...

brainstorm commented 10 years ago

That was apparently some dead code, the real deal was in templates/widgets/google.custom.html. Fixed.

Autocomplete fields will popup in the next few hours, apparently google needs to index it first somehow before it is live on the site.

yarikoptic commented 10 years ago

ah cool -- thanks @brainstorm !