Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Mikie last won the day on December 6 2018

Mikie had the most liked content!

Community Reputation

137 Excellent

About Mikie

  • Rank
    Sr. Member

Profile Information

  • Gender
  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Mikie


    Hey @Wanze, would be good to be able to set default change frequency to null by default. See here for info from google rep: https://www.seroundtable.com/google-priority-change-frequency-xml-sitemap-20273.html
  2. Yeah I didnt even know about this until the replies here.
  3. In reply to the my post above, disabling automatic rendering in the Factory lets me render pages / templates however I want. Much more flexible imo, and solves my issue.
  4. Thanks for that @adrian. I thought it might specifically be part of the current styleguide for a reason. Understandable if Ryan works that way, we all want him to be as productive as possible!
  5. I think the ProcessWire style guide should move to recommending stripping trailing whitespace, and this should be implemented throughout core / recommened for all modules. This would be inline with official php style guides, eg https://www.php-fig.org/psr/psr-12/ Just a thought. To me it is better to keep things cleaner than not. Would make diffing easier for those whose editors automatically highlight and strip whitespace on save, eg when trying to diff htaccess.txt and an edited .htaccess.
  6. Awesome! ClearCacheAdmin needed some love, this is definitely better IMO. Will PM you on this, not sure how much I am allowed to talk about it here.
  7. Thanks @teppo. Did you get a chance to look at that GitHub issue? Single page ref fields are getting skipped... https://github.com/teppokoivula/SearchEngine/issues/10 The solution posted by Theominator works fine in my testing.
  8. Hi @MateThemes. I think below is what you mean? This is for the portfolio-index.php. Pagination is a bit more involved. You could use the inbuilt pager https://processwire.com/docs/front-end/markup-pager-nav/ <?php namespace Processwire; $entries = $page->children(); foreach ($entries as $entry) { echo "<p>{$entry->title}</p>"; foreach ($entry->images as $image) { $imgUrl = $image->width(600)->url; echo '<img src="' . $imgUrl '">'; } }
  9. Hey @Mike-it did you have any luck? Sorry no-one has responded but I'm assuming someone contacted you via pm or something..
  10. No worries! Can confirm had setlocale(LC_ALL, 'en_US.UTF-8'); in my site config. I only do this when PW tells me to, haven't taken the time to even understand why. Turning that off fixed the issue also. There's enough discussion within that silverstripe GitHub issue about the alternatives. Very very edge, will leave up to you!
  11. And it only happens on mac as well! Wow, what an edge case.
  12. Here is the exact issue. Set locale seems to be the problem, when combined with preg_replace on white-space... https://github.com/silverstripe/silverstripe-framework/issues/7132 Not at the comp right now but will check when I get back.
  13. Yeah I wouldnt worry about it too much. If you can’t replicate your end it’s definitely a problem with the environment. Will try to figure out from my end.
  14. Here is a dump adding that unicode aware regex tag: Sorry about the line numbers in Tracey output, I had hacked your module to add tables 😏
  • Create New...