ottogal

Members
  • Content count

    180
  • Joined

  • Last visited

Community Reputation

109 Excellent

About ottogal

  • Rank
    Sr. Member
  • Birthday 06/18/1949

Profile Information

  • Gender
    Male
  • Location
    Berlin/Germany

Recent Profile Visitors

2,302 profile views
  1. Have a look to the Cheatsheet to find ways of selecting determined parents of a page, from simpler ones to this smartest one: http://cheatsheet.processwire.com/page/built-in-methods-reference/page-parent-selector/
  2. Your second use of if($prod->images) echo " is unnecessary (since you get only to this point if the condition is true). You could replace this by if($image) echo" Edit: Like in the code you cited first...
  3. Obviously the error is thrown already with the line $image = $prod->images->first(); (not only when you try to echo the image). So you should do a check for $prod->images before you apply ->first()
  4. I have no answer to your question, but would like to mention that using flags as language indicators is not the best idea: why-flags-do-not-represent-language
  5. Create a Hanna Code named cyan of Type PHP with an attribute text and the following code: <?php echo "<h3 class='cyan'>$text</h3>"; ?> Then the call would be [[cyan text='This is cyan text']]
  6. Salve franciccio-ITALIANO, maybe you're looking for something like this: https://processwire.com/talk/topic/7723-protecteddevelopmentmaintenance-mode/ (Or google for "processwire maintenance mode".)
  7. The homepage processwire.com is now displaying correctly 3.0.62, but not so the Download page processwire.com/download. Why not leave out the version numbers on the buttons, just saying "The newest master version of ProcessWire" etc.? And adding a link to Release Notes for more details...
  8. When there is the need to check a new participant if he matches one of the ones enrolled previously, I think you can't avoid having an identifier for every participant. Edit: Assuming every participant is a page (the PW way ), the page's ID would be the natural unique identifer for your purpose.
  9. Why not give the Page 1.1 a modified template with the Family setting "May pages using this template have children?" set to "No"?
  10. Module

    Using PW 3.0.41, I made a successful upgrade of AOS from v0.1.5 to v1.4.3 via the backend; but the module's settings page continues showing v0.1.5. (Clearing the compiled files and refreshing doesn't help.) Edit: Logging out and in again helped.
  11. Thank you very much! EDIT: Works like a charm!
  12. Hi @Macrura, would you mind to reveal more details of your obfuscation function? I would highly appreciate it.
  13. @evanmcd You're right, of course - sorry for my stupid intervention.
  14. There is a great tutorial by @kongondo that might be helpful for situations like yours: https://processwire.com/talk/topic/3579-tutorial-approaches-to-categorising-site-content/
  15. Thanks, I'll give it a try.