Jump to content

arjen

Members
  • Posts

    1,222
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by arjen

  1. Thanks @flydev I think you are right about this. If you need any testing help, please let me know.
  2. Hey flydev, Looks great. How far have you developed this? The other module is at the very least beta software. I've got it running on several websites and it is running quite fast and smoothly. On the other hand I think there could be improvements. Perhaps you could join forces? Your modules both have the same goal. If you need help, I'm happy to help in any way.
  3. So, finally got some time to get back to setting up new backup services and it turns out from > 3.0.42 (latest stable) fixes the Filecompiler issues I think Ryan made some changes regarding the file compiler a while ago. For now I've changed: FTP with TLS/SSL support Dynamically loading of ProcessWire bases on the current folder I have sent a pull request.
  4. http://wolfpie.co.uk/contact => very nice!
  5. Harmen, I've used TransIP before and I only had to change the .htaccess: Options +FollowSymLinks to # Options +FollowSymLinks If you have modified the .htaccess, I suggest you try a clean .htaccess from the ProcessWire github repo and apply the above change.
  6. The module you are using is pretty old (<2.4 support). An alternative might be to use CroppableImage. Read more about the 3.x release in this thread.
  7. Probably something to do with the php garbage collection. Check this out: 1, 2.
  8. You can use wireshell as well. This is really handy. Just give the following command and grab a coffee wireshell page:emptytrash I'm not really sure if it will delete everything in one run, but I deleted 60k pages the other day without problems. Really fast too and the main advantage is that you are not tied to a PHP session.
  9. We didn't define the $image variable. How about this? <?php $features = $pages->find("template=newsitem, limit=3, sort=-date"); foreach($features as $feature) { $img = $feature->image->size(320, 180)->url; echo " <div class='column is-4' >" . "<img src='$img' alt='' />" . "<h3 class='title is-4'><a href='{$feature->url}'>{$feature->title}</a></h3>" . "<p><span class='date'>{$feature->date} &nbsp; &bull; </span>" . "{$feature->summary}</p>" . "</div>"; }
  10. This should work: <?php $features = $pages->find("template=newsitem, limit=3, sort=-date"); foreach($features as $feature) { $img = $image->first()->size(320, 180)->url; echo " <div class='column is-4' >" . "<img src='$img' alt='' />" . "<h3 class='title is-4'><a href='{$feature->url}'>{$feature->title}</a></h3>" . "<p><span class='date'>{$feature->date} &nbsp; &bull; </span>" . "{$feature->summary}</p>" . "</div>"; } You can read more in the docs. On why you should use first() - or not.
  11. No problem. I want to install this on several sites we are running. Looks like it has to be done this weekend. Will get back to you.
  12. Hi @rastographics, this module won't work out of the box with PW 3.x. You need to do some changes to make it work. I don't know which one from memory, but I got a copy running locally at home. I might find some time tonight to update the code and send @rot the Pull Request I promised.
  13. Question is: how to get it published again? I've just created an account, but can't find the request for publication button. There seems to be a way, but I can't find it.
  14. I don't know why the ServicePages isn't in the modules database, but it is still available on github.
  15. Definitely. I was looking for something else in the forum and stumbled upon your module. It does exactly what another backup script (PHPBU) is doing, but now from within the admin panel.
  16. The JSON import/export functionality Ryan is talking about is already in the admin. The buttons are located on the bottom side of the Fields and Templates page in the admin: If you want to automate database migrations you could use the Migrations module by lostkobrakai. There are several other posts floating around dealing with this issue.
  17. You need to enable the "use page numbers" checkbox on the template on which you want to pagination to be shown. Could you clarify what you mean? You want pagination on the output of the children too?
  18. When you need a simple count is it preferred to use: count("selector") versus $pages->find("selector")->count() since count("selector") method is way faster.
  19. You are on the right track. You need to add some additional logic to your template. You can read more about pagination in ProcessWire here.
  20. It wasn't there in 3.0.15, but it is in (at least) 3.0.39. Thanks @ryan, minor fixes like these really improve the overall user experience.
  21. Hi @rot, Thanks for this module. Are you still using this? I'm wondering because I couldn't find it in the module repository. It works really great. I've got some minor fixes (i.e. errors on 3.x due to namespaces, errors since my PW install is in a sub-folder) for which I will send a Pull Request.
  22. arjen

    Deployer recipe

    Thanks mate. Appreciate it!
  23. arjen

    Deployer recipe

    You do it manually or got a small bash script to handle the copying?
  24. arjen

    Deployer recipe

    Thanks Can. I also don't have the config.php and assets folder version controlled. So you copy the config.php and contents of assets to your shared folder and then deploy?
×
×
  • Create New...