Search over in current issue
  • Hello all,

    how could a search form being created which searches not in the whole publication but only the current issue?

    Best regards, and thanks for a link,
    Thomas.

    Post edited by BAUMANN Thomas at 2012-06-09 18:07:28
  • 3 Comments sorted by
  • hi thomas,

    should work with search_level=1 param, more info in wiki - https://wiki.sourcefabric.org/x/AwJQ

    petr
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Thomas,

    To answer the edited question, the wiki says search_level=2 for the current issue only.

    Cheers!

    Daniel
  • How can I do this, having this:

                    <div id="search-box-in-issue">
                        {{ search_form template="search.tpl" submit_button="search" }}
                        {{ camp_edit object="search" attribute="keywords" html_code="placeholder=\"suche in $gimme->issue->name\"" }}
                        {{ /search_form }}
                    </div><!-- /#search-box -->

    ?
    Where is search_level=2 to be placed?