Jump to content

ottogal

Members
  • Content Count

    311
  • Joined

  • Last visited

Community Reputation

230 Excellent

About ottogal

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

Profile Information

  • Gender
    Male
  • Location
    Berlin/Germany

Recent Profile Visitors

3,603 profile views
  1. As far as I know in PHP a quotient of integers with a non-integer value is treated as float. So I'd try to cast the $percent value: $percent = (int) $percent; or $percent = intval($goalNum / $raisedNum);
  2. Hi John W., hoping not to misunderstand your data structure: I'm sure that the Drs. are not in the Gifts businesss, and Mary's Flower shop ist not involved in physicians' tasks. So the hierarchy of your categories should be just like your wanted output (see the attached image). Then the individuals (Dr. Adams, Dr. Smith, Mary's Flower Shop) need only to have a reference field to the Secondary Categories - not to the Primary Categories. (Since Mental Health is a subcategory of Physicians, Dr. Smith automatically is categorized as Physician...)
  3. Saying "consider" and "should not", I tried to give advice - of course there is no "must not"... I'm aware that many and big players don't care, or see some benefits in their way to handle this. They ignore the arguments against it, and that is bad.
  4. Please consider that flags should not be used to distinguish languages! See the notes here, visit the links:
  5. Maybe this would do it: https://www.zeitverschiebung.net/en/city/2192362
  6. Aren't there missing the opening <li> tags? It should be foreach ($items as $item) { $content .= '<li>'; if ($item->front_position == $item->index() { $content .= '<a href="' . $item->url . '">' . $item->title . '</a>'; } $content .= '</li>'; }
  7. No problem here...
  8. Hi all, did I miss anything that might have happened in a few years in this context?
  9. That was the way they did it in other CMSs I used in former times - before I luckily found ProcessWire! It was like a breeze of fresh air after a long stuffy time... The dilemma you are in is to incline to habits you are familiar with. Try to understand the way PW works, and you will soon be convinced. (And as a next step: Try to convince the client...) All the best!
  10. Thank you for the insight - I wasn't aware of this.
  11. Isn't it a rather common security consideration to not allow passwords to be pasted?
×
×
  • Create New...