ryan Posted November 2, 2018 Share Posted November 2, 2018 This week, ProcessWire 3.0.118 contains several updates and this post covers them all. The most significant update is a useful new addition for viewing and manipulating page redirects, right from the page editor: https://processwire.com/blog/posts/processwire-3.0.118-core-updates/ 12 Link to comment Share on other sites More sharing options...
Zeka Posted November 2, 2018 Share Posted November 2, 2018 @ryan Thanks for updates. In the blog post for 3.0.117 new 'WireArray::new' method was introduced but in 3.0.118 it was removed and now we have new API functions (WireArray($items) and PageArray($items). Maybe the blog post for 3.0.117 should be changed to reflect current implementation (as blog posts currently are part of docs)? 1 Link to comment Share on other sites More sharing options...
PWaddict Posted November 2, 2018 Share Posted November 2, 2018 I've updated PW to 3.0.118 on localhost and this is what I see in the admin login screen: Link to comment Share on other sites More sharing options...
Zeka Posted November 2, 2018 Share Posted November 2, 2018 @PWaddict https://github.com/processwire/processwire/blob/dev/wire/modules/AdminTheme/AdminThemeUikit/AdminThemeUikit.module#L43 Change it to false. 4 3 Link to comment Share on other sites More sharing options...
matjazp Posted November 2, 2018 Share Posted November 2, 2018 I tried new redirect option and manually created redirect, but instead of a redirect, I get 404 page. I'm probably doing something wrong ... Link to comment Share on other sites More sharing options...
matjazp Posted November 2, 2018 Share Posted November 2, 2018 Yep, it's me ? I had an error (premature end) in my 404 template file. Link to comment Share on other sites More sharing options...
JFn Posted November 5, 2018 Share Posted November 5, 2018 Will there be another master release in the near future? I've seen some nifty features passing by in the dev version since 3.0.98, and eager to use some of them in production environments... Link to comment Share on other sites More sharing options...
ryan Posted November 5, 2018 Author Share Posted November 5, 2018 Quote In the blog post for 3.0.117 new 'WireArray::new' method was introduced but in 3.0.118 it was removed and now we have new API functions (WireArray($items) and PageArray($items). Maybe the blog post for 3.0.117 should be changed to reflect current implementation (as blog posts currently are part of docs)? There has been no change here, the WireArray::new() method remains as it was before. It was only the non-static implementation that was removed, which was present not for functional reasons, but purely so that it would show up in the auto-generated API docs to represent the static version. That non-static version was causing issues in PHP versions prior to 7.x. The static version does not cause issues because it's implemented via PHP's __callStatic() handler. While there are WireArray() and PageArray() functions that can be used the the same way as WireArray::new() and PageArray::new(), the ::new() versions are preferable because they will work with any WireArray derived type, and as a bonus, they can also accept variable argument lists. 2 Link to comment Share on other sites More sharing options...
ryan Posted November 5, 2018 Author Share Posted November 5, 2018 Quote Will there be another master release in the near future? I've seen some nifty features passing by in the dev version since 3.0.98, and eager to use some of them in production environments... Yes, we should have one hopefully this month. 4 1 Link to comment Share on other sites More sharing options...
Nils Wiere Posted November 29, 2019 Share Posted November 29, 2019 Hi @ryan, I really like the idea of the new redirect URL management. Do I have to enable it somewhere, so it automatically adds previous URLs? After changing the page name several times, the panel still shows "Did not find any…" (see attached screen). (Logged in as superuser, using ProcessWire 3.0.146) Link to comment Share on other sites More sharing options...
szabesz Posted November 29, 2019 Share Posted November 29, 2019 9 hours ago, Nils Wiere said: Do I have to enable it somewhere Yep, it must be installed. It is called Page Path History module, found among the core ones. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now