Line 214 in tags.php:
from
Reason is - just one line for both clonable/regular templates
If template is non-clonable, that code won't get any output and some bigger construction is needed. So a little code update makes it easy for Couch to be 'smart' in this case and determine appropriate query.
from
- Code: Select all
if( $page ){
- Code: Select all
if( $page && $PAGE->tpl_is_clonable ){
Reason is - just one line for both clonable/regular templates
- Code: Select all
<cms:get_custom_field var=s_fieldname masterpage=k_template_name page=k_page_name />
If template is non-clonable, that code won't get any output and some bigger construction is needed. So a little code update makes it easy for Couch to be 'smart' in this case and determine appropriate query.