Hi,
Is there a way to set up the page custom_field to be equal to checkbox values?
While using extended users, i want to set up some notifications and these are for select groups (always different) of users each time, therefore i set up a clonable page to be used for each notification with a checkbox field with the user id's, and if the if a user id is selected as a part of that notification, it will show to them.
Right now I am doing it as such:
Though I believe using the custom_field would be a lot more efficient instead of loading all the pages set for notifications and then checking to see if the user's id is checked in each page.
Is there a way to set up the page custom_field to be equal to checkbox values?
While using extended users, i want to set up some notifications and these are for select groups (always different) of users each time, therefore i set up a clonable page to be used for each notification with a checkbox field with the user id's, and if the if a user id is selected as a part of that notification, it will show to them.
Right now I am doing it as such:
- Code: Select all
<cms:pages masterpage="notifications_module/notification.php" >
<cms:if "<cms:arr_val_exists "<cms:show k_extended_user_id />" in=__who />">
<p><cms:show k_page_title /></p>
</cms:if>
</cms:pages>
Though I believe using the custom_field would be a lot more efficient instead of loading all the pages set for notifications and then checking to see if the user's id is checked in each page.