Overview
This article provides instructions to add custom fields to the Member Directory Module.
Prerequisites
- DNN Evoq Engage 9+
Solution
In this example, the module will have added a field for the user's place. Follow these instructions to implement this change:
- Load the Member Directory Module that you want to update.
- Replace the code line highlighted in bold below, in the relevant Templates that are in use.
<li class="mdTitle"><p><span data-bind="text: Title"></span></p></li>
<li class="mdLocation"><p><span data-bind="text: Location()"></span></p></li>
<li class="mdLocation"><p><span data-bind="text: Phone"></span></p></li>
<li class="mdLocation"><p><span data-bind="text: Place"></span></p></li>With this code:
<li class="mdLocation"><p><span data-bind="text: $rawData.ProfileProperties().Place"></span></p></li>
- Click the Update button to save the changes.
Testing
The template should now include more information from the member in the module.
Comments
0 comments
Please sign in to leave a comment.