Can't Save When I "Edit Page Type"

Permalink
I have two page types that when I edit them, (go to the settings of the page type) they won't save.

I click the save button, but the page just refreshes right back to the "Edit Page Type" page.

Normally when you save, it redirects you back to the list of page types.

It seems to only be doing this on the two page types that have spaces in the Name ... "Landing Page" and "Two Column". Would it be a bug or issue with the name? (I'm not referring to the handle ... just the name)

I hope someone has suggestions, because it is bugging me.

Thanks,
~mike

cristawebadmin
 
cristawebadmin replied on at Permalink Reply
cristawebadmin
Hmmm ... just tried my one other page type with two words in the name ... "Event Page" and that one saves.

I am at a loss ... the site seems to be working fine, and I can edit the properties and add attributes to the pages using these page types, so I am not dead in the water, but when someone creates a new page from one of my two page types they don't get the default attributes, because I can't save them on the "Edit Page Type" page for those page types.
cristawebadmin replied on at Permalink Best Answer Reply
cristawebadmin
Okay, I figured it out ... You CAN'T have a dash (-) in the handle name. You need to only have letters and underscores.

I changed my landing-page to landing_page and all was good.

I hadn't seen that in any documentation so I hope this thread however short it is will help someone else in the future.

:)
~mike
mikeTsilva replied on at Permalink Reply
mikeTsilva
I have had the same issue.

Good to know. :)