-
Posts
337 -
Joined
-
Last visited
-
Days Won
8
monollonom last won the day on September 13
monollonom had the most liked content!
Contact Methods
-
Website URL
https://eprc.studio
Profile Information
-
Gender
Male
-
Location
Brussels
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
monollonom's Achievements
Sr. Member (5/6)
474
Reputation
-
monollonom started following PageListCustomSort , Is there interest in a ProcessWire based client/hosting management software? , How to use lazycron? and 2 others
-
Is there interest in a ProcessWire based client/hosting management software?
monollonom replied to bernhard's topic in Pub
I love it that you called it “RockCare”, to rockfinity and beyond... 🙃 In all seriousness, IMHO I don’t think this is something worth developing for others to buy (nor as a free module). Everyone has their own set of requirements (and their own way of doing) and this would make it a very hard time on you to figure out a “one-size-fits-all” solution. I would advise to save yourself this burden, knowing you’re already going on big endeavours with other modules (e.g. RockCommerce). However this is just me and you could definitely beta-test it with select users to see if they could adapt to your way of doing and in this case foresee a potential public release. In my particular case though, this is something I wanted to tackle for a while now, also with ProcessWire. But I know for sure that I would want to do it all by myself, as a way to experiment (and have fun like you said) but also to make sure it’s perfectly tailored for my usage. What would be nice though is having a thread (this one?) so people can share what they put in place (PW-based that is) to help them managing this aspect of their work. Not going as far as sharing a whole site-invoice profile, but something along the lines of the associated blog post 🙂 -
It depends on what you want to achieve but basically with lazycron you specify a time interval target and whenever someone loads a page the lazycron checks if the interval has passed and then triggers its function. This means that depending on where you put the hook, it may check more often or not: if you put the code in a template, then the lazycron is checked only when a guest is visiting a page with this template. However if you put the hook in init.php (or ready.php) then the lazycron will be checked for every pageview, even the admin ones.
- 1 reply
-
- 4
-
Do you remember which ones you read about? I don’t know how well it scales, but this is something that makes it interesting to have a PW module (same way there is a WP one): it would allow users to have a simple and manageable instance with one (or potentially more) users, on a shared hosting. But I did read some issues about how Mastodon is agressively sending requests to websites when they are referenced in a toot, especially if said toot is shared on a big instance (read https://www.jwz.org/blog/2022/11/mastodon-stampede/), I don’t know though if this changed in the meantime. I read that as well. Apparently ActivityPub is quite “loosely” spec’d so there’s a lot of parts that can be interpreted differently. And since Mastodon is (one of) the biggest player, their way of doing became a de-facto standard (others had to implement the Mastodon-way to be able to interact with the bigger network).
-
This is something I have had on my “things I’d like to do” list for a while now... I left Twitter some years ago and wanted to switch to Mastodon, but after learning how this is based on a (supposedly) web standard I wanted to have a look and try to implement my own thing, based on PW of course. I do feel as well that there is a gap and I would love it if it could be as simple as installing a module. From what I’m seeing the wordpress plugin does it really well and would definitely be an inspiration of mine. I also feel this could be a great addition to artists/designers/photographers’ website as a way to share their work, an alternative to Instagram potentially (but not as literally as Pixelfed does though). The closest I’ve seen here regarding this is the webmention module (thread) by @gRegor.
-
Hi @Robin S, Would you consider the idea of allowing something similar to In my use-case (the same one still), I would like add an edit button to allow to edit the page in a modal. In the meantime I’ll try to add this using javascript.
- 18 replies
-
- inputfield
- images
-
(and 2 more)
Tagged with:
-
Possible to sort children by multiple fields in the back end?
monollonom replied to MarcC's topic in General Support
As this topic helped me to get on track, here’s a new module I created for this: -
PageListCustomSort Github: https://github.com/eprcstudio/PageListCustomSort Modules directory: https://processwire.com/modules/page-list-custom-sort/ This module enables the use of a custom sort setting for children, using multiple properties. About This module is similar to ProcessPageListMultipleSorting by David Karich but is closer to what could (should?) be in the core as it adds the custom sort setting in both the template’s “Family” tab and in the page’s “Children” tab (when applicable). Usage Once a custom sort is set, it is applied in the page list but also when calling $page->children() or $page->siblings(). You can also apply the custom sort when calling $page->find("sort=_custom") or $pages->find("parent_id|has_parent=$id,sort=_custom"). Unfortunately this won’t work the same way sort=sort does if you only specify the template in your selector.
-
Request for Input: What features should a PW calendar module have?
monollonom replied to bernhard's topic in Modules/Plugins
Don’t you think a <select> would be better in this case? To show “1st”, “2nd”, “3rd” and “4th” (or nothing) (“5th” also possible, but rarer) Or do you want to be able to say “Every 6 monday“ to have a 6-week gap in-between two mondays? In which case the “1st” placeholder would not make sense. -
Request for Input: What features should a PW calendar module have?
monollonom replied to bernhard's topic in Modules/Plugins
Completeness wasn’t there apparently lol. Basically “Every X day(s)” would show nothing: Hence why I like your solution better: it allows the user to quickly repeat every day, except for some. In my UI you would need to understand that you need to select the “month(s)” frequency, and select the days, but even then it’s inferior because you select the days’ number and not the day of week. I rewatched my video and you can actually do that using the “week(s)” frequency, but still! Don’t change a thing, you’re clearly on the right path! (what do you input here? ) -
Request for Input: What features should a PW calendar module have?
monollonom replied to bernhard's topic in Modules/Plugins
At first it was @szabesz’s suggestion that made me post this, because of the way things are handled in the calendar app: there’s no “In Months”, just “Each” and it only appears if the frequency is “Every month” and so on... I liked it this way because of how the ux “difficulty” (let’s say) is incremental. But in the end I think your way of doing actually makes more sense (and you are right that it’s more limited in my case)... so you can dismiss my post 🙂 -
Request for Input: What features should a PW calendar module have?
monollonom replied to bernhard's topic in Modules/Plugins
In my implementation using FieltypeCombo, I basically followed what Apple is doing in their calendar app: Here’s an export of my field: -
Request for Input: What features should a PW calendar module have?
monollonom replied to bernhard's topic in Modules/Plugins
This looks truly great and I can easily see myself using it in several client projects! Great work 🙂 One note on the last video (pretty sure you already thought of this but hey): if there is a need for a first save before being able to create copies, maybe hide the options? -
Request for Input: What features should a PW calendar module have?
monollonom replied to bernhard's topic in Modules/Plugins
Ah and so basically an editor could set one particular copy back to a regular “date” (uncheck “recurring”) and then be able to edit this specific one, which is nicely thought! Maybe this could be implied by the UI (and maybe it already is?!): if there is $date->mainPage, hide the options to create copies and instead display something like “This event is a copy of ‘Main Page’” with an option to break the connection (and allow to create copies from there) or suggest to uncheck “recurring” to be able to edit the event. I wonder if the fields should also show that changes won’t be applied if it’s a copy as well? -
Request for Input: What features should a PW calendar module have?
monollonom replied to bernhard's topic in Modules/Plugins
It’s an interesting mix indeed. Would you say these copies act as aliases but with their own date? Does it require a special template or is it that your module dynamically add a page reference field to the copies and then your module add hooks to get the main event’s data at runtime? What is very nice is it makes it super easy for the editor to edit a specific copy. Among many other benefits 🙂 The only downside I can think of in your setup is what if a recurring event gets cancelled? Is there a way to easily delete the copies? If you have a page reference field it shouldn’t be too hard actually... Maybe? If I rephrase what’s happening: you create the event, set its date to "recurring" and go ahead and create your copies. Then you save the page. If you edit it again, you have the "recurring" date type selected with the options to create new ones, but no indications of the copies previously created. Is this correct? -
Request for Input: What features should a PW calendar module have?
monollonom replied to bernhard's topic in Modules/Plugins
I think I missed something: is the "Recurring" option creating copies of the current page (event)? In my case there is no copy, just an array of occurences (array of dates basically) that remain bound to the page and that I’m using when querying events. This does mean I always display the same content. That’s why I’m asking: the dates are generated and then remain, I can disable some and if a selector involves a disabled occurrence, the event will not show up. Thus some occurences can be in the past. But again my question comes from me misunderstanding what your module is doing (even though it’s clearly specified in the fieldset’s label 😅). Another question then: once you created the events, what happens if you save the page? Are the copies displayed in your table or does it start from scratch? (thank you for taking the time to answer)