Jahia Template Forum > Search target problem

0 (0 Good)
0 (0 Bad)

Search target problem

by  giantjack »  2011/06/07 19:57

Hello,

I'm currently working on advanced search on Jahia 6 Community version.
I want to limit the search target on pages without files results.

To make it I've used Jahia taglib : [code:rekkc8wx]search#58;form[/code:rekkc8wx] with the following implementation : [code:rekkc8wx]
  • Search target problem
    2011/06/07 19:57

    giantjack Hello,<br/><br/>I'm currently working on advanced search on Jahia 6 Community version.<br/>I want to limit the search target on pages without files results.<br/><br/>To make it I've used Jahia taglib : [code:rekkc8wx]search#58;form[/code:rekkc8wx] with the following implementation : [code:rekkc8wx]

  • Number of messages  8
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Search target problem

    by  pap@commaro.com »  2011/06/07 19:57

    Hello,

    indeed, the searchFor attribute might be a bit misleading. Basically what it really does is that it determines whether to search in content shown or referenced on the pages (keyword: pages) or to search in the entire file repository, where files may not be referenced on pages yet (keyword: files). So all the files which are referenced on the pages (through links in Bigtext or with using file fields) will be included when using keyword quot;pages

    Benjamin Papez (pap@commaro.com)

    Number of messages  220
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Search target problem

    by  giantjack »  2011/06/07 19:57

    Thanks for your help, i will test it.
  • Re: Search target problem
    2011/06/07 19:57

    giantjack Thanks for your help, i will test it.

  • Number of messages  8
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page