Changes for page Home

Last modified by Isaac Mejia on 2025/12/15 18:27

From version 28.1
edited by Isaac Mejia
on 2025/12/09 16:01
Change comment: There is no comment for this version
To version 30.1
edited by Isaac Mejia
on 2025/12/10 17:05
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -114,18 +114,19 @@
114 114   Guides, walkthroughs, and best practices to help you and your team get the most out of the platform.
115 115   </p>
116 116  
117 - <!-- Enhanced search box (still uses XWiki search under the hood) -->
117 + <!-- Hero search wired to custom KB search page -->
118 118   <div class="kb-hero-search">
119 - <form action="$xwiki.getURL('', 'view', 'xpage=search')" method="get">
120 - ## XWiki Solr search expects the "text" parameter
121 - <input
122 - type="text"
123 - name="text"
124 - placeholder="Search for an article (e.g. &quot;family membership&quot;)"
125 - aria-label="Search the knowledge base"
126 - />
127 - </form>
128 -</div>
119 + <form action="$xwiki.getURL('Main.KBSearch', 'view')" method="get">
120 + <input
121 + type="text"
122 + name="text"
123 + placeholder="Search for an article (e.g. &quot;family membership&quot;)"
124 + aria-label="Search the knowledge base"
125 + />
126 + <!-- optional: add a button if you want -->
127 + <!-- <button type="submit" class="kb-search-button">Search</button> -->
128 + </form>
129 + </div>
129 129   </div>
130 130  
131 131   <!-- CATEGORY GRID -->