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.

Help with search function

July 28, 2010 11:05am

Subscribe [2]
  • #1 / Jul 28, 2010 11:05am

    Del

    76 posts

    Hi,

    Can anyone help with some search problems? My skills are lacking.

    I have a simple search box/page that populates a results page, but when I click a search result instead of taking the reader to the article it takes them to a blank page. (half way through revamp so the blank page is based on old design)

    Code here:

    {exp:search:search_results switch="resultRowOne|resultRowTwo"}
    
    <tr>
    <td class="{switch}" width="80%" valign="top"><b><a href="http://{auto_path}">{title}</a></b></td>
    <td class="{switch}" width="20%" valign="top">{entry_date format="%m/%d/%y"}</td>
    </tr>
    
    {/exp:search:search_results}

    The results page is here:
    http://www.stroodacademy.org/index.php/sitesearch/results

    Is this possible?

    Thanks,

    Ben

  • #2 / Jul 28, 2010 3:04pm

    Ingmar

    29245 posts

    What version and build are you using? What template do you want to use for your entries? Be sure to set the correct Search Results URL in Admin > Weblog Administration > Weblog Management > Edit Preferences for each weblog.

  • #3 / Jul 29, 2010 6:00am

    Del

    76 posts

    It was the Search Results URLs!

    All working now.

    Thanks!

  • #4 / Jul 29, 2010 8:23am

    Ingmar

    29245 posts

    Glad to hear it 😊 Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases