Jump to content

kalimati

Members
  • Posts

    61
  • Joined

  • Last visited

Everything posted by kalimati

  1. That's right, default settings were enough.
  2. I had to use composer to install it. The module folder created is different from the earlier one. Worked as expected. Thanks.
  3. I can't see it in my setup. Please see the attached screenshot.
  4. Thanks for your reply, Richard. I don't see the ImageMagick settings (advanced) in my installation. I am using Processwire 3.0.229 and module version 1.1.5 on Ubuntu with PHP 8.1.
  5. It seems like I have a colour depth issue when trying to generate an image from an uploaded PDF file. Any clues how this can be corrected? Thanks.
  6. Is any update for GoogleClientAPI in the pipeline? Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /var/www/domain.com/public_html/site/assets/GoogleClientAPI/google-api-php-client/src/Google/Service/Resource.php on line 297
  7. I've added new fields to the Users template, one of which is a title that serves as the user's ID number. I also have another template for recording attendance, which includes a User ID field that is a page reference to the Users. When I try to import attendance data using a CSV file, the pages are being created as expected, but the User ID fields are not being populated. since they are al Is the module ImportPagesCSV getting confused between page id, name and title since they are all a number in this case? Any hints how I can resolve it? Thanks.
  8. There is an option to import data from a CSV into a Matrix Fieldtype for each page. Is there a way to import data for a template with Matrix Fieldtype involving many pages using ImportPagesCSV?
  9. Thanks for your response, flydev. I am generating the add to cart form using a function. $config->urls->root does not work inside it and so I am hard coding the URLs /padloper/add/ or /checkout/ where required. I tried your code using hx-redirect. It worked partially. It added the product to the cart and redirected but to the backend to a URL like http://localhost/processwire/shop/padloper/products/product-name/variant-name/?productId=1429&variationId=0&product-title=product-title%3A+attribute1-option+%2F+attribute2-option&quantity=1&totalQty=1&numberOfTitles=1&totalAmount=Rs 1.500%2C00
  10. In the demo template, the add-to-cart triggers an ajax call via htmx. In my case the client will order one variant (training program) at a time. I would like to move the user directly to the checkout page once he clicks on add to cart. How can I achieve that? Thanks.
  11. Thanks, that was it. Actually that was being generated on sample pages (hidden) from a profile that I had left in the tree. displayAds was not supposed to function there. I trashed the pages and Duplicator worked. But curious as to how a code on a template should affect Duplicator.
  12. Thanks for your response, flydev. Here are the three error logs but I don't see any clue in it. Duplicator Logs Processwire error log PHP Error log I am not aware of any eventual hosting provider upgrade. Yes the database has grown since last backup.
  13. One of my websites using Processwire 3.0.184 and Duplicator 1.4.19. It was creating backups till 6 months back. I tried again today and although it starts the process it cannot complete it. It does not throw any error or display any message, just stops. The incomplete zip filw can be seen in the /site/assets/backups directory with a name like 2022-03-22_18-57-17-websitename.com.package2.zip.DOmR6A. Any idea what could be going wrong?
  14. I am getting the same error as OllieMackJames. Tried older versions of htaccess (from version 3.0.135) without success. Edited files don't save. Looking at the browser dev console helped. The problem was proper setup of httphosts in the config file.
  15. Preferences for features to implement next: Payment Gateways which are a necessity for an ecommerce module. Especially configuration / setup of alternative gateways beyond Stripe and Paypal.
  16. I am redoing a Wordpress website in Processwire. Would like to try it out.
  17. Finally I was able to solve it. dump command helped to nail the problem at each stage. $classroom = $page->trgMode->find("title=In Classroom"); $online = $page->trgMode->find("title=Live Online Training"); $onsite = $page->trgMode->find("title=Onsite Training"); if (((count($classroom) == 0) && (count($online) == 0)) && (count($onsite) > 0)) { echo "<p>This course is available only as an Onsite program.</p>"; }
  18. I have a template for courses for a website on training. Within the template I use a multiselect page reference field to define attributes associated with the course. While rendering the page I want search for a combination of attributes -in the multiselect page reference field - presence and absence of some of them -- and perform an operation accordingly. How do I search for a combination of values in the multiselect page reference field? Thanks. Here is the pseudo code: if ($page->pageReferenceField->has("title=one|two") && $page->pageReferenceField->doesnothave("title=three")) { echo ...; }
  19. This works on the first level of dropdowns but not with the second levels. In fact, even a click does not open level two of dropdowns. Any ideas what can be done. Thanks.
  20. Thanks for your prompt response. Nothing urgent. Will try and figure it out.
  21. Hi bernhard, Can you provide a sample code for multiple forms on one page with independent error reporting and success messaging? Thanks
  22. The site is structured this way: mag-issue1 - article1 - article2 - article3 ... mag-issue2 - article1 - article2 - article3 ... mag-issue3 - article1 - article2 - article3 ... ... The idea is to select the children of the latest mag-issue as the selectable pages for the page reference field.
  23. I want the list to consist of articles (children) in the latest issue of a magazine (parent). But it matches 0 pages!
×
×
  • Create New...