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.

Search Problem

January 23, 2011 12:02am

Subscribe [4]
  • #1 / Jan 23, 2011 12:02am

    soulartist

    68 posts

    1.7.0.

    When I search for a topic, I do get a listing of the word in it’s various postings.

    But, when I click on one of the listed topics, I get this:

    http://www.edensart.com/index.php/eden/comments/

    Instead of showing the topic and posting of my search, I’m back at my current main blog page.

    The only thing that I recently changed was the full weblog name, which had extraneous code for the ampersand and an apostrophe to this: Eden’s Atelier & Gallery.

    I don’t know if this change is causing the issue. If so, how can fix the search mode?

    Thanks.

  • #2 / Jan 23, 2011 3:00pm

    soulartist

    68 posts

    I should also add that I recently upgraded to 1.7.0, and all went well—it seems.

    Regarding this: Instead of showing the topic and posting of my search, I’m back at my current main blog page. More accurately, clicking on the topic brings up my most recent posts, and not the main blog page itself.

    To see what is happening, please visit my website: http://www.edensart.com/

    As a test, type Kandinsky in the search field, and see what results.

    Thanks again.

  • #3 / Jan 23, 2011 3:15pm

    handyman

    509 posts

    Just for interest, does advanced search do any differently?
    (or do you even have advanced search)

  • #4 / Jan 23, 2011 3:17pm

    soulartist

    68 posts

    Advance search produces the same error!

    I like your doggies—

  • #5 / Jan 23, 2011 3:32pm

    handyman

    509 posts

    I’m not an EE expert, but it seems as if your search results are a custom template….not just the standard built-in one.
    Other than looking at that code, I don’t have a hint…chances are it does have to do with one of the two things you mentioned, but since you did both of them without knowing yet that this problem occurred, you have to dig deeper….

  • #6 / Jan 23, 2011 4:31pm

    soulartist

    68 posts

    I don’t see how to dig deeper on this.

    I do see that the name of my weblog isn’t shown in any code, it seems. I do note that default_site is mentioned in various templates, but that is the short name for the weblog—the one that I recently corrected to display properly.

    So, I could use an expert here for help with this issue.

    Thanks.

  • #7 / Jan 24, 2011 8:58am

    Sue Crocker

    26054 posts

    Thanks for the assist, Craig!

    Hi, soulartist. What do you have in your search results page?

    If I look at the code for the templates that come with EE1.7, I see:

    <td class="{switch}" width="30%" valign="top"><b><a href="http://{auto_path}">{title}</a></b></td>

    Are you also using {auto_path}?

  • #8 / Jan 24, 2011 2:33pm

    soulartist

    68 posts

    Thanks for the assist, Craig!

    Hi, soulartist. What do you have in your search results page?

    If I look at the code for the templates that come with EE1.7, I see:

    <td class="{switch}" width="30%" valign="top"><b><a href="http://{auto_path}">{title}</a></b></td>

    Are you also using {auto_path}?

    Hi Sue:

    Here’s what I see in the search results template. I included all the code that contained: switch.

    Note: title refers to path: a href=”{path="eden/comments"}”

     

    <tr>
    <td class="{switch}" width="30%" valign="top"><b><a href="http://{path=">{title}</a></b></td>
    <td class="{switch}" width="30%" valign="top">{excerpt}</td>
    <td class="{switch}" width="10%" valign="top"><a href="http://{member_path=member/index}">{author}</a></td>
    <td class="{switch}" width="10%" valign="top">{entry_date format="%m/%d/%y"}</td>
    </tr>
    
    {/exp:search:search_results}
    
    </table>
  • #9 / Jan 24, 2011 9:13pm

    soulartist

    68 posts

    Hi Again:

    I did add — {auto_path}, and that fixed it.

    <a href="{auto_path}=">{title}

    Thanks.

  • #10 / Jan 25, 2011 4:18pm

    Ingmar

    29245 posts

    Very glad to hear it. Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases