Jump to content

dragan

Members
  • Posts

    2,010
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by dragan

  1. I wonder if it is possible to customize the inputfield selector: It's working fine as is, but when you click on "matches the following pages", the modal shows columns which sometimes don't make sense (e.g. if I select template=basic_page, I get fields first_name + last_name). That was probably my column selection I made the last time I used the default Finder Lister. Are those stored in cookies or sessions? It would be nice to define preview-columns in the field instance itself, after the initial selector definition. Someone got an idea?
  2. I didn't test these (possible) solutions, but you can either add something to the CKE configuration: https://docs-old.ckeditor.com/ckeditor_api/symbols/CKEDITOR.config.html#.entities_processNumerical or give this plugin a try: https://ckeditor.com/cke4/addon/specialchar
  3. Switching PHP versions is easier with Laragon; give it a try (though PW runs on anything I've used previously: XAMPP / WAMP etc.) That's strange.
  4. Did you try to delete everything in site/assets/cache/FileCompiler/site/modules/ProcessJumplinks/ ? And maybe also go to modules > clear compiled files (button at the bottom).
  5. You can try this (temporarily) https://easyengine.io/tutorials/php/increase-script-execution-time/ or this https://modules.processwire.com/modules/tasker/ together with https://github.com/mtwebit/DataSet/ (and of course, you could split it up into smaller chunks...)
  6. From which century is that site exactly? They sure could use a graphic designer ?
  7. I hardly ever use them myself, but I can see some good reasons where it comes in handy. I didn't know until today that you can also create direct edit-page bookmarks. https://processwire.com/blog/posts/processwire-2.6.17-expands-admin-navigation-with-bookmarks/#page-edit-bookmarks
  8. Wow, thanks a lot! ? Will give it a try tomorrow.
  9. Just a wild guess, but try to add $config->advanced = true; to your site/config.php file
  10. works fine in my Chrome though...
  11. Did chuckle: https://github.com/craftcms/cms/issues/805 Apparently, Craft 3 still doesn't have conditional fields...
  12. ouch, sorry, of course ?
  13. @Robin S Thanks a lot for this module. Is it possible to show also custom page list names? i.e. if I define in my template to use certain fields for page list {title} {client_name} {pl_active_only} {year} (edit template > tab "advanced") I still only see the default title being displayed.
  14. You can use the Google CSE in my sig as an alternative
  15. Now it gets even weirder: On some pages I see a /page/?open=123 link, but no matter which level up I click, I always get to the main page.
  16. This is quite weird... I just noticed today that when I edit a page, the last breadcrumb item doesn't link to the page's parent, but to the main /page view. It shows the correct title though. The link is correct for all the parent pages further up. Just the immediate parent page breadcrumb link doesn't get added the usual /page/?open=123. Admittedly, I have been tinkering about with several site settings today (mainly users/roles/permissions - but I was always logged in as superuser, so that hardly could interfere with this issue), so I'm afraid some of those changes might have broken some stuff. Does anyone else see the same behavior? ProcessWire: 3.0.125 PHP: 7.2.14 Webserver: Apache/2.4 MySQL: 10.1.35-MariaDB Admin Theme: UIKit Are there hooks where you can change admin-breadcrumbs behavior like that?
  17. Perhaps you'll need to uninstall and reinstall your module. Or click at the bottom button in modules > clear compiled files, to see your changes.
  18. dobro vece ? I think you'll have to define your input field as type "TextareaLanguage" or "TextLanguage". And in your module use something like $field->label = _('Title');
  19. Nice! First post and you already come with a new module ? I'll take your module for a test-run soon. edit: A quick glimpse at your code shows me you apparently didn't take into account translateable strings, i.e. multilanguage setups: $field->label = 'Activate Releasetime from?'; https://processwire.com/docs/multi-language-support/code-i18n/#translatable-strings
  20. If you don't change JS + CSS all the time, consider local tools like Grunt, Yarn, Gulp, Webpack etc. IDEs like PHPWebStorm can do LESS/SASS -> CSS compilations too.
  21. hehe, sorry, it's a lazy Sunday here... of course you'd use == or <1. Maybe you can even use if(!$page->field) but I'm too lazy to test
  22. if $page->landingpage=0 ? see below...
  23. I just installed this module. It works great here with the latest PW dev install. Would it be possible to configure the inputfield / module to allow multiple images as well? I'm thinking of scenarios like: an editor being able to quickly re-use images to build a gallery, slideshow or similar.
  24. Yep. And add a nice touch to convert automagically label/link-texts to title attributes, so when the author hovers over an image, he knows exactly what kind of matrix item he/she will add.
  25. I guess it's just CSS? a.InputfieldRepeaterAddLink.InputfieldRepeaterMatrixAddLink.InputfieldRepeaterAddLinkInit[data-type="3"] { font-size: 0; width: 150px; height: 100px; display: inline-block; background-image: url(https://via.placeholder.com/150); background-repeat: no-repeat; } span.ui-priority-secondary { display: none; }
×
×
  • Create New...