If you open it in a new tab, you’ll notice that your user menu (the one in the upper-right of the page) doesn’t render. In fact, the Discourse Ember app doesn’t get loaded at all in this case. It’s being rendered by the Rails server following app/views/exceptions/not_found.html.erb
Obviously, if you click the link directly in this page, the Ember app remains resident. Try hitting the link with a .json at the end, and instead of sending the app a full 404 page, it sends an HTML fragment, with the heading and stuff removed, which the Ember app just plops into place.
Great! So the only remaining thing is to document (probably both here and at the repo README) the confirmed list of text items theme-users will need to customize in the admin UI?
I got this working, but it’s a little strange to have the page-not-found version start with the form using site:xxx… with no search term alongside that. Maybe that’s as good as it gets, but it would be ideal if it were feasible to get the text of the URL after the TLD for the not-found page and use that as the default search before the site: part…
Google is no longer used at 404 pages. So, this theme probably needs updating to leave 404 pages alone, let them be the regular internal search as is now standard.
Discourse is still using Google for extra searching when internal searches fail though. So, for that, this DDG option still applies.
is there any reason Google is still the default for Discourse when extra searching occurs? DuckDuckGo is more in tune with the mindset of Discourse than Google is.
Ich hatte dieses Thema nicht gesehen und wusste nichts von der Themenkomponente, also habe ich die gesamte Google-Suche komplett entfernt … Ich bin jedoch zurückhaltend, jetzt noch eine weitere inoffizielle Themenkomponente hinzuzufügen. Es wäre gut, wenn die Standardeinstellung DuckDuckGo wäre oder wenn es eine Website-Einstellung gäbe.
…die es erlauben würde, den Anbieter zu ändern oder diesen Fallback-Suchvorschlag ganz zu entfernen.
In der Zwischenzeit, wie haben Sie das „Ding mit der Suche komplett entfernt“? Vermutlich haben Sie eine Theme-Komponente erstellt, aber können Sie den tatsächlichen Code hier teilen (damit ich das nicht selbst herausfinden muss)?
Ich habe es geforkt und die URL geändert. Der allgemeine Standard sollte sein, es leer zu lassen und dem Benutzer die Möglichkeit zu geben, es zu ändern.
So funktioniert Marketing tiefgreifend, durch Social Engineering auf höchstem Niveau.