[SOLVED / NOT A BUG] Page remaname work wrong
Posted: Tue Jan 16, 2018 10:17 pm
After clean install WonderCMS, I see a problem.
When I try rename a page, page title is change, but slug and page title in "menuItems" section left with old values.
Slug in "pages" is left with old value too.
PS. My English is not so good, so I add a sample from my database.js
When I try rename a page, page title is change, but slug and page title in "menuItems" section left with old values.
Slug in "pages" is left with old value too.
PS. My English is not so good, so I add a sample from my database.js
Code: Select all
{
"config": {
"dbVersion": "2.4.0",
"siteTitle": "Website title",
"theme": "default",
"defaultPage": "home",
"login": "loginURL",
"password": "$2y$10$JVMRpwVw5BmCKHhQd3yBAO4.dxKpB0GWLz.f7wSa.vD263Aanszs2",
"menuItems": {
"0": {
"name": "Home",
"slug": "home",
"visibility": "show"
},
"1": {
"name": "Example",
"slug": "example",
"visibility": "show"
}
}
},
"pages": {
"404": {
"title": "404",
"keywords": "",
"description": "",
"content": "<h1>Sorry, page not found. :(<\/h1>"
},
"home": {
"title": "Home",
"keywords": "Keywords, are, good, for, search, engines",
"description": "A short description is also good.",
"content": "<h1>Website alive!<\/h1>\n\n<h4><a href=\"http:\/\/192.168.56.103\/loginURL\">Click to login, the password is <b>admin<\/b>.<\/a><\/h4>"
},
"example": {
"title": "otherpage",
"keywords": "Keywords, are, good, for, search, engines",
"description": "A short description is also good.",