Jump to content

ottogal

Members
  • Posts

    327
  • Joined

Everything posted by ottogal

  1. Guten Tag herr rilke, This might be helpful: https://processwire.com/blog/posts/building-custom-admin-pages-with-process-modules/
  2. As a non professional webdesigner (pure amateur...) I'd like to add to the discussion of versioning. I experienced that a potential "client" I wanted to convince of PW got the impression that in 3.0.xxx the quickly increasing values of xxx would indicate a continously need of fixing lots of bugs. (At the end he changed his opinion.) But also for me it's not comprehensible that we didn't have steps to 3.1 or even 3.2 back already, since there have been some notable achievements in the meantime.
  3. I used the Update option in Tracy's Module Information from the Admin (and used the Delete button in the module's Settings afterwards). In site/config.php I had the permissions set to $config->chmodDir = '0755'; and $config->chmodFile = '0644'; Maybe this '0644' prevented the update of the file adminer-4.8.1-mysql.php and others. In fact the actual version was 7.2, I didn't recall having upgraded one day. (It's indeed a years old site not touched often later.) But sure, I should update anew. Many thanks for your considerations, @adrian! ottogal
  4. FYI: Just updating the TracyDebugger module did not affect the files and directories in the panel/ subdirectory. I had to delete Tracy and reinstall it to get that solved. (Perhaps because of the PHP version being very old, too: 5.6 )
  5. Thank you for the quick reply! I'm planning to get more into the details of the great Tracy module...
  6. Hello to this tremendous community! The hoster of one of my ProcessWire websites is warning me about a critical vulnerability caused by the Adminer module: So I've got some questions: (1) My installed version of TracyDebugger is v 4.19.33. (I didn't use it much, so never considered an update.) Would it be sufficient to update it to v 4.25.22 to fix the problem? Or would I need a seperate update of the Adminer module? (2) I also thought of just uninstalling the module ProcessTracyAdminer. When trying this in the Admin, I'm told to manually delete the respective files and directories. Presumably I'd want to delete the file ProcessTracyAdminer.module.php and, in the panel\ subdirectory, the file AdminerPanel.php and the subdirectory Adminer\. Am I right - or is there more to it? Any insight is much appreciated! ottogal
  7. Hi joe_g, I'd recommend to read this fine tutorial written by kongondo a few years ago: Tutorial: Approaches to categorising site content That's the right "PW way" doing it, profiting from the great API. Good luck! ottogal
  8. In your CSS you have .uk-container { display: flow-root; box-sizing: content-box; max-width: 1200px; /* <<<< */ } That's the culprit.
  9. I'd try findOne() instead of find().
  10. A really great write-up! Should find its way into the Showcase...!
  11. On that page it says Suche nach "festival für freunde" It might be a case issue. Usually a search term in double quotes is case sensitive.
  12. You could have scrolled to the very bottom of any page in this forum... ?
  13. Hi @Gary, before choosing any of the countless slider scripts out there consider reading Heydon Pickering on inclusive design of sliders: A Content Slider (For sure not easy if you are a beginner...) Kind regards ottogal
  14. Salve, @franciccio-ITALIANO I think you don't need several templates. Just create one template and add the two fields (of type Textarea). Then for each FAQ you create a page that is using this template.
  15. Hi, wouldn't you want to calculate the $diff with the unformatted timestamps and just output the result in 'Y' Format? (Or I misunderstand the use case.)
  16. 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);
  17. 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...)
  18. 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.
  19. Please consider that flags should not be used to distinguish languages! See the notes here, visit the links:
  20. Maybe this would do it: https://www.zeitverschiebung.net/en/city/2192362
  21. 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>'; }
×
×
  • Create New...