Adding Search Box hides the Coveo Search Sublayout
I'm using the default search page created from sitecore and I added a Header sublayout that contains a placeholder for a SearchBox. The idea is to have the search box in the global header. After I add a Search Box sublayout to the header's placeholder the Coveo Seach sublayout doesnt render. There are no JS errors and the the markup is just not generated.
This can be caused by many things:
- The "unique id" you set on the Search box is the same as the id attribute of the "Coveo Search" component ("search"). This causes the init call to initialize the wrong component.
- You included both the "Coveo Search Box Resources" and the "Coveo Search Resources" components in your item.
- You included only the "Coveo Search Box Resources" component in your item. The "Coveo Search" component needs the "Coveo Search Resources" component.
- You included the "Resources" component after your "Coveo search Box" or "Coveo Search" component.