-
Posts
721 -
Joined
-
Last visited
-
Days Won
6
Everything posted by matjazp
-
Perhaps you should change the module/class name to avoid a collision. Also, there is ProcessFileEdit.
-
Yes and no. A large part of this module is not written by me, so I can't support any new features, I can only make it work as a Processwire module. That's why I didn't publish it in the module directory. It's also a powerful tool with the potential of wiping your site if it lands in the wrong hands, so I didn't want too much publicity. I don't work with PW so much anymore, and I'm becoming a bit rusty and can't afford to maintain too many modules. Nevertheless, I will do what I can to help if problems arise.
-
The module was never published in the module directory :-)
-
Nope. Now the first author is matjazp (https://processwire.com/modules/author/matjazp/) and the second author is also matjazp (https://processwire.com/modules/author/matjaz-potocnik/). Check the first link, I didn't know I'm the author of so many modules :-) Edit: I even changed authors to "tpr, matjazp" to be the same as here in the forum.
-
I don't know where author names are pulled off...
-
@ryan When there are more authors of the module, only one author name is shown, and it's shown twice, for example https://processwire.com/modules/auto-smush/ Roland Toth (tpr) is the coauthor.
-
I can replicate here. There must be something wrong with the image, as it opens in FF and other deskop image viewers on windows. I recreated webp from your original jpg (using online jpg to webp converter) and this time Chronme shows the image. I have no idea what could be wrong, possible Chrome issue?
-
Yes, it's on the dev branch. I applied fixes on the current master version until the next master. So far so good.
- 4 replies
-
- 1
-
-
- fatal error
- images
-
(and 1 more)
Tagged with:
-
https://github.com/processwire/processwire-issues/issues/1086
- 4 replies
-
- 1
-
-
- fatal error
- images
-
(and 1 more)
Tagged with:
-
If you ask me, searching by id should be made configurable in the module settings, but solution from Robin works, of course.
-
Perhaps this: https://processwire.com/talk/topic/23613-search-for-page-id/ ?
-
I already dig and found nothing. It never happened again.
-
@Robin S thank you for this hook, it works like a charm. Its clear I'm in a hurry and don't have time to search the forum. It's also clear that you have much better memory than I do :-) @adrian thank you for the hint, currently I'm not using Tracy on this particular site and also users are editors.
-
Is it possible to search for page ID in the search field (top right)? It looks like it only search for title (and other fields if configured) but not by ID...
-
@kongondo thanks, will check
-
Anyone have a module or some code to create short urls? Like user enters long url, enter start/stop date when short url is active, push submit and it gets short url back? There are url shorteners on the web, but would like to use PW. I thought about adding each url as page somewhere, then enabling url segments on home template, check if seg1 exist and make redirect. I'm sure I could do it, but I'm in hurry and planty other things to do, also don't want to reinvent the wheel...
-
Module: AIOM+ (All In One Minify) for CSS, LESS, JS and HTML
matjazp replied to David Karich's topic in Modules/Plugins
Thanks for the info. I pushed a fix (you don't have to reinstall). -
Module: AIOM+ (All In One Minify) for CSS, LESS, JS and HTML
matjazp replied to David Karich's topic in Modules/Plugins
Never saw this error before. It comes from modules.php in ___saveConfig() method. I guess it has something to do with namespace as error states "\AllInOneMinify" as module name, but here on my local dev the module name is without "\". Please try attached version (it contains just .module file, simply replace it). AllInOneMinify.zip -
This could be one of those weirdness pwired mentioned. Windows does not have fr_CA.UTF-8 locale. Please check this link: https://docs.moodle.org/dev/Table_of_locales Also be aware that the %e and %k modifiers are not supported in the Windows implementation of strftime() function. I use this on windows (found somewhere on the net): function mydate($f, $d) { $f = preg_replace('#(?<!%)((?:%%)*)%e#', '\1%#d', $f); $f = preg_replace('#(?<!%)((?:%%)*)%k#', '\1%#H', $f); return iconv("", "UTF-8", @strftime($f, $d)); }; and the use it like this (old fashion way): if($lang === "en") $out .= "Publish date: " . mydate("%Y/%m/%d", $post->post_date); else $out .= "Datum objave: " . mydate("%e. %B %Y", $post->post_date);
-
It could be frustrating and weird, as almost anything on the world... As I said, Apache can be installed if one is familiar with it
-
As far as I know you don't have to use IIS, you can install apache, like XAMPP. But I can confirm PW will work on IIS as I'm on the same infrastructure as you are. I have a bit updated version of web.config here on my local test environment, but even web.config from 2016 should work. But you will need IIS rewrite module for sure. Let me know if I can assist further (like remote access via RDP or TW or anything).
-
module Cache Control - Clear all your caches in one place
matjazp replied to MoritzLost's topic in Modules/Plugins
I think all caching "solutions" would somehow benefit with "warm-up" (you can try a new version of AIOM that mimics how ProCache works). Most crawlers do what you want to do more or less successfully (with some gotchas you and Horst mentioned), but it would certainly look more "professional" and it would be integrated into PW. -
It works. The Robin's fix is exactly what I recently used in one of my modules.
-
Perhaps use "\n" instead of PHP_EOL?
-
Module: AIOM+ (All In One Minify) for CSS, LESS, JS and HTML
matjazp replied to David Karich's topic in Modules/Plugins
This is exactly what I'm doing, but in PHP, check cache() method in AIOMcache.php. I know .htaccess rules, Ryan sent them to me 4 years ago when I was tempted to buy ProCache, but since I'm on IIS he couldn't confirm if it would work. But this is all I know about ProCache, I learned everything else from the documentation pages and I don't know if there is anything else to consider. I use zend opcache on my sites and this helps a lot, they are fast enough so I might not need ProCache or AIOM+ cache, but it's something that I always wanted to try and never had time or will to do it. Now I did it and released it in public, perhaps someone finds it useful or maybe something similar can be part of the core and we all win. Hm, then ProCache wouldn't be needed?