by
KK » Sat Aug 13, 2016 3:32 pm
Following is what the docs on 'search' tag state (
http://docs.couchcms.com/tags-reference ... masterpage) -
====== quote ===========
masterpageNormally pages of all available templates will be searched for the specified terms. You can set this parameter to limit he search to only some of the templates or to exclude certain templates from the search.
- Code: Select all
<cms:search masterpage='news.php' >..</cms:search>
This example would search only pages of news.php.
- Code: Select all
<cms:search masterpage='news.php, blog.php' >..</cms:search>
This example would search only pages of news.php and blog.php.
- Code: Select all
<cms:search masterpage='NOT news.php' >..</cms:search>
This example would search pages of all templates except news.php.
====== unquote ===========
I think the second example above with two templates is what you are looking for.
Hope it helps.