Tried all that but the "cache" thing. Afraid to break something. It seems so fragile..... Here is the set-up and tell me looks/is wrong.
I am using SS 2.4.5.
The site is at http://intranet.college-st-paul.qc.ca/fr
I am willing to give FTP access, CMS access and some money to help me with that! I NEED that to work.
/***** FROM THE SOURCE CODE OF PAGES GENERATED BY PAGE.SS **********/
<form id="SearchForm_SearchForm" action="/fr/services/autofinancement/SearchForm" method="get" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend></legend>
<div id="Search" class="field text nolabel"><div class="middleColumn"><input type="text" class="text nolabel" id="SearchForm_SearchForm_Search" name="Search" value="" /></div></div>
<input class="action " id="SearchForm_SearchForm_action_results" type="submit" name="action_results" value="Go" title="Go" />
</fieldset>
</form>
/***** FROM _CONFIG.PHP **********/
FulltextSearchable::enable();
/*************************************/
Did a /dev/build after.
/***** FROM PAGE.PHP **********/
function results($data, $form){
$data = array(
'Results' => $form->getResults(),
'Query' => $form->getSearchQuery(),
'Title' => 'Search Results'
);
$this->Query = $form->getSearchQuery();
return $this->customise($data)->renderWith(array('Page_results', 'Page'));
}
/*************************************/
/***** FROM PAGE_RESULTS.SS INTO /LAYOUT **********/
<div class="typography">
<% if Results %>
<ul id="SearchResults">
<% control Results %>
<li>
<% if MenuTitle %>
<h3><a class="searchResultHeader" href="$Link">$MenuTitle</a></h3>
<% else %>
<h3><a class="searchResultHeader" href="$Link">$Title</a></h3>
<% end_if %>
<% if Content %>
$Content.FirstParagraph(html)
<% end_if %>
<a class="readMoreLink" href="$Link" title="Read more about "{$Title}"">Read more about "{$Title}"...</a>
</li>
<% end_control %>
</ul>
<% else %>
<p>Sorry, your search query did not return any results.</p>
<% end_if %>
<% if Results.MoreThanOnePage %>
<div id="PageNumbers">
<% if Results.NotLastPage %>
<a class="next" href="$Results.NextLink" title="View the next page">Next</a>
<% end_if %>
<% if Results.NotFirstPage %>
<a class="prev" href="$Results.PrevLink" title="View the previous page">Prev</a>
<% end_if %>
<span>
<% control Results.SummaryPagination(5) %>
<% if CurrentBool %>
$PageNum
<% else %>
<a href="$Link" title="View page number $PageNum">$PageNum</a>
<% end_if %>
<% end_control %>
</span>
</div>
<% end_if %>
</div>
/*************************************/
Am i missing something?
Should that returns the results?