I have recently enabled pretty urls on my site but have found that search now only outputs results from news and gallery.
How can I fix this?
Search not searching whole site
Re: Search not searching whole site
Just tried that, with the same results.
Re: Search not searching whole site
Code: Select all
{cms_module module="TruetypeText" style="Welcome" text=$searchresultsfor}{cms_module module="TruetypeText" style="Welcome" text=":"}<br />{cms_module module="TruetypeText" style="Welcome" text=$phrase}
{if $itemcount > 0}
<ul><span class="text">
{foreach from=$results item=entry}
<li>{$entry->title} - <a href="{$entry->url}">{$entry->urltxt}</a> ({$entry->weight}%)</li>
{*
You can also instantiate custom behaviour on a module by module basis by looking at
the $entry->module and $entry->modulerecord fields in $entry
ie: {if $entry->module == 'News'}{News action='detail' article_id=$entry->modulerecord detailpage='News'}
*}
{/foreach}</span>
</ul>
<p class="postby">{$timetaken}: {$timetook}</p>
{else}
<p><strong>{$noresultsfound}</strong></p>
{/if}
Re: Search not searching whole site
And it gives you page results if you disable pretty url?
Re: Search not searching whole site
It was giving me complete results before I enabled pretty urls.