Jump to content

matjazp

Members
  • Posts

    723
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by matjazp

  1. It's not applied because AdminThemeDefault class is set on body, not on html. This is what I have now and it's working here: .Inputfields .InputfieldMarkup .InputfieldContent { margin-top: 0; } div#links { margin-left: calc(100% - 250px); text-align: right; position: relative; top: 35px; z-index: 103; } .AdminThemeDefault div#links { top: .5em; } #AdminActionsList { background: none; } .AdminThemeDefault #AdminActionsList { margin-top: 1em; } Mind z-index on div#links. Because there is no $info['icon'], see the php notice in my second screenshot: array (6) title => "Copy Content to Other Field" (27) description => "This action copies the content from one field to another field on all pages that use the selected template." (107) notes => "This can be useful if you decide you need to split one field into two to allow different settings on different templates. It also makes it easy to move content from one field type to another one that is incompatible." (216) author => "Adrian Jones" (12) authorLinks => array (3) roles => array (1) in ...\ProcessAdminActions\ProcessAdminActions.module:388
  2. Tab is ok, link is not:
  3. It's not a cache. I checked css file, no other site css file is loaded, just from wire and from the module itself. For the Core tab, it's .WireTabs top position in main-classic.css, and for the link it's div#links top position in ProcessAdminActions.css. I'm testing in Chrome. It's looking good in uikit and reno theme.
  4. Hi Adrian, I just noticed a bit odd layout of core tab and actions list link:
  5. Just to add my experience: on the installation, I also got the warning that InputfieldStreetAddress requires JquerySelectize. When installing JquerySelectize, I got: PHP Notice: Undefined index: forceLoad in ...\modules\JquerySelectize\JquerySelectize.module:127 This is probably a problem with JquerySelectize, but the error went away after a few submits (or maybe modules refresh?) so I didn't bother with that.
  6. It also looks that $files->rmdir() method (in WireFileTools.php) could/should check if $path is provided with trailing slash or not. When this method iterates over the directory in recursive mode, the $pathname contains two slashes. But it still manages to delete the folder, php takes care of that...
  7. This error message: Unable to remove: C:/inetpub/wwwroot/site/assets/cache/WireTempDir/.ProcessModuleInstall/ is issued in WireTempDir.php in line 290 when calling $this->rmdir() method in the WireTempDir.php when an module is installed or updated: protected function rmdir($dir, $recursive = false) { $dir = rtrim($dir, "/\\") . DIRECTORY_SEPARATOR; if(!is_file($dir . self::hiddenFileName)) return false; unlink($dir . self::hiddenFileName); return $this->wire('files')->rmdir($dir, $recursive); } When I commented if(!is_file($dir . self::hiddenFileName)) return false; all those temp files starting with dot got deleted. And .ProcessModuleInstall folder along with the WireTempDir also got deleted. If I again uncomment above line and the install a module, WireTempDir is created, the file .wtd is there and .ProcessModuleInstall folder is created and the error is again present. I'm not sure if this is intended behavior? Also, $dir contains forward slashes so $dir = rtrim($dir, "/\\") . DIRECTORY_SEPARATOR; should be $dir = rtrim($dir, "/\\") . "/"; ?
  8. Upgraded from1.0.3 to 1.0.4, the content of the formats_overrides.php is preserved. Pages: Successfully copied C:/inetpub/wwwroot/site/modules/.FieldtypeStreetAddress/formats_overrides.php to C:\inetpub\wwwroot\site\modules\FieldtypeStreetAddress/formats_overrides.php
  9. @pwired thx for response. Using latest dev PW, Win 8.1 Pro with IIS, logged as local admin, have the rights to this folder, the owner is IUSR (user running web server on IIS), permissions looks ok. I don't have access to my home computer right now, but will report back later with the update. Maybe there is a problem deleting a file/folder starting with dot on windows?
  10. There is /site/assets/WireTempDir folder. There is a bunch of empty folders with random names, starting with a dot, eg. .PFM0O90222400 1521174131OsICtIiGFJdM What is the purpose of those folders? Can they be deleted? Also, there is a folder .ProcessModuleInstall and a message in /site/assets/logs/wire-temp-dir.txt: 2018-09-14 05:02:39 admin http://localhost/processwire/module/download/ Unable to remove: C:/inetpub/wwwroot/site/assets/cache/WireTempDir/.ProcessModuleInstall/ I guess it is related to windows environment.
  11. Hi, Steve. Thx for the module. Is there a way to prevent adding the country code to the zip? eg. from "SI- 2000 Maribor" to "2000 Maribor"? Here are some examples of correct addressing in Slovenia: Maja Čebelica Vrtna ulica 1 5000 Nova Gorica Gospa Milena Galeb Morska cesta 11 a 6000 Koper Stanovanje 14/II Gospa Nada Skok Cvetlična ulica 8 2270 Ormož Prodajalna AVTO p. p. 1635 1001 Ljubljana Pošta Slovenije d.o.o 2500 Maribor Firma AG Hauptstrasse 28 CH–5400 Baden Schweiz As seen from examples, street address is not mandatory. Stupid question: what's the benefit of using this field instead of plain textarea?
  12. Ah, known problem with PFE and jQuery. https://processwire.com/talk/topic/19862-front-end-editor-conflict-with-bootstrap-4/
  13. @celfredFEEL checks if a page is editable, but since $user->editable() return false (actually it's userEditable() method), the link is not displayed. Could you edit FrontEndEditLightBox.module and remove && !$this->wire('config')->ajax from line 82 and see if it work?
  14. I tried with <edit fields="table">test table field</edit> and can't replicate. maybe you should try with the latest PW version?
  15. What PW version? There have been some updates to PageFrontEdit a few months ago. It also looks like jQuery is not loaded before other scripts. PageFrontEdit doesn't play well with Jquery 3 used on the frontend. See https://github.com/processwire/processwire-issues/issues/609 and https://github.com/processwire/processwire-issues/issues/574
  16. Looks like extreme-ip-lookup.com can't deal with IPv6 address. And PW is on the same boat.
  17. I prefer buttons or links top left with descriptive text instead of icons...
  18. I can also reproduce, but not always... Chrome on windows, PW 3.0.108, default admin theme and uikit . Also, when you restore a page from trash, the count of the children is not updated.
  19. If I enable "Disable filename truncation for File fields", the download icon is missing. I also have enabled Asset download button and Move to first/last buttons).
  20. Steve, I would like to thank you for your effort on closing stale issues and especially bringing back to life (and to Ryan's attention) those forgotten, but still valid issues, affecting multiple people. Keep up good work!
  21. Hi, @tpr As you may already know, we have Restore tab in page edit, so selectors to hide should be updated with '#_ProcessPageEditRestore, #ProcessPageEditRestore, ' (in .module and with #ProcessPageEditRestore in .js). Also, where in the source are #_WireTabDelete and #WireTabDelete? (I wrote you a PM but I guess you didn't get a notice...)
  22. When I enable AOS and try to move files/images, this happens (incognito mode, no options selected, just enabled module, no js errors): Disabling html.aos{min-width:100vw;overflow-x:hidden} helps.
  23. @Robin S 'requires' => 'ProcessWire>=3.0.83, AdminThemeUikit' doesn't work for you?
  24. Fatal error: Uncaught Error: Call to a member function siblings() on null in C:\inetpub\wwwroot\site\modules\BreadcrumbDropdowns\BreadcrumbDropdowns.module:97 This happen if you have AdminThemeBoss module installed (https://github.com/noelboss/AdminThemeBoss)
  25. 'requires' => 'ProcessWire>=3.0.83, AdminThemeUikit',
×
×
  • Create New...