Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
To get the values of template A displayed inside template B there are, for as far as I know, two possible options:

One is to use the get_custom_field tag and the other is the pages tag.

Suppose you would need a lot of values from template A, would it then be better to use the pages tag or the get_custom_field tag?
Hi Saskia,

For one off retrievals, cms:get_custom_field is more convenient.
If, however, you have to fetch several values then cms:pages would be definitely more 'cost efficient' - that is if you fetch all the values in a single cms:pages block.

The difference between the two is discussed in detail here - http://www.couchcms.com/docs/tutorials/ ... -ends.html (find the 'Fetching global values' section).

Hope it helps.
Thanks KK! That was very helpful in deed.
3 posts Page 1 of 1
cron