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".
There is already a feature request for this to be changed in the future.
Quote from: OpenGeek at Jan 18, 2011, 08: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!
-
- 98 Posts
Still nothing on this?
/E
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.
Quote from: opengeek at Sep 20, 2012, 01:34 PM... 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
-
- 31 Posts
what happend to the feature to rename the default context? we are already on 2.3.3 and i couldn't find the option.
-
- 24,544 Posts
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 8 years, 6 months ago.]