Jump to content

Joss

PW-Moderators
  • Posts

    2,870
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by Joss

  1. Oh, php and processwire are rather intimately connected, I would say. I am certainly not an expert, but the way I work is that where I am putting together my PW output within a function, then I will work much as you describe $out = ""; $out .="<h1 class='myclass'>{$page->title}</h1>"; echo $out; Those functions frequently sit in an included file somewhere. When I write into a template, however, then I will often just break into php mid markup as you have done. My useless rule of thumb tends to be "however I do it, make sure it is really, really obvious so that when I come back to it next week, I can work out what I was up to!" But then, only I have to read my code. If I was working with someone else, I should probably be more regimented.
  2. Joss

    Client of the Day

    I think I just put the tape box in front of him. He would need the info from it for the programme log. I resisted the temptation to look.
  3. Yes, I would go for page per image with a specific template too. Partly because this gives the freedom of adding all kinds of information, but also in the template you can extract the image meta that the photographer will have as part of his images by default and use it for things like page metadata or simply for display purposes. Somewhere, in the depths of time I had a baby PHP script that pulled all that data from an image - I would think there are loads kicking around.
  4. General rule of thumb in marketing is "never disappoint." If you cannot man support or sales 24/7, don't add something that looks like you can and then "dissapoint" by asking people to leave a message. That is very much a techy sort of solution, rather than addressing the realities of human communications. In this situation you need to offer a form of communication that fits with the company size. So, perhaps, a nice pop up contact form from the bottom of the browser that says "Please leave a detailed message and we will respond to you fully during our business hours. If you need to talk to us in detail, leave a phone number and we will be happy to call you. Let us know a time that would suit you best." The most important thing when communicating is not so much that you will communicate at any time, but rather that you will be very HAPPY to communicate and answer all questions IN DETAIL. That sounds like you care about your custom and treats it seriously. You score far better points with that than with trying to sound immediate and awake at all hours. Think of a good old fashioned shop. Would you rather a shop that was open 24 hours fronted with meaningless personnel who wait for you to choose then just take your money, or would you rather wait till a shop opened but was manned by someone who smiled and then tried to fund out exactly what you need?
  5. Your phone number Or even something like Skype, or a call back button, etc Actually, I am not being facetious, one of the biggest mistakes company's make is in assuming that communications that require people to type can adequately replace more natural communications like voice or (better still) meeting in the flesh. This shows an alarming lack of understanding about human beings. There is a really good reason why we, as an animal, have not just a highly developed speech centre, but an incredibly developed and perceptive process of analysing voice. Encouraging customers to actually talk to you properly can increase sales potential and improve customer relations enormously - it is why more and more fraudulent scams are being conducted using call centres. It is much easier to be convincing using voice that using text.
  6. Joss

    Client of the Day

    Thoroughly enjoying that site - it does remind me of some silly requests I have had in sound studios over the years. * "Can we have the sound of headlights sweeping across a window?" * "I need a background atmosphere of two people sitting on a sofa." To which I replied, "doing what?" * "Can we lower the first violins slightly?" The radio producer/client asked me after I had played back a recently discovered, unbelievably rare mono recording of Dmitri Shostakovich conducting one of his OWN works in Moscow when he was young. The recording had been brought to me by a friend who was acting as an archivist for a library of recordings that had been kept hidden away by the Soviets. He thought it would suit this programme. "I cant lower the strings in an already mixed recording," I pointed out. "And anyway, even if I could, I don't think it would be right to do so." "Trust me," said the vain producer. "I know a lot more about Shostakovich than who ever that idiot is who is conducting!"
  7. Joss

    Client of the Day

    Okay, got to go for a name drop here. I was working on the final soundtrack for the video release of Cameron MacKintosh's live show, "Hey, Mr Producer" (Brilliant show, by the way) It had been a difficult job - David, who had been mixing the music tracks, had had to get a few of the stars back in to redub their bits .... in tune! We were getting close to deadline and because of the remixes, I had only just received the last tracks and was resyncing them to the picture and rebuilding the audience sound track. Cameron's PA phoned. "Cameron says for you to do an all nighter to get it finished." I replied, "I can't do that as I have another session in the morning - I need to have had some sleep." PA: "You realise who Cameron is and how rich he is?" "I still can't - doing sound on no sleep is unfair to the client." "So, who is the other client that is so much more important than Cameron MacKintosh? Can we pay them off?" "We are recording an interview with the chairman of Microsoft." There was a long silence on the other end of the phone. So I added: "Would you like their phone number or shall we reconvene tomorrow afternoon?" Even being rich and famous is relative.
  8. Joss

    Client of the Day

    One of the studios I used to work in had a very large and unusually bright control room with a high ceiling and big, victorian windows. In the middle of the control room was a huge recording desk with a quite stupid amount of channels, buttons, potentiometers and flashing lights. Following a couple of years of inane comments I put a big sign on the wall which read: "Yes, I do know what every knob does and no, it is nothing like Concorde"
  9. Joss

    Client of the Day

    My client of the day is a chap for whom I did a couple of banners to run when Double Click was very first launched - 1996? Something like that. It seems he never got round to using them until now but cannot find the CD. He would apreciate it is I could run a new copy for him - he is not prepared to pay. NO I BLOODY WELL CANT! ------------------------------------- Please feel free to post YOUR client of the day.....
  10. Joss

    Heartbleed

    There is an argument to change them twice - once now because you may already have been hacked and then once you are sure services have changed. But the main thing being pushed in the press is to not duplicate the use of passwords, so this might be beneficial just as a reminder. The other problem with waiting is that this is fine if you are in the business. If you are just a normal internet user, how will you know if that forum you use has been updated or not? The chances are you wont have the foggiest so you could be waiting for ever. Complicated as hell.
  11. http://www.askapache.com/htaccess/rewrite-uppercase-lowercase.html Have fun!
  12. Yes, MS Notepad changed many years ago now. However, although I use Sublime mostly now, I still find myself falling back to TextPad and Notepad++ regularly. Very fond of TextPad, to be honest, though it has never been very popular, probably because it is not strictly free, though you can evaluate it forever. I always liked its robust search within files
  13. Having been a creative for around 35 years, I have always worked on the two stage process. 1. Think of an idea 2. Get on with it. If I do get stuck it is on number one as delaying on number two would get me fired. One trick for not getting stuck on number one - when your client briefs you down the phone tell them immediately what your first thoughts are to get a reaction. 9/10 they will like your gut reaction and the one time they don't you have at least eliminated one route.
  14. Joss

    English is Crazy

    Good point, Soma And I will not even attempt at dipping a toe into that whosstupidideawasittobaseanalreadycomplicatedlanguageonhungarian langluage Finnish.
  15. Joss

    English is Crazy

    The poem was originally by Richard Krogh The Oxford English Dictionary was started at Mill Hill School in a shed in the grounds (just by where I was brought up) And the reasons that it seems so confused is actually quite intentional. When the language was first rationalised, like many languages there were lots of very different spellings of the same word, depending on the origin of the writer (not the word) or the local dialect distortion or just a thousand spelling errors. The compilers had a choice - set a spelling style in stone and thus alienate huge numbers of writers, or look for evidence of the most common spelling in each case. They chose the latter, so bough and cow may sound the same despite different spellings, but they reflect what was most used in each case and not bloody mindedness of the dictionary editor or even the strict lineage of the word. Just to confuse things a little more, English has the largest vocabulary of any language in the world - by miles! It is also one of the most concise (by syllable count and grammar and therefore sentence length), though the Scandinavians on here will no doubt point out that their languages can be shorter. However, this is probably a direct result of them having a thousand words for "can we hurry this up and get inside; I am bloody freezing!" Such is the effect of climate on language...... (PS: Surprisingly, the British do not have a thousand words for rain, but we do have a thousand ways of complaining about it)
  16. Thanks, though to be fair, writing is part of my job, so it is probably cheating!
  17. You need to have been brought up in th sixties with a festival loving older brother - any colour becomes visible
  18. Wow, out of the blue I got an invite for Atom! Unfortunately, I do not run Mac.....
  19. There you go, Julien http://www.foodloversdiary.com/good-stuff/my-kind-of-food-the-bow-tie-duck-review/
  20. Very nice site and right up my street. Might even give you a review.... http://www.foodloversdiary.com (Though you are a little bit far away for most of my UK readers!) If ever your need a food writer.....
  21. Joss

    MariaDB

    Assuming you get much of a choice - one of my hosts just changed over and then sent a newsletter saying, "and by the way....." Worked fine though
  22. Yep, and a special thanks from all of us YOU who were born before 1970 ..... *cough*
  23. oh, wire ARRAY!!! I thought you meant kittens..... (PS: I bet you pronounce my name Yos ... I get a lot of that from the Netherlands.)
  24. I find hanging them from the ceiling and seeing which one gets closest to the floor works...
  25. And since any new a page is a child page of the home page (/mynewpage/), it will be looking in the wrong place for your css etc EDIT: Oh, Martijn explained that - I should read the whole post!
×
×
  • Create New...