Jump to content

Fredi can't render a page from a pagefield from a user?


Orkun
 Share

Recommended Posts

I have the problem that i cant render a fredi link to a page which i choosed from a pagefield from a user.

i have a user called "test-user". This "test-user" template has a pagefield called select_organiser which contains all the organiserpages.

My approach:

$organiser = $user->select_organiser;

<li>'.$fredi->setText("<i class='fa fa-pencil'></i> Veranstalter bearbeiten")->renderAll($organiser).'</li>

What I am doing wrong?

Link to comment
Share on other sites

Solve the Problem: I had set the access of the organiser-template false. Only Superusers could access pages with this template. So the access to the organiser-template was denied for users with role company.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...