Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/23/2021 in all areas

  1. Just be aware of all of these issues: https://github.com/processwire/processwire-issues/issues?q=is%3Aopen+is%3Aissue+author%3Aadrianbj+user Some can be fixed with hooks but not all (at least not easily).
    2 points
  2. Hi @benbyf please use your IDE for that: I don't know. I guess updateModuleConfig is deprecated ?
    1 point
  3. Hi @bernhard, yes I agree with @benbyf to have some API documentation. I'm now confused with updateModuleConfig and setModuleConfig. What is the difference?
    1 point
  4. I'm using the on-demand feature a lot. That's why it is part of RockMigrations using one single config setting: $config->filesOnDemand = 'https://example.com'; See https://github.com/BernhardBaumrock/RockMigrations/blob/b09bf8236d376913a63b6fce63f91e05a0da1f2a/RockMigrations.module.php#L413-L453 That works great with one exception: When I delete an image the hooks still try to download the image from remote and this makes two problems: If the file exists on remote, the file will be downloaded to the local filesystem and will never be deleted because the image does not exist in the DB any more so PW will not know about it If the file does not exist on remote I will always get an error that it tried to download an image which does not exist: Any ideas how I can fix this?
    1 point
  5. Here is another advantage of using composer: I am using an automated deployment process for my clients websites via github actions. Right now I have to put all modules in the modules directory under git control and commit every module update to git. This makes every module update another commit in the git log and the git repository very large. With composer.json I would just update one file and my github action (or buddy, or Vercel or whatever deployment tool you use) would install these dependencies.
    1 point
  6. Hi @modifiedcontent It's better to stick to this feature https://processwire.com/blog/posts/processwire-core-updates-2.5.14/#multiple-templates-or-parents-for-users
    1 point
  7. Apologies communication hasn't been ideal. No one who signed up will be left out. You will get an email shortly before or after the release with further information. I am working flat out for Padloper 2 to make Santa's list ? ?.
    1 point
  8. @Simi Problem solved. PHP 7.4 ZIP extension option --enable-zip was removed. You need to manually install Zip and ZipLib in PHP. The rest of the access rights must also be set. But, I still do not understand why errors are not displayed in the log file? Make sure /site/assets/cache/ directory is writeable for PHP. Make sure your site modules directory (/site/modules/) is writeable for PHP. ZipArchive class is required and your PHP does not appear to have it.
    1 point
  9. Thx @MrSnoozles 100% agreed. I see two possibilities: Anybody providing PRs Anybody funding/sponsoring further development of RockMigrations by me I'd love to work more on my modules, but I can't do that all in my spare time ?
    1 point
  10. Many thanks for this, @Mats var request = new Request(url, { headers: new Headers({ 'X-Requested-With': 'XMLHttpRequest' }) }); fetch(request) .then(response => response.text()) .then(data => { console.log(data); });
    1 point
  11. I think the Github acquisition all ties back to selling Cloud and other services to the Developer community. MS is now a services company as Nadella likes to state. I guess future iterations of Github where it integrates with Azure and other MS Products will be the telltale sign
    1 point
  12. Yep, why does it include each machine running Windows? ? +1 They call them "updates" but I'd call them replacing the complete system... Since MS can no longer directly connect to the treasuries of governments around the globe, they need to connect directly to the wallets of people.
    1 point
×
×
  • Create New...