mirror of
https://github.com/WonderCMS/wondercms.git
synced 2026-08-25 10:51:22 +00:00
Page:
Default database.js
Pages
5 file structure
500 internal server error
Add SRI tags to your theme libraries
Add favicon
Additional security configuration(s)
All security features described
Allowed extensions file types for uploads
Always redirect to https and www
Apache2 configuration 404 page errors on Ubuntu LAMP
Backup all files
Better security mode (HTTPS and other features)
Caddy web server config
Change default login URL
Change default password
Create a plugin
Create custom page template
Create new editable areas or editable blocks
Create theme in 8 easy steps
Custom modules
Custom repositories
Default database.js
Demo
Download
Edit 404 page
Example of database.js
Get data from database
Hide page from menu
Home
IIS server config
Included libraries
List of all functions
List of common errors
List of hooks
Login URL doesn't work 404
Login
NGINX server config
One click update
One step install
Optional: functions.php file
Other errors
PHP built in server
Persistent "New WonderCMS update available" message
Recover login URL
Requirements
Reset password
Restore backup
Set data to database
Theme tags
Translations
URLs mailformed on Windows IIS
Update theme to work with WonderCMS 2.0.0
Update theme to work with WonderCMS 3.0.0
Update
[Self attack vulnerabilities] possibilities list
No results
12
Default database.js
Robert Isoski edited this page 2020-04-13 10:23:19 +02:00
{
"config": {
"siteTitle": "Website title",
"theme": "default",
"defaultPage": "home",
"login": "loginURL",
"loggedIn": false,
"forceLogout": false,
"password": "$2y$10$Lg9eLfREO.L2XuLmNRPYk.Yot.h080QDwyx48dvMUXqFdCyVg5NZ6",
"lastLogins": {},
"defaultRepos": {
"themes": {},
"plugins": {},
"lastSync": null
},
"customRepos": {
"themes": {},
"plugins": {}
},
"menuItems": {
"0": {
"name": "Home",
"slug": "home",
"visibility": "show"
},
"1": {
"name": "Example",
"slug": "example",
"visibility": "show"
}
}
},
"pages": {
"404": {
"title": "404",
"keywords": "404",
"description": "404",
"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=\"https:\/\/www.wondercms.com\/devPrepare\/wcms304\/wondercms\/loginURL\">Click to login.<\/a> Your password is: <b>Xj4v67CI<\/b><\/a><\/h4>"
},
"example": {
"title": "Example",
"keywords": "Keywords, are, good, for, search, engines",
"description": "A short description is also good.",
"content": "<h1>How to create new pages<\/h1>\n<p><i>Settings -> General -> Add page<\/i><\/p>\n\n<h1>How to edit anything<\/h1>\n<p>Click anywhere inside the gray dashed area to edit. Click outside the area to save.<\/p>\n\n<h1>How to install\/update themes and plugins<\/h1>\n<p>By opening the Settings panel, you can install or update themes and plugins.<\/p>"
}
},
"blocks": {
"subside": {
"content": "<h3>About your website<\/h3>\n\n<p>Website description, photo, contact information, mini map or anything else.<\/p>\n<p>This blue editable area is visible on all pages.<\/p>"
},
"footer": {
"content": "©2020 Your website"
}
}
}
Intro
- Home
- Demo
- Download
- One step install
- Requirements
- 5 file structure
- List of hooks
- Included libraries
- Create theme in 8 easy steps
- Create a plugin
- Custom modules
- Translations
- All security features described
Basic how to's
- Backup all files
- Change default login URL
- Change default password
- Create custom page template
- Create new editable areas or editable blocks
- Edit 404 page
- Get data from database
- Set data to database
- Hide page from menu
- Caddy web server config
- IIS server config
- NGINX server config
- Login
- Recover login URL
- Reset password
- Restore backup
- Update
- PHP built in server
Themes
- Create theme in 8 easy steps
- Add favicon
- Theme tags
- Update theme to work with WonderCMS 2.0.0
- Update theme to work with WonderCMS 3.0.0
- Share your themes with Custom modules
Plugins
- Quick intro on creating plugins and List of hooks
- Share your plugin with simply with Custom modules
Security
- All security features described
- Add SRI tags to your theme libraries
- Always redirect to https and www
- Additional security configuration(s)
- Add SRI tags to your theme libraries
- Better security mode (HTTPS and other features)
Features description
- One click update
- Optional: functions.php file
- Default database.js
- Allowed extensions file types for uploads
- Login URL doesn't work - 404
- 500 internal server error
- Persistent "New WonderCMS update available" message
- URLs mailformed on Windows IIS
- Other errors
Still need help?
- Ask a question or make a request in the community.
- Official website