Jump to content

formmailer

Members
  • Posts

    319
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by formmailer

  1. I finally found it (and should have found it right away ). This domain (created by Plesk) had PHP safe_mode activated and safe_mode was deactivated on all the other domains running PW. When I disabled safe_mode everything worked fine. Sorry for bothering you guys. /Jasper
  2. @Diogo: The images are not in the /assets/files/<page-id> folder on the server. @Apeisa: I am not sure if this is what you meant, but using Firebug with the script-console activated I see the following response: {"error":false,"message":"Page not saved (no changes)"} /Jasper
  3. But it works for another site on the same server, can it still be the GD library? I just removed the domain and all it's configuration, and re-created it, but still no luck.
  4. Hi, I have a strange problem: I moved a site from my testserver (Xammp on Windows) to my live server (Linux with Apache) and made sure all file permissions are correct. Everything works fine except uploading images. What happens is that the progress bar goes up to 100% and then it disappears. The image doesn't get uploaded. I double checked all permissions with another site running on the same server, but couldn't find any differences. The other site has no problems with uploading. Any ideas? /Jasper
  5. Renobird, I don't know what happened either, but yes, this module relies on the DatetimeFieldtype. /Jasper
  6. I know, I am going to test with the latest PW version and see how that's working.
  7. You know that there are GPO template/admin files for Chrome, right? http://www.chromium.org/administrators/policy-templates /Jasper
  8. Thanks, apeisa. I just pushed the bugfix to Github. @yellowled and Ralf: I'll take a closer look att the datefield issue soon. /Jasper
  9. Hi! I haven't seen this behaviour before. I just tested it and could not reproduce it. For me the dates shows like on the attached screenshot. Are you using WAMP/XAMPP locally or are you running a local linux server? /Jasper
  10. I haven't had time to test with repeatable elements yet, so I am not sure how this works. Maybe someone else has a suggestion and if a change to the module is required, I'll be more than happy to update the module. /Jasper
  11. Hi Ryan and all others! This is a great addition and it will make it so much easier for PW users to find all these cool modules and themes. I haven't been very active recently (have been without internet for quite some time because we moved to a new house and the internet/phone company had some issues when connecting us). But soon I'll become more active again and will update a few of my modules/language packs. /Jasper
  12. Hi! I realized that I am really behind regarding the Dutch translation. There were many new files to be translated, so I started working on them again. I'll update the Github repository as soon as I've updated all translation files. /Jasper
  13. Check out this topic: http://processwire.com/talk/topic/506-problem-with-date-format/ You are probably using the d-m-Y format in your date field. /Jasper
  14. Hi Biotech, It looks like you forgot the /index.php (and the .htaccess if it has changed). Check out this topic for all the steps: http://processwire.com/talk/topic/52-how-do-i-upgrade-processwire-to-the-latest-version/page__hl__%2Bupgrade+%2Bprocesswire /Jasper
  15. Found time for a longer reply now. That makes perfect sense. I guessed it would be like this. Another reason why I started using URL segments: I use an URL segment for "region". But I use an ordinary GET for sort, partially because of the risk for duplicate content in Google (using a get var you can go in to Googles Webmaster tools to tell Google that it's just a sorting var) No problem. It works great now! /Jasper
  16. FYI: There is already a LDAP module. Haven't tested it though.... http://processwire.com/talk/topic/971-ldap-auth-for-session-login/page__hl__ldap /Jasper
  17. Hi, Did you check the permissions on the assets folder? I am not so familiar with Apache on Windows, but assume that the service account running Apache needs write permission to the assets folder, as well as to it's subfolders. /Jasper
  18. Thanks for the replies and the examples. While thinking over everything, I figured that using URL segments might be a quite nice solution here, especially because of the caching options. I haven't used these before, but I'll give it a try. @Ryan, is it recommended to sanitize even URL segments? Edit: another question, are pages with a get variable, like ?sort=title being cached or is caching not working when using get variables? Edit 2: I am not sure I understand these lines: if($value = (int) $input->get->region) $input->whitelist('region', $value); if($value = $sanitizer->name($input->get->type) && in_array($value, $allowedTypes)) $input->whitelist('type', $value); if($value = $sanitizer->name($input->get->sort) && in_array($value, $allowedSorts)) $input->whitelist('sort', $value); They don't seem to work, the outcome is a boolean false. It seems to work when I use: if($value = $sanitizer->name($input->get->sort) && in_array($input->get->sort, $allowedSorts)) $input->whitelist('sort', $value); But I am not sure if this is the way it should be.... /Jasper
  19. Hi, I'll try to explain my problem below: I have an URL like: http://mysite.com/maps/ This URL can have mulitiple get variables like: http://mysite.com/maps/?region=1243 and http://mysite.com/maps/?sort=title Problem is that these can be combined, but this will of course not work when I create a hyperlinks like this: <a href="?region=1243">Region</a> or <a href="?sort=title">Sort by title</a>. How can I work around this, so that, when I am on http://mysite.com/maps/?region=1243, I still can click on the sort link in order to get: http://mysite.com/maps/?region=1243&sort=title I know the above is written in a confusing way, but I hope you understand. //Jasper
  20. Thanks for the tip! The reason I started using them is that I have a main CSS, a main JS and a main template, but there are a few templates (they still use the main template) that need a little bit more CSS and javascript and I want to avoid loading unnessecary code on the main part of the site. Using $config->styles and $config->scripts is an easy way to add the scripts to the head section of the template. /Jasper
  21. Thanks Soma! I often forget what returns a single object or an array of objects. I really need to sit down some time and learn this basic stuff for real. It will save me quite some time searching and asking while building new things. Yes, I will probably use the page ID instead of the title, that seems to be a bit safer. /Jasper
  22. Now it becomes more complicated: I need to include page references to the selector, for example: Zoo, Theme park and Museum. The first line becomes: $pr = $pages->get("title=Zoo|Theme park|Museum"); But the second line only finds the pages in the first category (or last, I don't remember). I assume that I need to cycle through $pr and include the results into the existing Array ($poi). Is that correct? /Jasper
×
×
  • Create New...