Skip to content
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
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

WonderCMS 3.5.0 #327

wants to merge 4 commits into from

Conversation

robiso
Copy link
Collaborator

@robiso robiso commented Mar 3, 2025

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.
    • [Feature request] Search #237
  2. Option to display Blog page as default page.

  3. Modal window persistence (settings)

  4. Updated to newest admin.js.min library with included modal persistence functionality.

  5. Pages have now 3 new parameters:

  6. Added header block, which can be called in the theme.

  7. Added hooks on login (supports banning IPs, 2FA implementations)

  8. renderPageNavMenuItem is now hookable: Could renderPageNavMenuItem() be made public, or injectable? #297

"Nearby future" todo:

  • fix blog plugin to avoid duplicate entries - done
  • 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

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
Copy link
Collaborator

@slavenstancic slavenstancic left a 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>'
Copy link
Collaborator

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>'

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, nice catch!

robiso added 2 commits March 4, 2025 00:06
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants