PWaddict

Members
  • Content count

    236
  • Joined

  • Last visited

Community Reputation

62 Excellent

About PWaddict

  • Rank
    Sr. Member

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1,036 profile views
  1. module

    @horst If the CroppableImage3 field is inside a repeater the hover on predefined Crops isn't working.
  2. To get the correct locales for YOUR server (each server might use different ones) just use the below code. <pre><?php passthru("locale -a"); ?></pre> It will show you a list with all locales installed on your server.
  3. Yes the repeater items (shows_date) have the following dates: 3 Aug 2017 9 Aug 2017 4 Sep 2017 15 Sep 2017 So with this selector: shows_date>=today it should display all the dates except the first one (3 Aug 2017) but nothing gets displayed. It's like that the today selector isn't working on repeaters EDIT: I replaced the "today" selector with today's hardcoded unix timestamp and it worked So here is the solution: $today = strtotime("today"); $dates = $page->shows_dates_repeater->find("shows_date>=$today, sort=shows_date");
  4. @Zeka I followed your example but it doesn't work. I want to get all the upcoming dates from the current's page repeater: <?php if(count($page->shows_dates_repeater)) { $dates = $page->shows_dates_repeater->find("shows_date>=today, sort=shows_date"); foreach($dates as $date) { ?> <?= $date->getFormatted("shows_date") ?> <?php } } ?> I get nothing with the above code, not even an error. If I change the shows_date field operator to < then I get all the dates (past & upcoming).
  5. You can use jquery to remove the text.
  6. @szabesz I'm using a page reference field "countries.title"on name format for children without problem. What is your page field value type? I have it on "Single page Page or boolean false when none selected". Have you tried with ONLY set_part_image.title on the name format to see if it works? Make sure that you're using the template's Name format for children and NOT the Automatic Page Name Format of a Page Table.
  7. I did that and it auto replace the slashes properly but at the same time it erased my translations strings. But that was already happening before editing the public function saveTextdomain().
  8. Same problem.
  9. You should load your css file from within <head> cause currently you get quickly a version of the pages without css before the css is loaded.
  10. Ok got it. I had to access children of children. The $release is from another foreach loop where I'm getting the page's children and with the below code I'm getting the children of children with only one and lowest value from a float field. <?php foreach($release->children("limit=1, sort=pad_price") as $p) { ?> <?= $cart->renderPriceAndCurrency($p->pad_price) ?> <?php } ?>
  11. Module

    Nice! Do you have to change your module version from 1.2.1 to 1.2.2 to appear on ProcessWire Upgrades?
  12. Module

    @Wanze Just sent you a pull request. Thank you.
  13. How to echo only one value (the lowest one) of a float field from a Page Table?
  14. I've tested the new 3.0.68 version and the problem still exists. I have to manually replace the slashes.
  15. You're right. Both parts of the problem are caused by the core. Can you please forward it to @ryan so maybe he can fix it on the next dev release?