Jump to content

Roberts R

  • Content Count

  • Joined

  • Last visited

Community Reputation

8 Neutral

About Roberts R

  • Rank
    Jr. Member

Recent Profile Visitors

911 profile views
  1. Roberts R


    Just to let you know. Link on homepage does not work.
  2. To use this with php7.2 you have to change list($unit, ) = each($units); $unit = key($units) in Number.php line 293. As "each" function is now DEPRECATED
  3. Ah this is what I can use when running Ajax (last part). Thank you as well.
  4. echo WireRenderFile('child', ['page' => $child]); Learnt something new. Thanks. Could not find it in Api reference. Or I don't know how to look for it.
  5. Ok let me try again. My config file : $config->useMarkupRegions = true; $config->prependTemplateFile = '_init.php'; $config->appendTemplateFile = '_main.php'; Child template in ./templates/child.php <div class="child"> <div class="image" style="background-image:url('<?=$page->backgroundImage->url?>')"></div> <div class="description"> <h3><?=$page->title?></h3> <p><?=$page->smallDescription?></p> <div class="price">CHF <?=$page->price?>.-</div> </div> </div> Hanna code : <?php foreach ($page->children('template=child') as $child) { echo $child->render(); } ?> parent template is just : <main pw-replace="main"> <?=$page->body?> </main> And question is how do render child without "_init.php" and "_main.php"?
  6. As im statring to use $config->useMarkupRegions = true; I'm starting to run in things I can't figure out. In body field I have hanna code inserted that renders some of children and children have template. When rendering children they include $config->prependTemplateFile = '_init.php'; $config->appendTemplateFile = '_main.php'; for all rendered children. Is there a way to render without them?
  7. Thanks. List for Latvian language.
  8. Can someone point me to the way how to fix title to name? so "ā" becomes "a" and so on. see attachment
  9. network error is the trigger. And sometimes its easy to trigger. Just got report from client that he have same issue. Opening any part on admin site in new tab fixes it. refreshing/logout does not. Is there a way to perm fix? Talking clients to use PW over WP was struggle ... this does not help as it happens when I present PW
  10. Got this issue again. Disabling uBlock did not help. This is just so random
  11. Firefox. No console output. It not like I put addon and then it stopped - only have addblocker. It just happened when I browsed admin panel at random time. Cleared history/cache. I can login with chrome - and it works fine. EDIT : I managed to fix it for me somehow : Video of issue. https://eroot.tinytake.com/sf/MjI5NTEyMl83MDQ2MzQz
  12. Does anyone have issues when sometimes PW does not load page tree? I have came across with all PW versions I have used. I can't open "Sākums". I try to refresh. There is no dropdowns from Setup/Modules/Access. EDIT: this didn't help : "To fix it i have to logout - but only from mobile version since User menu does not popout" Sadly I can't replicate it.
  13. Ah. Dumb me. I changed wrong property. Auto "memory_limit" blame. Thanks.
  14. Trying WordpressMigrator "File hokejablogs.wordpress.2018-01-08.xml is 5880279 bytes which exceeds max allowed size of 2097152 bytes" I can't find the way to change max upload size.
  • Create New...