This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello,
I need to list the backend users on the frontend in a layout page. Whatever i try i cant get them to display on my page and i cant find any tags for it..
Hope someone can help me out here.
Hi I can help but you need to explain why you would want to mix backend and front end users up. It is possible but not good practice. Is there another way to achieve what you are trying to do? Perhaps if you explain why you want to do it we could offer an alternative approach.
What exactly is the issue you are having? You can put the following code in the onStart()
function and should be able to display them: $this['users'] = Backend\Models\User::all();
Little bit starter in all of this so hope i explain this well.
I used the Radiantweb blog and created a group of authors since the blog plugin lets you use the admins for the author function. They need to have a detail page. I managed to create a detail page for them but i cannot get them to show up in a nice list at an about page in the site.
The Code I presented above should give you a nice array (Collection) of all backend users. If you have questions on the exact implementation in your case, you can checkout the IRC channel. I can provide some more custom support there.
1-6 of 6