
lpa
Members-
Posts
197 -
Joined
-
Last visited
Everything posted by lpa
-
Progress report for development of my GroupMailer module
lpa replied to Gadgetto's topic in Module/Plugin Development
Hi, What might be the status of GroupMailer? Is it published somewhere or was it ever finnished? -
Markup region inside a Repeater or Repeater Matrix field
lpa replied to lpa's topic in General Support
Is there anybody who can explain me why this does not work? Or was my question unclear? -
I have problems putting a Markup Region action inside a Repeater Matrix field template. I am trying to get a region be appended in a region defined in <head> like this: _main.php head has this: <head> .... <pw-region id="mainhead"> </pw-region> .... </head> And my Repeater matrix field has this: <div id="mainhead" pw-append> <?php echo $form->styles; ?> <?php echo $form->scripts; ?> </div> The problem is that the contents of the matrix field action region is not put in the <head> of the page but in place it is in the Repeater Matrix template. Is this supposed to work?
-
module InlineCompleteTinyMCE: autocompleter for InputfieldTinyMCE
lpa replied to BitPoet's topic in Modules/Plugins
Testing this module with PW 3.0.229 but nothing happens. This error in error-log: Missing GET parameters for ProcessInlineCompleteTinyMCE::execute (WireLog) -
In one use case we have a normal cache like this $local_data = $cache->get('calendar', $c, function() { } With PW 3.0.184 setting expire argument ($c) to -1 the cache was cleared. Now it does not work and trying to set expire argument to 0, we get '0000-00-00 00:00:00' in the database expire field instead of some valid date. What is the correct way to expire the cache by setting the expire argument OR should we always use $cache->delete('calendar') to expire now?
-
Is there translation for the FormBuilder module anywhere, then?
-
The repo for the modules translations gives a 404 error: https://github.com/Fokke-/Finnish-ProcessWire-Modules Is that file still available somewhere?
-
I would add some fixed routes drawn with GPX files on the maps. There is this plugin for Leaflet: https://github.com/mpetazzoni/leaflet-gpx. But my problem is that at least the example points to much newer Leaflet version that this module is using, v 1.7.1. What is the reason, that this module is still using v 0.7.3 of Leaflet.js and how difficult would it be to upgrade it to 1.7 or even 1.9?
-
Browsing users to next page gives error: Unknown action
lpa replied to lpa's topic in General Support
Upgrading to 3.0.208 helped to solve this. I didn't find out what was the problem with 3.0.200. -
I have over 400 users in PW 3.0.200 installation. When browsing the users and trying to go to the page two, (https://site.xx/processwire/access/users/page2) I get an error: {"error":false,"message":"Unknown action"} It says using Lister v0.2.6 β What might be the problem?
-
I am on myISAM.
-
Hello I have sometimes problem with a PW-site where mysql is stuck with a lot of processes in a state: "Waiting for table level lock". The whole site goes down with that problem as the queue of free PHP processes is used before the database locks are released. Has anybody had the same problem? Where to look at for the reason of the locks? How to debug this?
-
Thanks! Seems to be too complicated for my needs. How about a simple hook for the sorting phase of the admin tree?
-
How could I define that the subfolders of a page are shown first and the children of the page then in the admin page tree? Now the children are shown first and if there are many pages inside a folder, the subfolders are shown on the last page.
-
The articles are edited in an editorial system and we only want to preview them before they are finally ready to be published. Bernhards advice on using Nette was the chosen solution for us.
-
This is a journal site where the content of articles is edited in an editorial system. The writer wants to see the preview of the article during the editing phase. The article is saved to the site only when it is ready to be published. We don't want the article to be saved before it is ready to be published.
-
We need to create a preview of a page with data retrived through an external api without saving the page. The page consists of text, images and embeded HTML-items (youtube video, twitter feed-item etc). The preview is never saved as a page as it is only for preview purposes. Is it possible to create a new PageImage object in the memory, do cropping and resizing and show the new manipulated image on the preview page purely in memory?
-
Well, now it works. I was expecting a file to be generated in the root, but then I realised it is dynamic. When you access domain.com/sitemap.xml, it is generated on the fly. Now my only concern is if I check the "Include hidden or unpublished pages", are really all the hidden and unpublished pages included? If I have some pages hidden because they won't be in the main navigation, I would like those to be included in the sitemap. But never any unpublished pages.
-
Yes, I found that out and it fixes the problem. But the next problem is that no sitemap.xml is generated and no options are shown in the templates settings for the sitemap.
-
I tried to install this module for the first time, but it gives me this error, when saving the settings: Fatal Error: Uncaught TypeError: Return value of MarkupSitemap::removeSitemapCache() must be of the type bool, null returned in site/modules/MarkupSitemap/MarkupSitemap.module.php:257 And no sitemap.xml file is generated.
-
Could you disable the rebuildAll() call for a moment in PagesParents.php, or would it break something? Will it rebuild the indexes after it would be reenabled?
-
Yes I agree. But we are doing a big restructuring of our content and to have the redirections handled by PW page history, we are moving the pages using the API. Unfortunately we have thousands of pages to move to archive and it will take time....
-
OK, thanks. And there seems to be no solution yet for this problem. Or how could I use transactions?
-
I am having slow performance when moving pages to a new location using api. What could be the reason that moving one page takes 3-4 seconds with this code? I think it should move many pages per second. Could it be the page path history, that takes so long to save? $to = $pages->get('/path/to/'); $articles = $pages->get('/path/from/')->children(); $i = 0; $c = $articles->count(); foreach ( $articles as $item ) { $item->of(false); $item->original_category = $item->parent->title; $item->original_path = $item->url; $item->parent = $to; $item->save(); $i++; printf("%d/%d %s \r", $i, $c, $item->url); }
-
I am using the DumpsRecorderPanel because I can't get the DumpsPanel showing up when trying to put bd() in PadLoper.module. What would be the reason when the Dumps Panel does not show up from a call in a module?