Changes for page Home

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

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

Summary

Details

Page properties
Content
... ... @@ -114,19 +114,18 @@
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 - <!-- Hero search wired to custom KB search page -->
118 - <div class="kb-hero-search">
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>
117 + <!-- Enhanced search box (still uses XWiki search under the hood) -->
118 +<div class="kb-hero-search">
119 + <form action="$xwiki.getURL('Main.WebSearch', 'view')" method="get">
120 + ## XWiki will use ?text=... as the search query
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>
130 130   </div>
131 131  
132 132   <!-- CATEGORY GRID -->