Search in one branch of content tree
Posted: Thu Apr 21, 2011 8:11 am
Hi all, I have multilanguage page structure:I'm using Search module to scanning the pages. I call it by this line of code:
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)
Code: Select all
root
- en
- page 1
- page 2
- cz
- page 1
- page 2
Code: Select all
{search search_method="post" searchtext="search..."}