This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

diezit.
diezit.

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.

axomat
axomat

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.

alxy
alxy

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();

diezit.
diezit.

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.

alxy
alxy

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.

diezit.
diezit.

Thanks for all the help

1-6 of 6

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.