-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WonderCMS 3.5.0 #327
Open
robiso
wants to merge
4
commits into
main
Choose a base branch
from
350
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
WonderCMS 3.5.0 #327
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WonderCMS 3.5.0 1. Search - works for all content and blog plugin by calling <?= $Wcms->search() ?> in theme (has to be styled) - has hook, is modifiable. - #237 2. Option to display Blog page as default page. - Available in Settings -> Menu - #308 3. Modal window persistence (settings) - user can choose to make settings modal popup persistent (re-opens on last tab that had any changed) - can be activated in settings-security. - #320 4. Updated to newest admin.js.min library with included modal persistence functionality. - changes to unminified version: https://github.com/WonderCMS/wondercms-cdn-files/blob/350/wcms-admin.js#L293 5. Pages have now 3 new parameters: - created (time of creation) - modified (time when last modified) - visibility (inherited and synced with menuItems) - #307 6. Added header block, which can be called in the theme. - can be called with <?= $wCMS->header() ?> - header includes a hook, is modifiable - #320 7. Added hooks on login (supports banning IPs, 2FA implementations) - #302 8. renderPageNavMenuItem is now hookable: #297 "Nearby future" todo: - fix blog plugin to avoid duplicate entries - include Romanian translation - figure out a way to display files uploaded files in Settings to be displayed in Summernote - contact form data should not be deleted after update
Bump version to 3.5.0
This was referenced Mar 3, 2025
Closed
slavenstancic
approved these changes
Mar 3, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
index.php
Outdated
@@ -543,6 +571,9 @@ public function createDb(): void | |||
<p>Website description, contact form, mini map or anything else.</p> | |||
<p>This editable area is visible on all pages.</p>' | |||
], | |||
'header' => [ | |||
'content' => '<nav>You can include this in your theme.php edit it.r</nav>' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
'content' => '<nav>You can include this in your theme.php edit it.r</nav>' | |
'content' => '<nav>You can include this in your theme.php edit it.</nav>' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, nice catch!
Fix PR comment
Revert alert for incorrect login.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WonderCMS 3.5.0
Search
<?= $Wcms->search() ?>
in theme (has to be styled)Option to display Blog page as default page.
Modal window persistence (settings)
Updated to newest admin.js.min library with included modal persistence functionality.
Pages have now 3 new parameters:
Added header block, which can be called in the theme.
Added hooks on login (supports banning IPs, 2FA implementations)
renderPageNavMenuItem is now hookable: Could renderPageNavMenuItem() be made public, or injectable? #297
"Nearby future" todo: