XModPro

No Records for template, new record button.

Jeff M. Jeff M. asked Jun 19, 2013
Active Jun 19 · Viewed 1590 times
I have templates to display records and from here, the end-users can add/edit/delete said records.<br /><br />But, when there aren&#39;t any records, I have the NoItemsTemplate configure to let the end-users that there aren&#39;t any records. And within this, I added an xmod:addbutton so records can be added.<br /><br />The issue is that with this configuration, the new button is shown to everyone, not just the administrators, etc.<br /><br />I tried adding a Panel with ShowRoles=&quot;Administrators&quot;, but even then, the button is being displayed.<br /><br />Any ideas on how to hide this button?<br /><br />Thanks..

2 Answers

Loading answers...