Jump to content

PW 3.0.155 – Core updates


ryan
 Share

Recommended Posts

This post covers a few of the bigger updates in ProcessWire 3.0.154 and 3.0.155 on the dev branch. This includes a new function for live replacement of text in core and modules, a new method for creating canonical URLs, and some major upgrades to our $input->urlSegment() method that I think you’ll like! This continues from last week’s post in the ProcessWire support forum about 3.0.154 core updates and includes several new details—

https://processwire.com/blog/posts/pw-3.0.155/

  • Like 14
Link to comment
Share on other sites

Thanks for the update. This implementation is a bit weird to me:

// Get previous URL segment

$prev = $input->urlSegment('=bar');

Perhaps a new urlSegmentBefore() (and after) or a second parameter would be more readable.

  • Like 1
Link to comment
Share on other sites

Thank you for the updates. ?

But I think there is a small bug with the image field. I cannot search image descriptions like this anymore:

<?php pages()->find("content>0, content=[image.description%=$q, include=all]");

Content is a repeater matrix and $q a search term of a search function.

Can somebody reproduce this?

Regards, Andreas

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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