Quote:
Originally Posted by nfc5382
Even better!!!! This works great and shows category results that match the search string.
If you have CDSEO, change the following in smart_search.tpl to use cdseo links vs. categoryids:
Code:
{section name=rc loop=$related_categories}
<li>
<a href="home.php?cat={$related_categories[rc].categoryid}">{$related_categories[rc].category}</a>
</li>
{/section}
to
Code:
{section name=rc loop=$related_categories}
<li>
<a href="{$cdseo_cat}/{$related_categories[rc].cdseo_url}/" title="{$related_categories[rc].category|escape:"html"}">{$related_categories[rc].category}</a>
</li>
{/section}
A+, best mod out there!
|
I have CDSEO installed and did this little modification, but the search result links still show productid links instead of the CDSEO link...
Has anyone else gotten this to work correctly? And yes, I did run the DB rebuild thing after changing and uploading this file (and template cache cleaning)