Search in one branch of content tree

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
pustofkj
Forum Members
Forum Members
Posts: 19
Joined: Fri Feb 04, 2011 1:57 pm

Search in one branch of content tree

Post by pustofkj »

Hi all, I have multilanguage page structure:

Code: Select all

root
  - en
    - page 1
    - page 2

  - cz
    - page 1
    - page 2
I'm using Search module to scanning the pages. I call it by this line of code:

Code: Select all

{search search_method="post" searchtext="search..."}
The problem is that pages in czech subtree have aliases to english subtree and vice versa. So if I'm searching eg. "page", I get two results, but I'm looking only for the english one. How can I focus module only to one branch of my content tree? ('en' in this case)
Post Reply

Return to “Modules/Add-Ons”