-
Posts
2,241 -
Joined
-
Last visited
-
Days Won
47
Everything posted by netcarver
-
Hi Adrian, Sorry, I meant site/assets/sessions/ and the tracy* files within that. At one point there were thousands of megabyte-size files in there. The site this happened on is running Tracy 3.5.5 on PW 3.0.42. OS: Arch linux. PHP: 7.1 Irony of moment: I disabled Tracy, then I deleted the tracy* files AND recreated the backup set, deleting the differentials. I've been back into the admin area and tried re-enabling Tracy, but I'm not seeing the files being created now - suggesting it might have been from an older version of the module (this is a site I use to experiment with new PW stuff, so it has seen multiple revisions of Tracy installed over the months.) If the issue recurs I shall, of course, let you know more. Regards, Steve
-
Hi @adrian Perhaps slightly off topic but... I'd like to report that I had a recent differential backup that was growing rather fast, and it turned out to be tracy files in the session directory of the site. I've since excluded the offending session directory from the backup (shouldn't have been there in the first place) but it might be worth noting that the total size of all the tracy sessions files had grown into the 10s of GB. I wonder if there is any practical way Tracy could be made to cull its old session files? Best wishes, Steve
-
As long as Tracy Deadbugger is not installed. Or any of my modules.
-
Thanks to @gmclelland, we have a fixed PW3 branch (now at v3.0.2) and some extended documentation for the tile layer support option in both branches.
-
Small bugfix pushed for a problem with the default marker URLs. Master branch (not namespaced) now at v2.8.1 and PW3 branch (namespaced) now at v3.0.1.
-
@webhoes Are you sure you're posting this issue in the correct place? This thread deals with the Leaflet maps module, but your code looks like it is using the Google maps module.
-
I've also just pushed a PW3-only branch which uses namespaces, should anyone want to try it.
-
v2.8.0 is out. It's a trivial fix for a problem with the PW3 FileCompiler (it was inserting the Processwire namespace into PHP-generated js code used on the front end). NB: The js class now used in the code is jsMarkupLeafletMap instead of MarkupLeafletMap. You may need to adjust your js code to allow for this. I've also taken the opportunity to bump the field numbers to bring some continuity across the files.
-
@FrancisChung Is this for a search you want to kick off via a page on your PW site - where the user can enter some variable search term? If so, how about a Click() handler on the submit button that issues 3 distinct ajax searches against the backend? Here's some pseudo-JQuery to illustrate the idea. To keep it shorter, this example kicks off two async ajax calls to the back-end to get search results as JSON and then renders the output once both calls have returned (either with or without data.) $('#submit-button').click(function () { var searchA = false, searchB = false; // Kick off asynchronous call to get results for search A... // return results as JSON jQuery.ajax({ url: '', // Construct a url to trigger search A success: function (result) { searchA = true; // Add code to store result JSON... rendezvous(searchA, searchB); } }); // Kick off asynchronous call to get results for search B... // return results as JSON jQuery.ajax({ url: '', // Construct a url to trigger search B success: function (result) { searchB = true; // Add code to store result JSON... rendezvous(searchA, searchB); } }); }); function rendezvous(A, B) { if (A & B) { // Use JQuery to combine, format & render search results in your current page } }
- 9 replies
-
- 3
-
-
- asynch
- asynchronous
- (and 8 more)
-
@Beluga I like the idea. You might need to message Ryan or Pete directly with your request; I'm not sure they'll read this thread - but I hope I'm wrong
-
@SamC Thank you. Same to you and the rest of the PW community.
-
Upgrading from Thumbnails module to Croppable Image 3
netcarver replied to jacmaes's topic in General Support
For those wanting to delete source images, you can find my script in this Gist. Make sure you have successfully converted the images to the CI3 standard before you run it to delete the source images. -
Perhaps running the 6G Firewall might help.
-
@3fingers So, all the resources are loading - and there are no errors - and there is no output? Ok - is this on a local development box or on a server I can take a look at? Edited to add: I have seen a correctly set-up map fail to load if a browser is blocking scripts using an extension like noscript/umatrix/ublock-origin etc.
-
If you open up the inspection tools in your browser and reload the page, are there any resources that fail to load or any js errors reported?
-
Any module guide/steps for beginner?
netcarver replied to Speed's topic in Module/Plugin Development
Google is your friend, lots of results in there. Some of the more useful... Ben's beginner's tutorial on tuts+ Teppo's articles on textformatter modules and hooks (you'll need hooks if you are writing modules.) The example "Hello World" module that ships with PW. Other threads from the forum: A, B & C. Hope that helps! -
Wishlist: Add a "Siblings" tab to edit mode
netcarver replied to creativejay's topic in Wishlist & Roadmap
I think @Macrura has a module that does allows you to go to the previous or next sibling already. I don't think it allows you to select from a list though. -
Great concept - but the implementation seems to appear to mess with settings on other module's pages. When visiting the config page for any other module, I'm now getting an error in the JS console about WireTabs being undefined.
-
Works very nicely. Thank you again @kixe
-
@kixe Thanks for that!
-
How to show all child pages on the editor?
netcarver replied to OpenBayou's topic in Getting Started
@OpenBayou I'm not sure I totally understand your question, but you can view the children of any page either directly from the page tree or by editing a page and looking at the "Children" tab. The lists are paginated though - if you have a lot of children, you won't see them all at once. -
The stripe module @kongondo mentioned above works really well.
-
@Rajiv I see that there is a repeat of your post above as a new topic. Just to let you know; I've deleted the new topic as it had far less information in it than the thread here. You should still be able to get assistance with your problem here. Cheers!
-
@Nagendra Hello As far as I know, all the code needed is in the first post in this thread, (link to first post). Have you tried following the tutorial? If so, can you describe what is, and what is not, working and perhaps people can try to help you out. Your request, as it stands, is pretty ill defined.