-
☆ A M B ☆
- 179 Posts
Hi,
I just notices, that the name of a context is also the database key! Is there a safe way to change this key, meaning to change the name of the context?
Thanks
Oliver
P.S.: Was there a reason not to use a numeric id as database key and make the "name" of the context editable? Since I like to name my contexts after my subdomains I would like to have "web" be named "www". Also I would like to have the option to correct misspelled entries after I already worked in a context. Allowing no hyphens when copying a context makes it difficult for subdomains like "the-tree".
-
MODX Staff
- 10,725 Posts
There is already a feature request for this to be changed in the future.
-
☆ A M B ☆
- 179 Posts
Quote from: OpenGeek at Jan 18, 2011, 02:17 PM
There is already a feature request for this to be changed in the future.
Sounds cool! Yesterday I did some manual "search&replace" in the database which also seems to work fine. But that’s not my favorite way.
Thanks for your replay and your great work on developing MODX!
Still nothing on this?
/E
-
MODX Staff
- 10,725 Posts
Adding a name field for display purposes has already been added as a feature request, has already been submitted as a Pull Request, and will be integrated for the MODX 2.3.x releases.
-
☆ A M B ☆
- 179 Posts
Quote from: opengeek at Sep 20, 2012, 08:34 AM... will be integrated for the MODX 2.3.x releases.
Kewl! That would be really awesome! Since I tend to organize my multidomain websites with context-name == subdomain-name I would finally get a chance to also rename "web" into "www" or whatever? THAT would be killer!
Looking forward to 2.3
Oliver
what happend to the feature to rename the default context? we are already on 2.3.3 and i couldn't find the option.
Right-click on the context in the tree and select "Edit Context". You can the display name for the tree.
[ed. note: BobRay last edited this post 10 years, 11 months ago.]