Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jason Prothero 422 posts 1243 karma points c-trib
    Mar 02, 2010 @ 23:17
    Jason Prothero
    0

    Search data items on an aggregation page?

    Here's the scenario:

    I have a FAQ page that lists the items under it in the content tree as each individual FAQ.  However, each FAQ doesn't have its own page.

     

    Content

    -- Home

    ---- FAQ (FAQ list)

    ------ How do I...? (FAQ item)

    ------ When installing... (FAQ item)

    ------ etc (FAQ item)

     

    I would like the search to search the text in each FAQ, but they should go to the FAQ List page because there is no rendering for an individual FAQ.

    Is this possible?  How would I go about doing that?

     

    Thanks!

  • Nik Wahlberg 639 posts 1237 karma points MVP
    Mar 02, 2010 @ 23:56
    Nik Wahlberg
    0

    Hi Jason, I am not sure about umbSearch2, but you should be able to tailor the search results and use the parent id to form a NiceURL. Then, in that URL you could use an anchor to target the specific FAQ on the "display" page. On the display page, generate the anchor (removing spaces and special characters on both ends to avoid URL encoding issues)

    <a name="nameoffaq"></a>

    and place it appropriately. 

    This is at least how i'd do it using Examine. Hope this helps.

    -- Nik

  • Jason Prothero 422 posts 1243 karma points c-trib
    Mar 03, 2010 @ 19:09
    Jason Prothero
    0

    Yea, that makes sense.  Time to download the source code!

Please Sign in or register to post replies

Write your reply to:

Draft