-
Posts
687 -
Joined
-
Last visited
-
Days Won
4
Everything posted by matjazp
-
You miss something ? I'm talking about "Also use HTML5 required attribute". This option is on the Input tab, right to the "Required?" field.
-
Installation Problem DirectoryIterator::__construct
matjazp replied to LukeCage's topic in General Support
You mean modify? Who is the owner of the files? Does the user IIS is running under have permission to access the files? ProcessWire installer needs write permission on site* folders, so that it can rename them. Installer also need write permission to some other files. Temporary write permission on root folder itself is also needed, so installer can rename/remove folders below... Check with your provider. -
I would like to set html required attribute on Datetime field. We have this option on text fields, but not on Datetime (or Integer or...). Is this possible? Like hooking to InputfieldDatetime::getConfigInputfields and adding checkbox? But then, where do I hook to add this required attribute?
-
Installation Problem DirectoryIterator::__construct
matjazp replied to LukeCage's topic in General Support
While you definitely need web.config file and IIS URL rewrite (if you are sure you are running IIS), this is still a permission problem. -
Ahm, any action module laying around that would recreate admin thumbnails 0x260 and delete the old ones?
-
May I say how handy is this module? Thx @adrian
-
-
Check response, not just status.
-
In dev tools, network, check if all assets (javasript) are loaded and what are the responses.
-
I'm using PagePaths module: "Currently supports only single languages sites."? Or I misunderstand this statement?
-
I don't have experience with ML, so forgive a noob question. Is it possible to translate strings in some .module files without installing LanguageSupport and based on some criteria? Something like that (pseudocode): if user has some role, then translate ProcessPageEdit module using my translation file
-
Module: Video embed for YouTube/Vimeo (TextformatterVideoEmbed)
matjazp replied to ryan's topic in Modules/Plugins
I already have 109 and it's working. So, jumping straight ahead to 3.x? Will try and report back, probably on Sunday. Thx dragan & horst. I upgraded PW from 2.5.4 to 3.0.104 and then php from 5.5.12 to 7.2.2 in one go. Everything went fine. I needed DynamicRoles module that is compatible with PW3. -
Module: Video embed for YouTube/Vimeo (TextformatterVideoEmbed)
matjazp replied to ryan's topic in Modules/Plugins
My plan is to go slow: 2.5.4 -> 2.7.3 -> 2.8.62 -> 3.0.102 But it fails on 2.5.4. The module itself states it's stable and working on 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0 I know the module v 111 works on PW 3 (various versions). -
I noticed the file /site/assets/logs/wire-temp-dir.txt. What is it used for? I upgraded some modules and PW versions so I'm not sure when it was created. I noticed just a few lines in there 2018-05-16 04:57:14 admin https://mysite/processwire/module/download/ Unable to remove: This logline is written in the /wire/core/WireTempDir.php in the removeExpiredDirs() method, called from remove() method. I'm just curious why it says Unable to remove: without specifying what? WireTempDir class is used in several places in the core and don't know how to debug this?
-
Module: Video embed for YouTube/Vimeo (TextformatterVideoEmbed)
matjazp replied to ryan's topic in Modules/Plugins
I'm in process of upgrading PW 2.5.4, PHP 5.6.8 and using TextformatterVideoEmbed version 109. When I upgrade this module to the latest version 111 I get Compile Error: Cannot make static method ConfigurableModule::getModuleConfigInputfields() non static in class TextformatterVideoEmbed (line 18 of \site\modules\TextformatterVideoEmbed\TextformatterVideoEmbed.module) Is it possible that this method is problematic? version 109: public static function getModuleConfigInputfields(array $data) { version 111: public function getModuleConfigInputfields(array $data) { -
I think that Adrian fixed that in the latest version of Tracy, if I remember correctly...
-
I think that function wireInstanceOf() is not available in 3.0.42. Upgrade to the latest master.
-
What do you mean by "windows machine with no ACL"?
-
Ryan fixed it already...
-
Would you mind testing my fix https://github.com/processwire/processwire-issues/issues/480#issuecomment-372398223
-
Please check the width classes applied to inputfields, it looks like all non 100% fields get uk-width-4-5@m
-
Error - Call to undefined function _x(), did you mean _()?
matjazp replied to Christophe's topic in Multi-Language Support
@Christophe count() warning is coming from php 7.2, but you won't get this warning if you upgrade to the latest dev and you can keep php 7.2. Not sure why you get array to string conversion notice... -
Error - Call to undefined function _x(), did you mean _()?
matjazp replied to Christophe's topic in Multi-Language Support
Downgrade php, install the latest dev or wait a week or so for the next master. -
It's doable with datepicker https://stackoverflow.com/questions/2208480/jquery-ui-datepicker-to-show-month-year-only but I don't know how one could "hook" to datepicker inputfield and pass some more options (at least onClose callback). I'm sure js gurus can help here ...
-
[SOLVED] Multi-instance Support in Multi-site Setup
matjazp replied to kongondo's topic in API & Templates
@kongondoWould this work? Just a workaround, until Ryan fix it... $rootPath = "F:/vhosts/sandpit.dev"; $sitePath = "site-mediamanager"; $url = "http://mediamanager.sandpit.local/"; $cfg = Processwire::buildConfig($rootPath, $url, array("siteDir" => $sitePath)); $site = new ProcessWire($cfg);