-
Posts
3,061 -
Joined
-
Last visited
-
Days Won
20
Everything posted by szabesz
-
-
Thanks! These sort of cryptic patterns ARE very useful but only after I have implemented them properly
-
I think I figured it out, I am missing the first pipe character and that is why I got the warning.
-
@adrian I've just installed the module (2.0.12), I have an issue. PHP Notice: Undefined offset: 1 in .../site/modules/FieldtypePhone/FieldtypePhone.module:320 when saving the module settings with this: /*Hungary*/ hungaryAreaCodeOnly {([phoneAreaCode])}-{[phoneNumber,0,3]}-{[phoneNumber,3,4]} If I add " | 1-21-123-4567" to the end, the notice is gone. You noted this new "part" in a post here and provide an example on the module's config page but it did not seem to be mandatory.
-
Also, you do not really need the installer. If you have the db and the files, then they can be restored manually. The installer is there to make the process a lot faster and semi-automatic, less error-prone.
-
It is in: .../site/modules/Duplicator/Deploy/installer.php And that means: https://github.com/flydev-fr/Duplicator/blob/master/Deploy/installer.php
-
Hi, Download the installer called "installer.php" and put it next to the ZIP package in the site root directory. So they must reside in the same directory. Access installer.php from the browser.
-
I agree, thanks!
-
This is OT, sorry, but if there is enough interest, the last few posts could be moved to a dedicated Topic... I do not have to much spare time this year but I would love to help anyone interested in developing an alternative module directory. For example there are such things for WP: http://www.wpmeta.org/ https://managewp.org/plugins/best https://proplugindirectory.com/ and more... ProcessWire is a native cataloging system, as we all know. So it would not take too much time for a few experienced devs to come up with something useful and opensource. What I could contribute is UI/UX design and creating and editing content, for example. We've read lots of other posts about willing to help to boost the ProcessWire documentation, so I guess there should be enough of us to turn it into a success story. This site I propose could be a "module+snippets finder", ie. a "ProcessWire Solutions" site, meaning both modules and snippets could be in the database, making integrated "solution" searches possible. Anybody up to the challenge?
- 11 replies
-
- 2
-
-
- megapixels
- resize
-
(and 3 more)
Tagged with:
-
I'm pretty sure your post here made a difference but that is quite ok, I think.
-
Cool, thanks!
-
[solved] How to disable CKEditor's style preview in the dropdowns?
szabesz replied to szabesz's topic in General Support
Thanks once more! I think I start with this one and see how it goes: .cke_panel_list * { font-family: sans-serif, Arial, Verdana, "Trebuchet MS"; font-weight: normal; font-style: normal; font-size: 14px; margin: 0; } .cke_panel_listItem a { padding: 2px 7px; } padding: 2px 7px; makes the list more compact vertically. -
[solved] How to disable CKEditor's style preview in the dropdowns?
szabesz replied to szabesz's topic in General Support
My bad... I already have that file but I named it differently, sorry for this I added the rules to the end of the css and it does the trick indeed. I just need to refine it a bit! Thank you! -
[solved] How to disable CKEditor's style preview in the dropdowns?
szabesz replied to szabesz's topic in General Support
Thanks Robin! Looks promising. Is there anything I need to do to make it load? So far no success, as this contents.css does not seem to be included this way, I cannot find it... -
Images field - upload already uploaded images
szabesz replied to Marco Ro's topic in General Support
And there is the commercial module called Media Manager: -
[solved] How to disable CKEditor's style preview in the dropdowns?
szabesz replied to szabesz's topic in General Support
As @BitPoet said, there is AdminCustomFiles module (I've never used it), and AdminOnSteroids module can do it too. Also in config.php something like this: $config->scripts->add($config->urls->templates . "admin/admin_global.js"); $config->styles->append($config->urls->templates . "admin/admin_global.css"); A related good read: http://soma.urlich.ch/posts/custom-js-in-processwire-admin/ -
[solved] How to disable CKEditor's style preview in the dropdowns?
szabesz replied to szabesz's topic in General Support
I've been trying to do it too, for years not too much success so far, even though I know how useful it is because it always makes me very happy when I find that I did not forget to document something... -
[solved] How to disable CKEditor's style preview in the dropdowns?
szabesz replied to szabesz's topic in General Support
I did not add it I just use the Input config of the TextArea inputfield: Format Tags Semicolon-separated list of selectable tags shown in the "format" dropdown. -
[solved] How to disable CKEditor's style preview in the dropdowns?
szabesz replied to szabesz's topic in General Support
I've been thinking of hacking it too but as a last resort. The trouble with such workarounds is obvious, when they change the names of the classes, we need to make changes too and I already use some of these admin overwrites. Thanks for the tip though, at least I know where to look at This is just the definition, I cannot see how this can "help". Others were trying to solve this too, eg: https://ckeditor.com/old/forums/CKEditor/Disable-preview-in-format-dropdown https://www.drupal.org/project/ckeditor/issues/2534462 -
module Dev Module to setup Default "New PW"
szabesz replied to [Code] Specialist's topic in Module/Plugin Development
As far as I understand, this module is only about database related migrations and as such not really about setting up ProcessWire. Also, @LostKobrakai doesn't seem to be maintaining it anymore as he seems to be switching to Elixir. -
+1 as it sound like a great approach.
-
Just a quick fix: "...the most powerful tool on this planet..."
-
Hi, I've been searching for the answer but could only find some hacky "solutions" from the distant past. What drives me crazy is the "preview" feature of the dropdown menus: Is it possible to force the dropdowns not to apply the styles of the editor but use the styles of the button of the editor, or at least use the default styles? I need readable menu items, not those cut-off an useless styled ones. Also, only a few menu items fit in the tiny dropdown area. This is bad UX
-
module Dev Module to setup Default "New PW"
szabesz replied to [Code] Specialist's topic in Module/Plugin Development
More on this here by @Robin S: https://processwire.com/talk/topic/16350-processwire-and-phpstorm/?do=findComment&comment=145018 You can also clone "your default site" easily with: https://modules.processwire.com/modules/duplicator/ by @flydev Keep in mind that using Duplicator you will get the same $config->userAuthSalt which is a minor security issue but you can apply the workaround suggested by @horst: https://processwire.com/talk/topic/15265-generate-new-userauthsalt-for-copied-site/?tab=comments#comment-136537 -
Yes it does. Thanx