ryan Posted April 24, 2020 Share Posted April 24, 2020 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/ 14 Link to comment Share on other sites More sharing options...
tpr Posted April 25, 2020 Share Posted April 25, 2020 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. 1 Link to comment Share on other sites More sharing options...
Jan Romero Posted April 25, 2020 Share Posted April 25, 2020 I love this update! I’m doing a non-english single-language site right now, so i’ll try it out asap ? Canonical URLs are also awesome! Finally I can get rid of the awkward concatenations ? Thanks Ryan! Link to comment Share on other sites More sharing options...
AndZyk Posted April 27, 2020 Share Posted April 27, 2020 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 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