-
☆ A M B ☆
- 179 Posts
Hi,
I want to create a context, that is named like the subdomain it should serve. But this subdomain contains hyphens ("my-nice-name.mydomain.de") and I cannot use it as a context-name ("my-nice-name").
Any solution for that? Or am I missing something? The manual does not say anything about that restriction.
best
Oliver
-
☆ A M B ☆
- 179 Posts
OK, that’s odd. I can create the context "my-nice-name" using main menu > System > Context.
But I cannot DUPLICATE an existing one in the tree (right click on a context and "Duplicate Context") and give it a name (New Key) with hyphens in it. I allwas tried duplication and had the hyphen-problem.
Duplication would save me time manualy entering all the context settings again, because the keys are identical, only the values change.
best
Oliver
-
MODX Staff
- 10,725 Posts
There are several important restrictions on context names atm. These will be removed in 2.1.x releases of Revolution, but for now they are necessary for proper behavior.
-
☆ A M B ☆
- 179 Posts
Thanks. Good to know. I can live with my work around until 2.1.x
best
Oliver