Jump to content

flydev

Members
  • Posts

    1,360
  • Joined

  • Last visited

  • Days Won

    49

Everything posted by flydev

  1. Not helping here but just saying, I imported recently more than 800k pages, it took about 16 hours ✌️ I can't remember how much pages I deleted from the trash, but it took the night..
  2. @pout check this answer :
  3. @Krlos You can echo a link to the external file like that (I might not understood all the issue...) : echo $user->profile_contract->first()->filename; To offer a download to your client, check this tutorial and adapt it for your needs (credit: @jmartsch) : https://jensmartsch.de/blog/simple-file-downloads-with-processwire/
  4. You could add the link with jQuery. select your DOM (input: some_link) element append the link to the previous selected element: $('#some_link').append('<a href="#" id="view-link">view</a>') use the click event to open the url : $('#view-link').on('click', function(e) { window.open($('#some_link').val(), '_blank'); }); something like that...
  5. You should add this module to the modules directory , it rocks ?
  6. Concretely, what is the downside to have a lot of fields ? In a setup I have 12 templates and 56 fields (not optimized) and reading the link given by @bernhard I fear your answer now ?
  7. Hi, replace the $notificationMsg->send(...) call by $notificationMsg->mail(...) if you use WireMailSmtp module. or read how to send an email there: https://github.com/processwire/processwire/blob/dev/wire/core/WireMail.php#L13-L46
  8. Just a suggestion, as @wbmnfktr said, you should limit the size for the video on client editing. Then give them a note that they have to use **a video converter from a web service** prior to upload the video to the backend. With https://clipchamp.com/en/products/utilities your video can be reduced from 72MB to 15MB with a really decent quality. Settings are : Preset: Web Resolution: 720p Format: mp4 Quality: Medium You should give a try ✌️ ps: I am not affiliated with them but there are a free plan. Mods, feel free to remove the link..
  9. Which page as example won't get the image on the production site ? Checking kal**s**l.com on a incognito mode I can't see one issue ?
  10. And what tell the server logs ? does it show something ? (apache/nginx/php logs) On the browser dev console, can you see which server response you are getting ? 200, 404, 500 ? Edit/PS: I suggest you to install TracyDebugger asap
  11. @cjx2240 download and install the plugin in the site/modules/InputfieldCKEditor/plugins directory in the field settings, on the Input tab, section plugins, check pastefromword in the CKEditor settings > CKEditor Toolbar, add PasteFromWord save your field
  12. Make that optional in module config, I personally prefer to click ?
  13. Nice work @Robin S thanks you. Just saying, it works on my side with AdminThemeBoss ?
  14. I think I am not wrong saying that actually its not the same request. On the first time you are calling find() on a PageArray and in the second time, find() on a Page object. $allPlayers is now a PageArray and contain only pages with the ~history~ template. When you call find() on a PageArray, you are searching for pages matching your selector that are actually in the PageArray (their children are not in this array!) and that why you get a result of 0 page found. Try to call $allPlayers->children("template=event") on the PageArray to get an imploded IDs string of all the children of the pages that are in the PageArray. Here you are calling find() on a Page object. When you call find() on a Page object, you are searching Pages anywhere below this page object (children, grandchildren, etc.) that are matching the selector.
  15. Are you sure that all Padloper's modules come from the PW3 Github branch and are namespaced as you say ?? You should double check your modules's files and templates using those modules.. It has nothing to do with ProcessWire's core. The robustness of ProcessWire can be broken by third-party module! or I want to say, the developer itself! thats all ✌️ Edit: Also, AIOM+ look not officially supported for PW3, and it look like issues can happen depending the PHP version you are using. Consider using @ryan new version of ProCache. More infos there:
  16. Ok then go to Software/Services section of the cPanel home screen, click Select PHP Version and select the version you want (you should use the last stable release). For the extension (you need to enable pdo_mysql extension here), it should be located in PHP Settings or something like that. Please refer to your host's online documentation.
  17. Hi, looking at the phpinfo, there is not a PDO extension loaded. Ensure that the required extension are loaded - locate and check the php.ini for the following extension and uncomment it if needed : ;extension=pdo_mysql.so Updating this file or enabling an extension can be done in different way, please give us more info about the host (server managed by a Panel ? lamp on vps/ssh, etc). Also, as the hosting provider updated their configuration, you could check if everything required by ProcessWire is installed/loaded by running the first step of this file : Download https://github.com/flydev-fr/Duplicator/blob/master/Deploy/installer.php Upload the file on the root directory Navigate to http://yourwebsite.foo/installer.php Click on "Get Started" and check the "Step #1 - Compatibility Check" result
  18. Nice job @Noel Boss ! Already adopted, modified & installed ! I just tweaked it to get a Google look (controls), removed the transparency on dropdown and reversed the fonts and notes.
  19. @Mirza Did you setup the PHP-FPM status page to grab more informations ? It can return a lot of info using the full report
  20. @alexmercenary did you saw this module made by @daniels and this thread ?
  21. Can be, wrong hostname, wrong MySQL port number, wrong username, wrong password. Double check your DATABASE connection details and double check your config.php file.
  22. bump, tried a better explanation, I hope its more clear now..
  23. ok then check if your new template is in the allowed page (template) in the sections field options (go to Setup > Fields > sections then Input tab)
×
×
  • Create New...