• Content count

  • Joined

  • Last visited

  • Days Won


alan last won the day on April 19 2012

alan had the most liked content!

Community Reputation

359 Excellent

About alan

  • Rank
    Hero Member

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Ottawa, Canada

Recent Profile Visitors

12,039 profile views
  1. Thanks @kongondo for that The project has gone to sleep for a bit but I am hoping it will wake up soon and as soon as it does I will use your suggestions (thank you) and/or provide more info here. Cheers! -Alan
  2. I just ran into Web Experience Toolkit (WET). About to go and look at WET more, just wondered if anyone had tried WET with ProcessWire?
  3. I plan to I am not there yet, but I have PW working and am just hunting down a bug, if that proves trivial and other tests work OK then I will certainly write it up. Thanks @LostKobrakai for your comments, you are clearly way ahead of me in this department—it's very helpful to hear from someone with your knowledge. Re: I did look at both of these a little, but it seemed they were principally aimed at people who routinely take bare Linux and get LAMP running, I may be wrong. But based on that assumption and guessing the docs on Amazon were perhaps going to encompass me (someone who'd heard of `yum` but hardly ever used it) I returned to Amazon. I tried Amazon Lightsail but fell off the process when it looked like I had to use the bitnami LAMP bundle (see below), or use Amazon tuts written for EC2, not Lightsail, and using those with Lightsail did not work and I was on too thin knowledge-ice to keep going. So I simply decided to try EC2 + the Amazon tuts written for getting EC2 LAMP, and so far, so good. Re: Thanks for noting this, I did understand that I was almost 'misusing' EC2 by looking to simply make a tiny VPS in the cloud and almost certainly not using any of the amazing features AWS offers, but I am not coming to AWS for the reasons most would and it's helpful to note that as I don't want to mislead . I'm coming to AWS from a weird angle, where I want to make a solid, modest cloud VPS equivalent, where I can host 10 sites or so, needing no elastic redundancy or power-up capabilities BUT wanting to take advantage of paying for use (low) rather than a flat monthly fee that I pay a traditional hoster, where my low consumption of resources is not reflected in my fixed monthly bill. I should have stated that earlier Aside I was put off when looking at Amazon + bitnami by reviews of the bitnami LAMP bundle. Conversely I have so far been left confident about the Amazon Linux distro and the tutorial for getting LAMP up. It's not been quite as simple as following a tutorial, but I've not had to search too far to keep proceeding and I feel less intimidated logging into AWS than I used to, so that's one take away at least One of the review that made me stop looking at Amazon + bitnami: I was also concerned that I may end up paying bitnami for LAMP (per month?) plus Amazon and yet one of my motivations for this exercise was trying to lower my VPS costs (which due to currency changes is about 50% up on what I used to pay).
  4. I've assumed that I can use Amazon in place of a traditional VPS, such as Servint (who I like), for a significant saving. Maybe I'm wrong in that assumption..? To test that assumption and learn I've been working with Amazon EC2 to see if I can teach myself how to host multiple sites. So far so good.
  5. @LostKobrakai I was intrigued by your comment: and have been tinkering with PW + git + heroku without having fully RTFM on heroku... I was weirded-out by my PW install almost working but eventually realized it was due to Heroku’s ephemeral filesystem": Actually, to give myself a bit of credit, I think heroku ought really to have written the above more 'honestly'; something like: > AWS S3, or similar storage services, are important when architecting applications that need any files to persist or for scale and are a perfect complement to Heroku’s ephemeral filesystem. Anyway, it looks, ATM, like I need to follow this Amazon-shaped rabbit hole... Off to do that plus asked their support people if it looks like I am doing the right thing there. I wonder, if this proves a little complex, might it be as easy/hard to simply emulate a minimal set of the steps PW's own sites have followed and forget heroku and just go Amazon for all aspects of trying to replace a traditional hosting env' (which is what I am researching)?
  6. This is probably a basic question and I've failed to spot the answer in the docs, in which case, many apologies... Using an example such as example-recursive-function3.php is there an easy/built-in way of outputting only a portion of a deep menu, from part-way into that menu? I need a menu like: - food -- cheese -- fruit --- apples --- grapes - energy -- solar -- wind so at times I can output all of its items. But at other times I need to render only from say `fruit` down, e.g.: - fruit -- apples -- grapes Thanks in advance for any pointers
  7. Ah, the todo list... I can see a Module now.., Tailer—it tails your log files. You tailor the rules and leave it to Tailer to alert you tor any phrase or limit that interests you
  8. Hey @arjen, sorry for the slow response. At the time I was only thinking of the server logs, but it makes total sense (thanks for the suggestion) to log/parse PW logs also, for things I want to know about. Sadly I have not moved forward with this at all :/ This seems an area (logs reporting themselves to you when a condition/keyword occurs) ripe for automation and likely to be highly beneficial, I am surprised I've not yet bumped into a great pan-log solution. Something I'd like to return to researching when time allows
  9. Thanks @adrian, I looked in the Modules list but totally missed your module (what am I like...). Bookmarked ✔
  10. Thanks @Soma, I just created an array in Sublime Text in 3mins and then used a for loop and a modified version your code to create 62 pages in a click, continually amazed by the simple power of PW. PS: This was my code, it's obvious/simple, but just in case there's someone looking for a simple example (caution, only call the function once as it just blasts new pages into creation function make_pages() { $out =''; $mypages = array("1st Degree", "2nd Degree", "3rd Degree", "Abdomen", "Allergic Reaction", "Anger And Indignation", "Animal Bites", "Back", "Bad Fish", "Bad Meat", "Beesting", "Blow To Eardrum", "Blow To Eyes", "Blow To Orbit", "Blow To Outer Ear", "Blow/whiplash", "Body Injury", "Breathway Constriction", "Bruises", "Burns", "Cold", "Crushed Fingers", "Dizziness and Vertigo", "Dog Bites", "Ear", "Emotional Upset", "Extremeities", "Eye", "Fainting/collapse", "Fall On Mouth/teeth", "Fear And Fright", "Food Poisoning", "Fractures", "Frostbite", "General", "Grief And Betrayl", "Head", "Heat", "Heatstroke", "Insect Bites", "Joint Sprain", "Mouth", "Muscular Strains", "Neck", "Nerve Injury", "Nose", "Nosebleed", "Overeating", "Overuse Of Alcohol, Drugs, Tabaco, Food", "Physical Injury", "Poison Ivy", "Puncture Wounds", "Rich Food", "Shock And Loss Of Love", "Skin Rash, Swells", "Snake Bites", "Splinters", "Stomach", "Sunburn/burns", "Teeth", "Throat", "Wounds, Cuts"); $out = count($mypages); for ($counter = 0; $counter < count($mypages); $counter++) { $np = new Page(); // create new page object $np->template = "app_nav"; $np->parent = "/app_nav/"; // or id or page object $np->title = $mypages[$counter]; $np->save(); } return $out; }
  11. Ditto szabesz; I would love to get into that lower-level approach and one day maybe I will get there, until then I have CodeKit to keep me warm
  12. In case anyone else encounters this, I am developing a site and using Under some circumstances CodeKit was re-processing files once per 2 seconds when it should do it only when it sees an edit made by me to a .scsss or .js file etc. The answer was to get CodeKit to ignore /site/assets/ As usual the dev for CodeKit was super-fast to make suggestions and one of those lead me to the fix. Thanks Bryan @ CodeKit
  13. I choose to have the 'From' as (the domain the site is on) and I ensure that domain is valid (good SPF, DKIM etc) then one validation and you're done.
  14. In case using Google for SMTP is the problem (perhaps Google is or may one day, restrict use?), a new account with Postmark gives you 25,000 'credits', but more importantly they are great for transactional emails.
  15. +1 to finding if there is a way to do this?