Jump to content

Recommended Posts

Posted

@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)? 

  • Like 1
Posted

I tried new redirect option and manually created redirect, but instead of a redirect, I get 404 page. I'm probably doing something wrong ...

Posted

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

Posted
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. 

  • Like 2
Posted
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. 

  • Like 4
  • Thanks 1
  • 1 year later...
Posted

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)

New redirect URL management.png

Posted
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.

  • Like 2

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...