Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
I have two different masteerpage in my site that i want to make all list content appears when typing keyword in search.

How to make it happen? thanks in advance
Following is what the docs on 'search' tag state (http://docs.couchcms.com/tags-reference ... masterpage) -

====== quote ===========

masterpage

Normally 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.
Thanks kk, i didn't know that so easy. :D

it much helping.
3 posts Page 1 of 1