I have some experience setting up Google CSEs. I have a request to set up a CSE with an option to 'search the web' or just search the site.
I thought it would be very simple, but iver yet to find an example or tutorial.
Can anyone point me in the right direction and or give me an example of a Google CSE that has a radio button (any button, or input for that matter) to search 'the web' or just the current site which the CSE is set up to do.
Thanks,
Jesse
You just need to create the custom search engine; the radio buttons are automatically there. Just go to http://www.google.com/cse/, click the create button, and then fill out each section that is relevant to you (probably everything except for advanced, promotions, synonyms, and look+feel at the moment). Note that the radio buttons are not on the main search page, but may be found on all the results pages.
Edit
In the "Basics" tab, select "Search only included sites" under "Preferences". Under "Look and feel", select the default style. The search results page should show a radio button with the first one labeled with the name of your search engine and the second button labeled "Web Search".
Related
We are using the Set-PnPSearchSettings to customize our search
What are the integration capabilities with regards to the search bar dropdown?
At the moment a user has to type their query in and hit enter or click the magnifier icon before they can see results
How can we show results in the dropdown?
Can you please help me create the same function as from Microsoft.com page for a search function?
Here is what i need help with :
Add Search Icon to top nav
Clicking search icon will overlay search across nav
After entering search term, clicking enter or the search icon within the search bar will submit the search
Clicking “cancel” button will hide search bar and reveal nav
I am a semi- begginer so if you have detailed instructions that would be very helpful.
I want to use google custom search for my wordpress setup. I need the custom search to be able to search the whole site or if a checkbox is ticked, only search within a certain category of the site.
Can anyone point me in the right direction with this?
You can have 2 custom search engines- one searching your whole site and another one searching the specific categories you mentioned. Based on whether the checkbox is checked or not, you can display the appropriate search box in your page. A demo of how to select specific sites or whole domains is shown in http://preciselyconcise.com/apis_and_installations/google_custom_search.php
I have been researching this for some time, and have not been able to find a solution. I would just like to have a search bar that when an ID is entered, the search will return all the list items that have that ID.
I'm sure I am leaving out details (as I am a sharepoint novice), but any help would be greatly appreciated.
What you need is not search, but filter.
In the view of you library, follow these steps :
Put the page in edit mode
Add a web part "Text Filter Web Part"
Open its tool pane
Name the filter, "IDFilter" for example, and validate
Still in edit mode, select "Modify shared Web Part" --> "Connections" --> "Send filter values to name of your library"
Choose the field that holds your ID and click "Finish"
That's it. You can now type the ID in the field, and it will dynamically apply a filter on the ID field.
That said, you should post you future questions on http://SharePoint.stackexchange.com. this is a SharePoint dedicated stackexchange site.
I'm trying to make a custom list for inquiries, where users will fill in some information such as "Name", "Reason" etc. When they've finished filling in the information and added the item, the administrator will then go through the item, and fill in some new columns that the user hasn't been able to fill in.
I hope you understand me, otherwise you're more than welcome to ask questions!
With SharePoint designer 2007, you can use the SPSecurityTrimmedControl who enable you to show/hide form field (or site action...).
Syntax :
<SharePoint:SPSecurityTrimmedControl PermissionsString="ManageLists" runat="server">
WHAT_YOU_WANT_TO_HIDE_HERE
</SharePoint:SPSecurityTrimmedControl>
For the PermissionsString, all values HERE
You'll need to use SharePoint Designer. You will create custom new and edit forms. This way when the user fills in the new form, only certain fields will appear. Then when the administrator edits the item using the edit form, they will have access to more fields.
Please see this link for more information.
Try making a copy of the form you wish to edit by copying and pasting to the same folder. Then click on the web part for the form and the code above will highlight . Look for tags IsVisible and change it from "true" to "false". This will hide the default form. Do not delete the original form.
Click on the web part in the design view then press your right arrow. This will move the cursor to right after the web part but still within the web part zone. Go to the Insert menu, select SharePoint Controls then Custom List form. A small dialog window will appear, select the list name from the first drop down, then select the content type from the second drop down. Finally select which form you want to insert, New, Edit or Display. Click OK. The new form will be displayed under the default form, and you will then see all of the fields in order and you can add or remove as you like.
If one did not want to edit the pages, couldn't one use Jquery to hide the fields? I have done this with SPservices. to check the user credentials if you will and then if matched display the hidden fields... all this is done from a web part...just a thought...I actually learned something great today.. great replies.