choosing which repeating regions/template pages to display
I have a PowerCMS repeating template region set up on a page and I want the client to be able to choose which of the repeating regions to make live and which to hide. In a normal recordset I would include a dB field called "Live" and set it to 0 or 1, then use a Show If command to display the item if Live = 1. I'm not sure how to amend the Show If field for a repeating template region though. I've added a text field to the template called Make Live and inserted the word YES, then added the following to my code but it's not working properly:
<?php if (WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Surveys', 'Make Live', $row_rsSurveys['ContentPageSetOrder'] ) == "YES") { // Show if column... ?>
[repeating content here]
<?php } // Show if column... ?>