Hi I have used the panels to place the search box down under a box of links - that are in the left hand column. However, I really want to get the search box up in the right of the header. How would I do that please (I have moved the login by taking some code out of global.vm and placing it inside leftpanels.vm) thanks ee-web.co.uk [email protected] 07760 392284
Hi Edward, do you want the search panel to appear in the top corner or just search input field in the place where normally login link is placed? If so, you can copy the source code from the Search Panel - available in inline edit mode - and put it where you want. You'll find it either from /bin/Panels/ -> choose Search [Edit] from the list of Panels or bin/Panels/Search ->menu Edit -> Inline form I like the panels in XWiki! - it's a very helpful tool to create your own design :-) Edward Laptop wrote:
However, I really want to get the search box up in the right of the header.
(I have moved the login by taking some code out of global.vm and placing it inside leftpanels.vm)
thanks
ee-web.co.uk [email protected] 07760 392284 _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Regards, Alla -- View this message in context: http://n2.nabble.com/Move-the-search-box-tp833988p834158.html Sent from the XWiki- Users mailing list archive at Nabble.com.
I basically want it to look as is. I have tried copying the code as you desribe into the global.vm but I have been staring at my screen for about 5 hours now and I have begun to do silly things like */ instead of *# So I need a break thanks for reply Edward
Sure you use only "cut-out" <form action="$xwiki.getURL('Main.WebSearch')"> <div id="globalsearch"> <input id="globalsearchinput" type="text" name="text" value="$msg.get('panels.search.inputText')" size="15" onfocus="if (this.value == '$msg.get('panels.search.inputText')') value=''; this.select();" onblur="if (this.value == '') value='$msg.get('panels.search.inputText')'; this.blur()"/> <input class="button" value="$msg.get('panels.search.submit')" type="image" src="$xwiki.getSkinFile("go.png")"/> </div> </form> without panelheader and footer? :-) Edward Laptop wrote:
I basically want it to look as is. I have tried copying the code as you desribe into the global.vm but I have been staring at my screen for about 5 hours now and I have begun to do silly things like */ instead of *#
So I need a break
thanks for reply
Edward
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://n2.nabble.com/Move-the-search-box-tp833988p834350.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Thanks again Adoro - another useful tip! Edward Laptop wrote:
I basically want it to look as is. I have tried copying the code as you desribe into the global.vm but I have been staring at my screen for about 5 hours now and I have begun to do silly things like */ instead of *#
So I need a break
thanks for reply
Edward
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://n2.nabble.com/Move-the-search-box-tp833988p834350.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
adoro -
Edward Laptop