Jump to content

Marty Walker

Members
  • Posts

    629
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Marty Walker

  1. I've upgraded my 2.2.9 site to 2.2.15 and I can't get cropping to work at all - not with any image type. There's been no changes to my server that I know of.
  2. I look forward to seeing how it all comes together.
  3. Hi everyone, Event Mentor is now running on ProcessWire and ProCache (it previously on Hero Framework). It's also linked up with DigitalDeliveryApp to handle payments and digital downloads. Site design by monodesign. Cheers Marty
  4. How do you get visitors to go the the mobile site in the first place? Are you using some kind of detection?
  5. Hi Ryan, This all in desktop browsers. I thought of the 'family' settings and removed that first up. Moving that page out of the Trash still didn't work. My fix was to change the page template (and the one used in the Date Archiver settings) and then move it out, change the template back to the original - and in doing that the Date Archiver finds it and shuffles it away.
  6. There's no error at all and the family settings are that it can go anywhere. It just doesn't budge from the Trash. It think it's the ProcessDateArchive module getting in the way. When I change the page template I can move it out of the trash. Only then can I move it elsewhere. I've posted in the PDA thread too. Hopefully there's a fix - if indeed it is caused by it.
  7. Sorry for the cross-post but I have a problem whereby I can't move a page out of the Trash into a section of the page tree using PDA. My only way around it is to change the page template, move it then, change the template back. Wondering if this behavior is expected or not.
  8. Hi folks, I'm tying to move a page out of the trash and I'm not having much luck. I can't drag n drop it out of there nor can I change the parent page. It just sticks to the Trash no matter what. I'm using ProcessDateArchiver on that portion of the page tree: perhaps that it causing an issue. Edit: I've tried moving the page to any other part of the page tree and still no go. Stumped. edit2: Had to change the page template first and then move it. Cheers Marty
  9. Couldn't you just do this? <body class="<?=$page->rootParent->name;">
  10. Fascinating reading and viewing Luis. A question I have after watching your 'Simple eCommerce' video. How are you handling the file downloads after the payment has been made? I only ask because I've just built a site with PW and DigitalDeliveryApp. If I could have done it all in PW I'd have been happier. -Marty
  11. There was talk of a module for this a while back. It's a feature most other CMSs have and would definitely benefit PW for those moving from other systems. ANd avoiding duplicate uploading and files is a plus. edit: http://processwire.com/talk/topic/630-module-manage-files/
  12. There should be a 'search.php' template in the default installation. The form code is in header.inc
  13. Bought. Got a reasonably big site (for me at least) I want to run this on. edit: This site has it running on most of the templates. It was reasonably snappy before. Now it's lightening quick. Cheers Marty
  14. This has just saved my bacon. Thanks again for this Wanze! Regards Marty
  15. +10 to anything that aids in batch moving/deleting/creating pages.
  16. Hi FuturShoc, There was this from Nico you might have seen: http://processwire.com/talk/topic/899-bundleblog/?hl=blog I'm in the process of adding blog sections to some existing PW sites and creating a couple of new dedicated blogs from scratch. What I'm finding is that each one will be different in terms of the functionality required. It's be nice to have something 'drop in' but I think it'd be difficult to cater for every need. Cheers Marty
  17. If I have a reasonably long list of news items do I have to go and save each one individually for this module to sort them into each year?
  18. Thanks Steve. One of the sites I wanted to use this on is on a shared host but I might have a tinker elsewhere. Cheers Marty
  19. Nice one Ryan! There's a couple of sites I run where this is going to get used. Noob question: How does one load test a site?
  20. Thanks @DaveP. I watched this yesterday. Very enlightening!
  21. Hi John, This is a basic contact form that I've used in the past. I might help. Cheers Marty <?php /** * basic-form.php - Example of a simple contact form in ProcessWire * */ // set this to the email address you want to send to (or pull from a PW field) $emailTo = 'email@site.com'; // or if not set, we'll just email the default superuser if(empty($emailTo)) $emailTo = $users->get($config->superUserPageID)->email; // set and sanitize our form field values $form = array( 'fullname' => $sanitizer->text($input->post->fullname), 'email' => $sanitizer->email($input->post->email), 'comments' => $sanitizer->textarea($input->post->comments), ); // initialize runtime vars $sent = false; $error = ''; // check if the form was submitted if($input->post->submit) { // determine if any fields were ommitted or didn't validate foreach($form as $key => $value) { if(empty($value)) $error = "<p class='form-error'>Please completed all fields.</p>"; } // if no errors, email the form results if(!$error) { $subject = "Message from your website contact form"; $message = ''; foreach($form as $key => $value) $message .= "$key: $value\n"; mail($emailTo, $subject, $message, "From: $form[email]"); $sent = true; } } if($sent) { echo "<p>Thank you, your message has been sent.</p>"; // or pull from a PW field } else { // encode values for placement in markup foreach($form as $key => $value) { $form[$key] = htmlentities($value, ENT_QUOTES, "UTF-8"); } // output the form echo <<< _OUT $error <form action="./" method="post"> <label for="fullname">Your name*</label> <input type="text" id="fullname" name="fullname" size="60" value="$form[fullname]" /> <label for="email">Your email*</label> <input type="email" name="email" id="email" size="60" value="$form[email]" /> <label for="comments">Message*</label> <textarea id="comments" name="comments" rows="5" cols="43">$form[comments]</textarea> <input type="submit" name="submit" value="Submit" /> <p class="form-required">* required fields</p> </form> _OUT; } ?>
×
×
  • Create New...