Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. Today
  3. Maybe it's Firefox looking for favicon file automatically... It goes away if I indicate a favicon... Indicating a nonexistent one changes the stack trace to load resource:///modules/FaviconLoader.jsm:180:20 load resource:///modules/FaviconLoader.jsm:567:70 loadIcons resource:///modules/FaviconLoader.jsm:645:26 FaviconLoader/this.iconTask< resource:///modules/FaviconLoader.jsm:621:18 _runTask resource://gre/modules/DeferredTask.sys.mjs:347:18 _timerCallback/< resource://gre/modules/DeferredTask.sys.mjs:318:20 _timerCallback resource://gre/modules/DeferredTask.sys.mjs:337:9 _startTimer/callback/< resource://gre/modules/DeferredTask.sys.mjs:185:18 Sorry this isn't quite insightful
  4. I don't have a request in templates for favicon.ico. In Firefox inspector: Request cookies are: 'adminer_key', 'adminer_sid', 'tracy-session', 'wire0s', 'wire1s', 'wire1s_challenge', 'wires', 'wires_challenge'. Stack trace: load resource:///modules/FaviconLoader.jsm:180:20 load resource:///modules/FaviconLoader.jsm:567:70 loadIcons resource:///modules/FaviconLoader.jsm:645:26 onPageShow resource:///modules/FaviconLoader.jsm:679:12 onHeadParsed resource:///actors/LinkHandlerChild.sys.mjs:56:24 handleEvent resource:///actors/LinkHandlerChild.sys.mjs:172:21 I don't know what those are. I did recently install and then afterward notice an odd commit and deleted the module -- https://github.com/FriendsOfProcessWire/FieldtypeLeafletMapMarker/commit/e57e9373e6cccb79fe89dfda00fec117624649f2 has a bunch of empty files? "Remove executable bit from files"?
  5. You can create a template from your HTML and then use it.
  6. Not sure if this helps in this case here but when it came to glyphs and subsets I played with: https://wakamaifondue.com/ You drop a file into it, can see what the font is capable of and go from there. Another tool I found in my bookmarks is this: https://github.com/zachleat/glyphhanger To create subsets and such. Don't know if this stil works.
  7. Yeah that might be more elegant in some situations. Actually you don't even need to put it in a hidden div, you can put it in your markup in a latte comment for example. So those classes will not end up being rendered in your sites markup, but still tailwind will catch them for the final css. I prefer to place markup related things in markup files (*.latte) as for example when working on a "text" block for RockPageBuilder then I want it to contain all necessary markup for that block. So when moving that block into a new project it will still work and I will not have to mess with the tailwind config... But workflows and preferences are different πŸ™‚
  8. Have a great weekend and Happy Easter, @ryan.
  9. This week we have a new core version on the dev branch. Relative to the previous dev branch version, the new 3.0.237 version has 33 commits containing 20 issue fixes, 6 feature requests, and more. See the core updates section of ProcessWire Weekly 511, 512, 514 and 515 for more details. It's been about a month and a half since 3.0.236, which is a little longer than usual between version numbers, but that's largely because if the new Invoices site profile (see blog post). I'm off work tomorrow (Friday), so writing the usual weekly post a day early. As always, thanks for reading and I hope you have a great weekend!
  10. just add a dot before the folder name. PW will ignore the module. Then install the new Module
  11. I need the post-url and will update content of this post asap πŸ™‚ You can signup for Rock Monthly if you don't want to miss the release πŸ™‚
  12. Tailwind only adds those classes to the final CSS that it finds in your content files. If you add classes in ckeditor tailwind doesn't know about them and likely will not add them to the final CSS. An easy fix is to add those classes somewhere in your markup (eg on a hidden div) so that tailwind adds it to the CSS and whenever an editor applies the class it will properly render
  13. I did something like this: <div class="grid grid-cols-4 gap-4 border border-green-500"> <div class="col-span-3"> <img src="path/to/image.jpg"/> </div> <div class="col-span-1"> <p>Yada yada yada.</p> </div> </div> But the classes don't get applied. Might that have to do with where in which directories tailwind looks for tw classes? Here's my setup: /** @type {import('tailwindcss').Config} */ module.exports = { content: [ "../*.{html,php,js}", "../../classes/*.{html,php,js}", "./node_modules/tw-elements/dist/js/**/*.js", "../../assets/cache/HannaCode/*.{html,php,js}", "../../assets/*.{html,php,js}", "../../../*.{html,php,js}", "./node_modules/flowbite/**/*.js" ], That said, it does work for the hard-coded tw classes anyway, that's why I thought that might be the issue.
  14. same here πŸ™‚ True! I'm using that + RockPdf to generate monthly reports for my clients. The DB is something around 800MB and generating the reports is terribly inefficient, but it works and I think it looks nice and creates value πŸ™‚ Maybe it would have been better to create a simple API inside the container. But it was the simplest solution back then and I think they just want to monitor and don't need to create any reports anyhow πŸ™‚
  15. kaz

    if query

    @zoeck interesting, I didn't know that in an array the search is different
  16. Yesterday
  17. No, the old module doesn't have any fields. The only thing I can do is uninstall it. And I can't even do that because when I try I get:
  18. $items = $pages->find("template=event_day, event_schedule.speakers={$page->id}"); foreach($items as $item) { foreach($item->event_schedule as $repeater_item) { echo $repeater_item->event_title . '<br>'; } } It will echo out all the repeaters for that page, even though the speaker is only in one of them? What's the point of the first portion ($items) if you have to make another exception to see if the speaker is in the second foreach loop?Apologies for perhaps not seeing the forest from the trees!
  19. +1 for uptime-kuma. Setup as a docker container is really straightforward. I have it running on a Synology NAS and use Pushover for push notifications to my iPhone. The only downside is getting data out of uptime-kuma. It stores everything in a sqlite db and you have to get that out of your docker container and use some other tool to generate CSVs for example. Possible, of course, but not as easy as the UI of the frontend might suggest. πŸ˜‰
  20. @V7dev in case you wonder, why you do not see the repater in you dump. Repeaters are pages themself linked to your actual page Also see here for more options to get the repeater items:
  21. So that's what I was missing, thanks so much!
  22. @V7dev you just need a loop $items = $pages->find("template=event_day, event_schedule.speakers={$page->id}"); foreach($items as $item) { foreach($item->event_schedule as $repeater_item) { echo $repeater_item->event_start_date; } }
  23. I can't find anything specific in my searches, so I figured I would ask for some guidance! So I have a repeater field that I'm trying to search for outside a page. Here's my structure: Home Events (events template) Event (event template) Part One (event_day template) Repeater (named event_schedule) Event Start Date (event_start_date) etc... Part Two etc... Speakers (speakers template) So from the speakers template I'm trying to access the repeater with the following: $pages->find("template=event_day, event_schedule.speakers={$page->id}"); How do I access the actual fields inside the repeater, for example, the above dumps the following, which is correct, just can't access the event_start_date field? Let me know if there's more info needed. Thank you!
  24. Wow I missed that thank you. The conditional inclusion is so as to not repeat if running from within PW already, only require if ran from outside PW. var_dump(class_exists('ProcessWire')); returns false from within it so that's why it's \Templates...
  25. New docs about the RockPageBuilder API that makes it easy to import content from old websites and convert it to RockPageBuilder blocks 😎 https://www.baumrock.com/en/processwire/modules/rockpagebuilder/docs/api/
  1. Load more activity
Γ—
Γ—
  • Create New...