Jump to content

default home template - no access to change it


wishbone
 Share

Recommended Posts

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...

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
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...