Jump to content


  • Posts

  • Joined

  • Last visited

Profile Information

  • Gender
  • Location
  • Interests
    Music, Outdoor Activities, Interactive Arts

Recent Profile Visitors

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

Kholja's Achievements

Jr. Member

Jr. Member (3/6)



  1. I found a problem which might be a dealbreaker for a client. Let's say a client has two products in his cart. Right before clicking 'place order' (after typing in client date) he decides to remove one of the products. So he will navigate back to edit cart page (cart-edit.php template) and remove the product from the cart. The product is now removed from the cart, but padloper does not remove the product from the order (which is already created). The customer will find the product in the order-overview and has no chance to remove it from there. How could this be handled? Shouldn't Padloper take care of keeping cart and order in sync until order placement is completely done?
  2. Thanks that was the reason. I lost this setting after some experimenting with shipping settings. But I got another related problem which brought me to that state. If I try to enter countries into the field Shipping Zone Countries it does not accept other entries than Germany. A view times it worked and I could enter i.e. Austria. But after saving padloper message said that the entry is not valid and deleted all entries. After some tries I now can only enter Germany. Any other entry does not work. Is there a place where I should set valid countries?
  3. Checkout shows me this error. After doing a bit of research, it turns out the reason is, that line 819 $field = $this->getInputfieldForCustomerForm($inputfield); returns null for the field shippingAdressCountry. This field is of type select which seems not handled correctly. In PadloperInputfieldHelpers.php getInputFieldSelect() returns without result, when $options['select_options'] is empty (which is true in my case). Somebody knows what to do here? Is there something wrong in my configuration?
  4. As of ProcessWire 3.0.166 this may be an option: https://processwire.com/api/ref/page/secure-files/
  5. I've done a small test. Let's say you have a template "onlymembers" with a files-field "members_pdf". In this case your pdf file is safe as soon as you set pagefileSecure to true AND restrict the access of the template "onlymembers" (i.e. remove all guest access rights). ProcessWire gave me a 404 page. You don't need the pagefileSecurePathPrefix line. It is set by default. Hope that helps.
  6. Just to be sure - maybe it's not a PW Issue. Did you check the E-Mail Headers?
  7. In case anyone stumbles upon this JavaScript error when clicking the Link-Button: ProcessWire.config.InputfieldCKEditor is undefined Workaround is to provide another field which uses the CKEditor (i.e. body field) in your template.
  8. This notice can happen if you use a page reference field in your template which has a wrong defined (i.e. deleted) parent page dependency. In my case I had a blog-post template which contained a page reference field to category pages. Additionally I had a parent page defined containing the categories. The error occured when I deleted this parent page.
  9. If you (or somenone) needs a more "secure" method maybe an easy review process could be realised like this: 1. Create two templates with similar fields (ie. article and article-draft). 2. article-draft is only visible to specific usergroup (ie editors) 3. after reviewing the editor could change the template from article-draft to article which is viewable by guests. This way you could also create a page showing a list of all article-draft pages, so the editor has an easy way to find all non-approved articles.
  10. If you just want to store some general configuration values without the need of a seperate admin page you simply could provide some configuration fields which you can access via module settings. It's a fast and easy way and it's covered in this post by Ryan: https://processwire.com/blog/posts/new-module-configuration-options/
  11. Snippet variation to achieve a optical better result. A little snippet addition to this older but maybe still useful post. If you use the orientation of an image to decide on your resize method you will often get an optical uneven impression, especially if aspect ratios of the images are very different (i.e. a row of logos). In this case it could be better to define a maximum width and a maximum height value which both should not exceed. Here's the variaton of @Soma's snippet to achieve that. $mW = 180; // max width $mH = 80; // max height $thumbUrl = ($mH / $image->height) > ($mW / $image->width) ? $image->size($mW,0)->url : $image->size(0,$mH)->url;
  12. I exported the site with ryans ProcessExportProfile Module and did a fresh install. This solved the problem. But would be nice to know what caused the issue. Thanks Adrian for your quick response and your support. Your posts were often helpful und a good resource for learning 🙂
  13. It's affecting all templates. I created a test template with only a few fields. It has the same bad performance.
  14. Definitely it affects the Frontend. I think a difference by factor about 20 (300ms -> 6s server response time) is probably not caused by the core. In terms of the backend I'm not sure if I'm starting to see ghosts... the impact there is not that big. Anyway - thanks for your precious input adrian. If i find out more I will post it here.
  15. Another interessting thing is that the frontend seems to slow down only when logged in as superuser. For guests the Site seems to work normal.
  • Create New...