How to customize search box in Sharepoint Online - sharepoint

Please help me explain this difference.
What is the difference of position [search bar] between two tenants?
tenant a: https://i.stack.imgur.com/fguPF.png
tenant b: https://i.stack.imgur.com/MbFUm.png
How to setup such position?

They are basically the same.
You can use CSS position to adjust the position of the search box.
https://www.w3schools.com/css/css_positioning.asp
If you want to add custom CSS to SharePoint Online modern page,you need to upload CSS with SPFX.
https://github.com/hugoabernier/react-application-injectcss

Related

How to add Refiners in Modern Search

Greeting..!!
I need to add Refiners in SharePoint Modern Team site Search Results. Please check attached screenshot for better understanding.
Also, i need to configure term store terms in Refiners filter pane.
Can anyone help me for the same?
enter image description here
Thanks in Advance.
based on my knowledge there is no (easy) way to change layout of default search results page.
In order to customize search in modern page there is this project: https://microsoft-search.github.io/pnp-modern-search/
With that webparts you can create separate search center page based on your needs.
After that, change in Site/Sitecollection search setting the Search center page.

NetSuite SCA Online Edit

Hello NetSuite SCA developers,
I am given access to SCA site where I can edit HTML on some part of the page. I am not sure what this feature is, but to show the online editor, you just press Esc key. I am thinking that the "editable" part is defined through the main template which I don't have access to. I have experience with Site Builder but not SCA, so my questions are:
1. What is this feature called? I need the appropriate term when I talk to client.
2. How do I edit other sections (like header, footer) or possibly the full HTML of a page? Can an admin give me permission or would it take a technical person to edit the main template?
My goal is that I need to edit the menus and header but I could not. I will request it to the client but I don't know what to request since I don't have much idea how it is set up and how it works. If someone could enlighten me just the basics, that would be awesome!
P.S. SuiteCloud IDE would not be an option. We don't have access to full source code.
The feature name is 'Site Management Tool' SMT give you access & edit site when you press ctrl+esc key. But Remember it has so many limitation. I won't recommend it to use every where, Specially for menu structure.
With SMT allow you to add CMS areas, CMS area are Text area, Image Area, Merchandizing area and HTML area.
You will have some default CMS area on each pages,
<div class="home-cms-page-banner-bottom" data-cms-area="home_banner_1" data-cms-area-filters="path"></div>
Then only you can add above 4 area with 'Site Management Tool'.
You can not edit the Menu & header if it don't have CMS area added within code. To edit menu you need to check if it site has category or facets? if it has category based menu then you can edit it from back end.
Let me know if this explanation is good?

Creating a custom view style in Sharepoint 2013?

We're currently building a sharepoint 2013 site but the need to create a custom view style has now become apparent. When viewing documents, the following features would be ideal:
The ability to specify conditional colour values based off dropdown
values.
The ability to add additional styles to a list view - table padding
etc.
The ability to show additional content to a list view - table headings
etc.
As a short term solution we've enabled a thumbnail image to be chosen when a document is added, but this is less than ideal - especially for the client.
We can't seem to find any documentation on how to create a custom view style anywhere so your knowledge would be greatly appreciated.
Thanks!
P.S I should note that:
We only have access to Sharepoint Designer 2013 and not 2010.
We cannot use any external JS libaries.
I think there are no poor or stupid questions. But styling in SharePoint is a wide area. The prefered way for styling and customizing is JSLink, here is a basic tutorial that might help:
http://www.martinhatch.com/2013/08/jslink-and-display-templates-part-1.html

A minimal code webpart that displays a single picked item from a list

I'm not sure this is possible, but figured I´d give it a shot. First a few pre-requeistes and environment details:
I´m using SharePoint 2010, SharePoint
Designer 2010, VS 2010
I want to create as little code as
possible, preferably, create it all via UI or Designer
use out of the box components as much
as possible
Here is What I want to do:
Have a custom list with custom columns (easy part)
Create a webpart with an edit interface to select a single item from this list
This same webpart when visible would display the contents of this selected item in a given layout
I know I can do this creating a custom web part and code it all from scratch, I guess my main question is, is there a way to do this with less code and more out of the box components in SP2010. If not, I guess I'm left with lots of C# code.
Any tips, or pointers in this direction will be most welcome. Thanks in advance.
I think what you're looking for is the Data Form Web Part.
Unfortunately, I can't find any good tutorials for 2010, but hopefully the steps should be similar to setting it up in 2007.
Thanks all for the update. In the end, i had to create quite a bit of code to get this to work:
created a web part that enumerates
the content type,
creates a light box that has a picker
then stores the ID of the content in a column
Not the easiest way,but the only way I could get it working. Thanks again!

Sharepoint search, redirect from OSSSearchResults.aspx to Search centre

i have a question about configuration fo search pages in sharepoint. There are two types of searches:
contextual which searches just in current page or list (they are labelled like: This site: Name of site or This list: Name of list), they point to OSSSearchResults.aspx page
custom searches which can be user defined, they point to Search center
Custom searches are not a problem, since search center can be modified easily, but with contextual searches there is a problem.
So, is there a way to configure sharepoint so it will send users to search center even with contextual searches?
I know that i can insert some javascript into OSSSearchResults.aspx or create HttpHandler which will redirect him automatically, but i wonder if there is some more native solution.
I wrote an article that might help you configure this.
In SharePOint 2013
- Go to site settings-> Seach settings -> Enter the search center url-> tick mark the -> Use the same results page settings as my parent.
Configure Search Navigation:
Everything -> /sites/searchcenter/Pages/results.aspx
Hope this helped

Resources