[英]Google CSE (Custom Search Engine) different search button and fields?
I am getting some strange (to me) results when using Google CSE on my site. 在我的网站上使用Google CSE时,我得到一些奇怪的结果。
Background: 背景:
The site has a MAIN search field (Google CSE #1 we'll call it).. that was set up in the Google CSE admin panel.. and set to be a site wide search. 该网站有一个MAIN搜索字段(我们将其称为Google CSE#1)..该字段已在Google CSE管理控制台中设置..并设置为整个网站范围内的搜索。
I recently added a page that will be the front end search for a directory of PDF's. 我最近添加了一个页面,该页面将作为PDF目录的前端搜索。
I went back to Google CSE admin page.. made a NEW entry for this PDF sub-directory.. 我回到Google CSE管理页面。为该PDF子目录创建了一个新条目。
pointed to only this directory and its child/sub-directories.. set it to ONLY return .pdf results.. 指向仅此目录及其子目录/子目录。将其设置为仅返回.pdf结果。
outside of these two differences, both CSE accounts/entries are set-up identical. 除了这两个差异,两个CSE帐户/条目的设置都相同。
The problem or question I have is.. 我的问题是
the 'results' pages (while have the same exact settings, search field on top of results, full row...single page..etc)..are different a bit. “结果”页面(虽然具有相同的精确设置,但结果顶部的搜索字段,整行...单页..等)..有点不同。
the 'new' page results has a tan colored 'ad block' on top of the results.. and 'more importantly' the results page SEARCH field itself looks different, and the SEARCH BUTTON itself looks different, and has an 'x' (close/clear) button right after it “新”页面结果的结果上方带有棕褐色的“广告块”。“更重要的是”结果页面的SEARCH字段本身看起来有所不同,而SEARCH BUTTON本身看起来却有所不同,并带有'x'(关闭/清除)按钮
if the settings are the same,.. how am I getting different looks? 如果设置相同,..我的外观如何变化? if only PDF file type or confined to a sub-directory for indexing/searching are different?.. do those settings somehow give different looking elements like that?
如果仅PDF文件类型或限制用于索引/搜索的子目录不同?..这些设置是否会以某种方式赋予类似外观的元素?
the new page SEARCH/SUBMIT button also have a magnifying glass on it. 新页面的SEARCH / SUBMIT按钮上也有一个放大镜。 where original one has search text..
原始的有搜索文本的地方。
I didnt see anything in the "Look and Feel" section of the admin pages 我在管理页面的“外观”部分没有看到任何内容
what is affecting the different looks? 是什么影响不同的外观?
answer: choosing hide ads or not under the BUSINESS section in Google CSE admin page changes the 'looks' of the search field & submit button... 答:在Google CSE管理页面的“业务”部分下选择是否隐藏广告会更改搜索字段的“外观”并提交按钮...
why that should affect the visual results, I have no clue. 为什么那会影响视觉效果,我不知道。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.