ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Super Search Categories issue

May 30, 2013 10:35am

Subscribe [2]
  • #1 / May 30, 2013 10:35am

    ciprian

    17 posts

    Hi all,

    I have a problem with the Super Search module: I am trying to link the title of my search results to the relevant article, but I can’t figure out how to display the appropriate category in the URL. I have tried different variables like {path="template_group/template"} or {auto_path} and others but no luck!

    here’s the search results page code:

    <div id="content">
        {exp:super_search:results allow_repeats="no" orderby="date" paginate="bottom" limit="10"}
         <h3><a href="http://{auto_path}">{title}</a></h3>
    <p>     {if excerpt}{excerpt}{if:else}No excerpt available. Either the channel does not have the except field configured correctly, or the designated field contains no value for this entry.{/if}<br />
         <hr ><br />
        {if super_search_no_results}<br />
         Sorry, no results matched the search terms you provided. If you continue to have trouble finding results, make sure:<br />
         <ul><br />
          <li>that Channel entries exist for your site</li><br />
          <li>that the field you're searching on (if applicable) exists for your site</li><br />
          <li>that the Fields you wish to be searched on are marked as searchable for the custom field preference</li><br />
          <li>you are not searching on closed entries, future entries, expired entries, etc. Just like the Channel:Entries loop, Super Search respects those settings as well. Be sure to include the necessary parameters on the Results loop for this template.</li><br />
         </ul><br />
        {/if}<br />
        {paginate}<br />
         Page {current_page} of {total_pages} pages. {pagination_links}<br />
        {/paginate}<br />
        {/exp:super_search:results}<br />
      </div><!-- end content -->

    Here’s the link to my website: http://www.efc.ie/ the Search Box is top right. Say for example I search “Banking”, here’s what I get: http://www.efc.ie/search/results/search&keywords=banking/

    If you click on the first link, the path is not correct. The correct path should be:

    http://www.efc.ie/what/section_legal/category/banking

    So it should include the relevant template and category.

    What am I doing wrong? What code should I put?

    Thank you in advance for your help!!!

    L

  • #2 / May 30, 2013 11:02am

    Boyink!

    5011 posts

    I assume you’ve also posted this in the Solspace forums?

  • #3 / May 30, 2013 11:06am

    ciprian

    17 posts

    I assume you’ve also posted this in the Solspace forums?

    oops, I didn’t know there was a Forum in Solspace website… I will post my issue there now!

    I don’t assume I will get any help here, then?

  • #4 / May 30, 2013 11:08am

    Boyink!

    5011 posts

    You purchased a commercial add-on that includes support with the purchase price - it’s not that you “won’t” get help here as sometimes people chip in but overall it’s just better form to ask the creators of the add-on for help…;)

  • #5 / May 30, 2013 11:11am

    ciprian

    17 posts

    You purchased a commercial add-on that includes support with the purchase price - it’s not that you “won’t” get help here as sometimes people chip in but overall it’s just better form to ask the creators of the add-on for help…;)

    absolutely right, that makes sense! I’ve just posted my issue on Solspace Forum so hopefully I’ll get a reply soon!

    I have posted here in the past and I have been lucky to find a lot of help…

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases