-
Posts
687 -
Joined
-
Last visited
-
Days Won
4
Everything posted by matjazp
-
[solved] Does disabling multi-lang work for you?
matjazp replied to bernhard's topic in General Support
Looks like it happens whn there is only one template that could be used for a new page. Can you try and add another template that doesn't have multilang disbaled? -
[solved] Does disabling multi-lang work for you?
matjazp replied to bernhard's topic in General Support
I can reproduce using your "site profile", but still not on my instalation. Looking for differences... -
-
I'm not familiar with LanguageLocalizedURL module, but you can change /site/modules/LanguageLocalizedURL.module line 174 to $str = mb_strtolower("$str"); In /wire/modules/Fieldtype/FieldtypeRepater/InputfieldRepeater.module replace line 719 with if(!strlen("$addLabel")) $addLabel = $this->_('Add New'); I reported both of your findings so they will be fixed.
-
Yes, that's the missing 1% :-) Please try changing to $splitPass = str_split($pass, (int) (strlen($pass) / 2) + 1);
-
I would go with PHP 8 and the latest dev (soon to become a master). We have ironed out like 99% od deprecation warnings in PHP8, some may still pop up, but will be fixed promptly.
-
You grabed the latest master 3.0.184? No go for PHP 8. Use the latest dev 3.0.199.
-
What's your PHP version? I guess it's below 5.4.0 -> time to upgrade. Or perhaps missing php-json extension?
-
[SOLVED] How to set database timezone on Shared Servers?
matjazp replied to PWaddict's topic in General Support
@Brendan KidwellAre you sure that the padding of zeros should be performed on the right? -
I had that behavior once, a long time ago, don't remember what the culprit was. I guess you tried incognito mode and some other browser? Are all CSS files loaded?
-
Any javascript errors in browser dev tools?
-
Suggest any options for document viewer in the website
matjazp replied to SIERRA's topic in General Support
Any recommendation for viewing Office (word, excel) files? Locally, not uploading the file to some service. -
It looks like this commit is responsible: https://github.com/processwire/processwire/commit/fc0db2bb224075e7d6e4105619a2293a5ca4b7a0 more specifically PagesLoader.php on line 1176 where parent_id is unset.
-
There are 20 commits between 3.0.191 and 3.0.192. It might be helpful to know which commit "broke" findMany()?
-
@ryanI'm also having problems. If I try to change the template I get: ProcessWire: ProcessPageEdit: Page cannot be its own parent DEBUG MODE BACKTRACE ($config->debug == true): #0 C:\inetpub\wwwroot\wire\core\Page.php(708): ProcessWire\Page->setParent(Object(ProcessWire\Page)) #1 C:\inetpub\wwwroot\wire\core\Page.php(1769): ProcessWire\Page->set('parent', Object(ProcessWire\Page)) #2 C:\inetpub\wwwroot\wire\modules\Fieldtype\FieldtypeRepeater\FieldtypeRepeater.module(1126): ProcessWire\Page->__set('parent', Object(ProcessWire\Page)) #3 C:\inetpub\wwwroot\wire\modules\Fieldtype\FieldtypeRepeater\FieldtypeRepeater.module(766): ProcessWire\FieldtypeRepeater->getRepeaterPageParent(Object(ProcessWire\Page), Object(ProcessWire\RepeaterField)) #4 C:\inetpub\wwwroot\wire\core\Wire.php(423): ProcessWire\FieldtypeRepeater->___wakeupValue(Object(ProcessWire\Page), Object(ProcessWire\RepeaterField), NULL) #5 C:\inetpub\wwwroot\wire\core\WireHooks.php(951): ProcessWire\Wire->_callMethod('___wakeupValue', Array) #6 C:\inetpub\wwwroot\wire\core\Wire.php(485): ProcessWire\WireHooks->runHooks(Object(ProcessWire\FieldtypeRepeater), 'wakeupValue', Array) #7 C:\inetpub\wwwroot\wire\modules\Fieldtype\FieldtypeRepeater\FieldtypeRepeater.module(636): ProcessWire\Wire->__call('wakeupValue', Array) #8 C:\inetpub\wwwroot\wire\core\Field.php(980): ProcessWire\FieldtypeRepeater->getInputfield(Object(ProcessWire\Page), Object(ProcessWire\RepeaterField)) etc... It happens on pages with templates that have repeaters. It looks like this commit https://github.com/processwire/processwire/commit/b47297fd4adafcd6f1b12e943380e3f796793b7b is the culprit? Pages.php, line 1899, commenting this line: if($id !== null) $options['id'] = $id; fixes the error.
-
Those hover dropdowns bothers me too. I use desktop browser and sometimes my hand shakes and can't move my mouse with enough precision. When you hover over top level menu, the second level menu is opened and if you happen to move your mouse outside of the menu area, the menu closes. So I usually just click on Pages, Setup, Modules.
-
I worked on this too. Attached is my modified admin theme I posted somewhere on the forum, but this version is bit modified, I tried to fix some focus issues... admin.less
-
I don't remember if I fixed that or not, but the module will perform update when you edit a page that has CI field.
-
Page Hit Counter – Simple Page View Tracking
matjazp replied to David Karich's topic in Modules/Plugins
"data-phc" attribute is missing on body tag. Are you sure you have body at all?- 111 replies
-
- 2
-
- hitcounter
- tracking
- (and 4 more)
-
More fun (can't upload animated gif) with style switcher... style-switcher.mp4
-
And perhaps an option for each user to select it's own skin/style/theme (whatever it's named) in his profile...
-
I had some fun too. Created another theme/style based on default reno style but tried to add more contrast (WCAG AA). It's also more in blue tones (but I kept PW pinky color) to match our website color theme. There are also some other tweaks. admin.less
-
Note that rename() will not rename variations... you should track changes on basename: $p->singleImage->trackChange("basename"); $image->removeVariations(); $image->rename($newFilename); $p->save("singleImage"); https://processwire.com/talk/topic/4299-how-to-rename-a-file-properly/?do=findComment&comment=42213
-
Thank you (and Ryan) for your work on AdminThemeUikit. What I'm missing is an option to select between styles quickly. I was expecting something like this: I create a folder /site/modules/AdminThemUikit/styles/ and copy many different less files. The core AdminThemeUikit would then scan for this folder and allow me to choose between them in the module settings, similar to what we have in AdminThemeDefault, where we can select different Color Sets (classic, Warm, Modern, Futura).
-
Your current server locale setting does not work …
matjazp replied to kaz's topic in Multi-Language Support
The problem is in your system, it's missing utf8 locale. 'locale -a' in the terminal window will tell you what are available locales. If the problem would be benign, as you think, then PW would not warn you about it.