Jump to content

DaveP

Members
  • Posts

    868
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by DaveP

  1. willyc posted some good htaccess speedup stuff here http://processwire.com/talk/topic/3812-htaccess/?p=37295
  2. Aaahh, the joys of Paypal's IPN...
  3. Is the script not more likely to be running as the Apache or php user? (Will probably depend on Safe Mode/suEXEC/php running as cgi, etc etc.)
  4. You could do a lot worse than having a good read here - http://moz.com/blog/category/on-page-site-optimization, then, if there's anything you need help with implementing in PW, come back here and ask.
  5. Martin, welcome to PW! If I understand correctly, you want the horizontal menu to show children of the home page (plus maybe the home page itself), and the vertical menu to show children of the current page? I would be inclined just to use some simple php - For the horizontal menu something like this, styled in CSS as a horizontal menu... <ul> <?php $home = $pages->get('/'); echo "<li><a href='$home->url'>$home->title</a>"; foreach($home->children() as $child){ echo "<li><a href='$child->url'>$child->title</a></li>"; } ?> </ul> And then for the vertical menu, something very similar... <ul> <?php foreach($page->children() as $child){ echo "<li><a href='$child->url'>$child->title</a></li>"; } ?> </ul> NB All written in browser, so untested, but should work
  6. Welcome to the forums, rachel! Your problem sounds as if it is more related to the way your hosting is set up, rather than PW. Normally, when installing PW the default values 'just work'. Tell us a bit more about who you are hosting with, or are you installing locally? What exact error messages are you getting?
  7. Some of the text in the first sentence seems to be missing some spaces when viewing the English homepage on mobile (Chrome on Nexus 5). Other than that slight oddity, works well on mobile and very quick.
  8. Is like 'Though I did once win the Indy 500 in a car powered by a twisted rubber band'.
  9. Beautiful site, and beautiful objects - I love art deco.
  10. Re the Arimo bold problem - is it not that the browser is creating a faux bold from the regular weight? If I am using Arimo, I use Google's CSS code to link to fonts.googleapis.com and specify both regular and bold weights, so as to get a 'proper' bold. (Which renders perfectly at http://www.google.com/fonts#UsePlace:use/Collection:Arimo for example.)
  11. Looks ideal for a site migration tutorial. (Here's one I prepared earlier - http://web.archive.org/web/20000823084832/http://www.wiganaa.f9.co.uk/ - August, 2000. Man, that feels like a long time ago!)
  12. Looking forward to seeing that!
  13. @fokke & @totoff I suspect rounding issues are the cause - the problem only appears at certain widths, so far as I can tell. (Doesn't detract from an excellent site, even so. )
  14. DaveP

    Joomla vs. PW

    Having used Joomla myself since before it was Joomla (Mambo, anyone?), MadeMyDay sums it up perfectly -
  15. You can, to a degree, achieve that functionality with Nik's Selector Test Module.
  16. Welcome to PW metroroland! I have corrected the 'Function albumShow()' error, and will get around to checking that the js/scripts & css/styles changes don't break anything else in the tutorials, as this tut is based on another, and I don't want to introduce any additional inconsistencies. (Unless anyone else has time before me?) It would perhaps be interesting to have some feedback about how useful you find these tutorials, metroroland - you have obviously followed this one closely, to find these errors. What level of expertise would you class yourself, and have these tuts helped?
  17. <?php echo $page->modified; ?> http://cheatsheet.processwire.com/ is your friend.
  18. Great font choice in Arimo.
  19. Lovely responsive layout, and also a great example of yet another way to structure content in PW.
  20. Arimo is a very cool font. I'm using it on a site I've been developing for months, and recognised it immediately.
  21. Further to Manfred62's comments, depending on the platform you run locally, you would use- XAMP = OS X, Apache, mySQL, PHP WAMP = Windows, Apache, etc or on most (all?) Linux distros a web server (Apache, mySQL & PHP) is installed by default, but may need to be configured to run at startup.
  22. Sorry, I ought to have made my suggestion clearer - what I meant was to clear out /htdocs/ and then copy all of the PW install files into there again, so you know that only PW is there and nothing else.
  23. Welcome to PW! It looks as if there are already files in your /htdocs/ folder. PW will happily install in a subfolder (like /htdocs/pw/ for example), or you could delete everything from /htdocs/ if you know only PW should be in there.
  24. If I understand your code correctly, $input->post->type will be an array (http://php.net/manual/en/language.types.array.php), consisting of 0 or more selected Sale Type id's, so you'll need to foreach through them at each stage of processing the form input.
  25. That's odd - you should surely get a PW 404 in normal circumstances for any page that PW thinks doesn't exist, not a redirect. Is it a 301 or a 302? (Not that it makes all that much difference.) Have you got FTP access? Anything in the error log (/site/assets/logs/errors.txt)? I know you don't expect the client to have changed the .htaccess, but it might be worth renaming it and trying a plain vanilla .htaccess from the PW download, just in case they or the hoster have changed something.
×
×
  • Create New...