Jump to content

horst

PW-Moderators
  • Posts

    4,088
  • Joined

  • Last visited

  • Days Won

    88

Everything posted by horst

  1. What PW version do you run? Is your site hosted online or local? Have you installed the site newly or have you updated an existing site to a newer PW version? ------------ Just a thought: go to admin -> modules -> new and press "check for new modules" one or two times and then logout and login again. Go to edit a page, is it visible now?
  2. what is set for TO (recipient) at runtime? echo "<pre>\n emailTo: "; var_dump($emailTo); die("\n\nDebugExit in file " . basename(__FILE__) . " at line: " . __LINE__);
  3. use this for testing: $ret = mail($emailTo, "Contact Form", $msg); // no additional header for FROM, your shared host will create a generic one
  4. Yes, let out the additional "From: $form" and try with the generic one from the shared host!
  5. mail() returns true (== successful), did you get the mail?
  6. If you want to use one of the SMTP modules, you have to install only one and setup the config screen. If I remember right, both have a testconnection button / link in the config screen what lets you test your settings. After this is successfull you can change the mail() function in your code to something like: $ret = wireMail($emailTo, $form[email], "Contact Form", $msg);
  7. @Joss: at first I would debug what's going on with the php mail function. If it works on your local host and not on the live, there must be a difference. I would hack into the code and store the return from the mail() function: $ret = mail($emailTo, "Contact Form", $msg, "From: $form[email]"); echo "<pre>\n return from mail() is: "; var_dump($ret); die("\n\nDebugExit in file " . __FILE__ . " at line: " . __LINE__);
  8. @blad: you simply can set maxwidth and maxheight for the imagefield(s). Look at input Tab in the admin. I'm on mobile. There is no module needed, Setting both fields to 800 for example resizes the original Image with the largest side to 800px. Edit: wow, it seems it tooks me 4 minutes to post that on a much to small smartphone. @blad: nice you have found it.
  9. Yes, this is right. You need to enable url segments for the instructors template and check for conditions at first. If no url segment is set, display a instructors list with (url-segment)-links to their children pages. If a segment is present, validate it! and if valid, display the childpage of that instructor.
  10. IMHO: URL segements (to have something like mywebsite/instructors/instructor1) is the best option for this.
  11. you need learn how to fish? OR you should learn fishing?
  12. @Ivan: You have seen my avatar with a mask? (before this thread comes up?) I have made one because I have seen @netcarvers, and, believe me, I swear I have seen another one, but can't remember who it was. But also the first zorro avatar I has made wasn't looking good, so I have changed it back after a few minutes. So the question goes to @netcarver: "Are you the initiator of this?"
  13. Ajax-call? simplified: <script type='text/javascript'> $(document).ready(function() { $.get( "/my/ajax/url/", { id: "1234" } ); }); </script>
  14. The glorious Seven Eight? (or have I forgotten one?) Peter?
  15. Hhm, I cannot really follow, and sure I have misunderstood you. But when I read "to put this into a variable you need to use output buffer", my brain rings alert, and if I want or not: I cannot follow further. Here in the forums in the last past years were so many different aproaches presented and discussed, mostly from people who know PW really good because they have used it for many Projects. I'm not aware of any that needs output buffering. (sounds ugly to me) It seems we think diametrically opposite. I'm afraid I can be of any help to you.
  16. I found it in the post today.
  17. +1! <kidding>But there is always a place for people who love it a little bit more masochistic I believe: search </kidding>
  18. I use it through an extension that let me configure on which pages it should save values and on which not, it is also configurable per fields on a page. It's not stupid. I don't store passwords (with it).
  19. Ah, ok. I have this for a short time period supported through my browser. It uses a cache for values filled into formfields. But it is gone after some days. So, +1 for your suggestion!
  20. As autocomplete in your IDE?
  21. @JasonS: this module lets you connect and send messages through an SMTP server. Do you have filled in the needed credentials in the config screen of this module? Does the connection test succeed or fail?
  22. That's exactly the reason why I do not use any of those packages (Bitnami, XAMPP, LAMP, WAMP, etc.). The only reason to use one of those is to save time, what get dropped if you get in a situation hunting for configuration settings. Bah! I have installed a unique Apache and enabled vhosts and have installed a unique MySQL. To grasp the basics of Apache, I have bought a book 12 years ago (Apache 1.3). All what I have learned at that time helps me until today. The basics are the same, some parts have slightly changed with Apache 2.x, but I'm able to change configurations where / when needed, because I know where it is noted Apache httpd.conf -> httpd-vhosts.conf & my systems hosts file. Thats manageable! @bytesource: good if you can change your development setup to be more comfortable!
  23. Oh!
  24. OHO! check to comment out the "Rewrite Base /processwire/" in the extra Bitnami conf and also the new one you has added! Now you should be able to call PW with the browser url http://localhost/ Does that work?
  25. or maybe 71 likes?
×
×
  • Create New...