I install XSLT package every thing working fine. But the problem is when i type into the search input bos the result is show in my target page and near the inpute search box. Any one know why it happen. Please provide me the solution..... Thank you.......
XSLT Search 3.0
Hi,
I just installed XSLT Search 3.0 under version 4.7.0 and I want the search to look through all the content of my website which is fine.
So my search can be accessible from any page, but the results should be displayed in the search.aspx page only.
In my HomepageTemplate i inserted the macros like this:
But when the search page is displayed by results is null.
With the same code but no action i get the results that is:
But with the same code in the search.aspx page the search doesnt work it returns "0"
Can someone help me out with this??
Hi Fuji
Hmm, I'm in a little doubt here but what happens if you add "/" ? Like "/search.aspx" so the url is absolute?
/Jan
hi jan
i installed xslt search 3.0.1 and its working fine,
i want to display the search results in search.aspx page, but its displaying in the same box where my search button is.
what i did is
this is my template page where i am adding the macro of xslt with form
<div class="col_4">
<p>Search:</p>
<div class="full_width textbox_holder">
<from method="get" action="/search.aspx" >
<umbraco:Macro Alias="XSLTSearch" runat="server"></umbraco:Macro>
</form>
</div>
</div>
but right now what is happening is
the reslut is coming in same text box.
Thanks.
Hi Adarsh,
In your MasterTemplate or whatever you are working with insert this according to how you name your search page
Then in your XSLTSearch Template
Give this a try
//fuji
HI Fuji
thanks for reply fuji.
its not working.
iam getting a seperate form in master template and
xsltsearch template.
where master template search is not working
and xslt search tempalte is working.
Adarsh
Can you send the code you are unsing in your master template?? and your xslt search template??...
Fuji
hi Fuji
its in master template.(its called sbcc)
<asp:Content ID="page" ContentPlaceHolderID="cph_page" runat="server">
<div class="full_width header">
<div class="col_4">
<p>Search:</p>
<div class="full_width textbox_holder">
<form method="post" action="search.aspx?">
<input type="text" name="search"/>
<input type="button" value="Search" />
</form>
</div>
</div>
</div>
and defalut template iam adding theslt search here
<%@ Master Language="C#" MasterPageFile="~/masterpages/SBCC.master" AutoEventWireup="true" %>
<asp:content ContentPlaceHolderId="cph_main" runat="server">
<asp:ContentPlaceHolder ID="cph_sub_nav" runat="server" />
<form method="get" action="search.aspx?">
<umbraco:Macro Alias="XSLTSearch" runat="server"></umbraco:Macro>
</form>
</asp:content>
<asp:content ContentPlaceHolderId="cph_header" runat="server">
</asp:content>
hi fuji copied all my master tempalte and
defalut page.
i really didnt understand .what going on.
sorry fuji,,
thanks.
Why are you using those codes for
This should be in your default template or masterTemplate
and your Search Template
Fuji
hi fuji
thanks fuji...
No worries adarsh.
Is it working now???
ya its working
i did with javascript..
thanks fuji
I install XSLT package every thing working fine. But the problem is when i type into the search input bos the result is show in my target page and near the inpute search box. Any one know why it happen. Please provide me the solution..... Thank you.......
is working on a reply...