• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Search Result Page not found

New Here ,
Dec 29, 2013 Dec 29, 2013

Copy link to clipboard

Copied

Hi

I followed this guide to create a search and search reslut page: http://helpx.adobe.com/business-catalyst/partner/add-search-form.html

So I created two pages, one with the search box with following code as suggested on tutorial:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

    <!-- BC_OBNW -->

<head>

<title>searchx</title>

<link href="/StyleSheets/ModuleStyleSheets.css" type="text/css" rel="StyleSheet" />

<script type="text/javascript">var jslang='SV';</script>

</head>

<body>

<div>

<form name="catsearchform97834" method="post" action="/Default.aspx?SiteSearchID=2556&PageID=/search-results.html">

    <div class="search-box"><input class="cat_textbox_small" type="text" name="CAT_Search" id="CAT_Search" /><input class="cat_button" type="submit" value="Search" /></div>

</form>

<br />

</div>

</body>

</html>

And the serarch page caled search-results.html with following code as suggested in the tutorial:

<!DOCTYPE html>

<html>

    <head>

        <title>search-results</title>

        <meta name="description" />

    </head>

    <body>

        {module_searchresults}

    </body>

</html>

But I am getting the "Page Not Found" error. Both the pages are in the siteroot..

I have replaced PageID={module_oid} with PageID=/search-results.html.

Can someone help me what mistake I might have done?

Thanks

TOPICS
Newbie Corner

Views

446

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Dec 29, 2013 Dec 29, 2013

Copy link to clipboard

Copied

It is a common mistake and one I have made several times.

Change this:

PageID=/search-results.html

to

ID=/search-results.html

An example search action would be:

action="/Default.aspx?SiteSearchID=1234&ID=/search-results.html"

The KB says the following:

Replace the PageID={module_oid} parameter with the path and filename of your results page. Note that PageID becomes just ID in this case.

It is simple to overlook and can be confusing as first.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 30, 2013 Dec 30, 2013

Copy link to clipboard

Copied

LATEST

Thanks Lynda, that worked ofcorse Thats what happens when you try to solve something late at night

Merry Christmas

-Sohail

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines