Jump to content

Recommended Posts

Posted

Hi, I'm just a newcomer from modX ;-) and already stuck at the first corner:

I try to exchange the default installed pages and templates with my own.

I changed the name of the home template.

Then I tried to link my own home template to it.

Following error is thrown:

Can't save page 1: /: Selected homepage template cannot be used because it does not define access.

I can't find how I can define access to the old or the new home template...

In the "Manage template access" section no role "superuser" appears.

The option "create new pages" is grayed out. I also can't find that option in the list of possible permissions...

Same applies for the new home template...

Sry for being stupid...

Posted

Hi Wishbone,

In your new homepage template, look under "Access"

Do you want to manage view and edit access for pages that use this template?

Check "yes".

I think that should solve your issue.

  • Like 1
Posted

Hmm, just looked at one of my installs and it only shows guest — which is checked.

Seems to work correctly.

You are still getting?

Can't save page 1: /: Selected homepage template cannot be used because it does not define access.



Are you sure you are editing the template that your "Home" page is currently using?

I'm only asking, because I've done that one myself. :P

  • Like 1
Posted

;-) I tried both, the default home page template which I renamed into "home_old", and my new one, named "home". Trying to assign it to the default home page.

Posted

Why didn't you just modify the home template fromt he beginning. I never needed to change it to another template. I think you messed up with the root with access and changing template to a custom with no access yet defined, now you don't have access to modify it again? Not sure at all what happened :)

  • Like 1
Posted

Seems like there should be a fix. If access is defined via home_old, and home_old has:

Do you want to manage view and edit access for pages that use this template? "yes"

Would seem to me that it should work.

?

  • Like 1
Posted

Yes, already did that in the beginning. The list of roles doesn't show me "superuser".

If this approach mixes up things, how do you move from the basic install to your own templates and files?

Posted

Superuser always has access but it might need to have access check at least thats what the error suggests. Tick guest give view access and try again.

  • Like 1
Posted

guest view access was checked - but suddenly it works!

don't know why.

sry for confusing and thx for incredible and fast help!

I can continue...

  • Like 1

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
×
×
  • Create New...