Jump to content

elabx

Members
  • Posts

    1,496
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by elabx

  1. Exactly that one haha!
  2. Man I also figured this out, I hadn't had the time to come back and report! It's all very rough but I basically load through the local server by vue-cli-service serve. I followed a Wordpress tutorial so I have no idea what the webpack config actually does and it must have something to do with the success, but it worked good enough to start working. Now I feel I've wasted my life without hot reload ?
  3. Any errors in javascript the console??
  4. Great addition!! Kudos to @bernhard for bringing this on board!
  5. Maybe try setting caption directly without the set method: page()->image->caption = $description I'm thinking set method is trying to act on the Pageimage object properties, and not be affecting the image fields.
  6. Try setting the page's output formatting to false before saving. page()->of(false);
  7. What about executeFor?? https://github.com/ryancramerdesign/ProcessWire/blob/master/wire/modules/Process/ProcessPageSearch/ProcessPageSearch.module#L157
  8. If I remember correctly this wasn't working like expected due to Autocomplete using ProcessPageSearch. This github issue have some info and code that could be useful.
  9. This has happened to me when a Warning or Error is appended for some reason on the response of the ajax upload and the icon keeps spinning. Try disabling errors and warnings through php settings.
  10. Nice tip!! To elaborate on other examples, I do something like this to have this same "code to view" per page (in the sense of one code per page) like this on ready.php: if(!$user->isLoggedIn()){ wire()->addHookAfter('Page(template=sometemplate)::viewable', function($event){ $page = $event->object; $pass = wire('input')->get->text('pass'); if($page->page_pass && $pass){ if($page->isUnpublished() && $pass == $page->page_pass){ $event->return = true; } } }); }
  11. Are child pages published and not hidden? Does using using find() have the same issue?
  12. Hi! Wanted to know if anyone has a more elaborated guide on how to use Vuejs with Proceswirer for Process/Inputfield modules with hotreload and all the webpack nice thingies ? so that for example, I can view the process/inputfield module in development in the context of the ProcessWire pages/routes.
  13. If you don't want to get into server management/installation of lamp stack i'd recommend Ploi, Runcloud, Serverpilot or one those to skip that part. I've alway felt it is worth every penny.
  14. I think this might be happening! I remember this happening to me when working with the webp hooks. https://processwire.com/blog/posts/webp-images-and-more/#webp-image-strategies-in-processwire $wire->addHookAfter('Pageimage::url', function($event) { static $n = 0; if(++$n === 1) $event->return = $event->object->webp()->url(); $n--; }); Word from Ryan on that post:
  15. I've been using Sizzy and want to try this to see how it compares!
  16. Maybe saving it as a property of the page instance? $page->hanna_counter = $page->hanna_count + 1
  17. I've done this another way around by sending requests from Google Sheets to a URL with custom functions. https://developers.google.com/apps-script/guides/sheets/functions
  18. What a great looking website! Everything looks/feels on spot! And Shetland does look awesome too haha. PageimageSrcst is in all my installs from the moment it releases. Can't thank enough for that module!
  19. This just happened to me a few days ago when I disabled the tags on the image field (I think there is a Use Tags? checkbox). Adding it back fixed although I haven't had time to figure out what's going on.
  20. Are you doing any $pages->find() or get() on the pages with such performance?
  21. Any info on the last pages of this thread? I remember some issues with the most recent php versions.
  22. I do have maybe a weird setup:
  23. I think you're talking exactly about the Migrations module from @LostKobrakai and I believe you can use RockMigrations within it without problems. It says it's deprecated but works just fine, I'm using it on latest PW master. I do this exactly with that migrations module having the migrations in version control.
  24. Running 3.0.165 I have this weird thing happening where somehow pages with children don't show the Trash action, I can only delete them from the edit screen. I have access control enabled and the user with the role that shows this behaviour have the page-delete permission enabled and everything that seems to be needed to edit/publish/trash since the user has worked without issues up until noticing this detail. Single pages on the main root also display the Trash action. Parent Page without the trash action: First children with the Trash action: Forgot to mention this is all fine for superuser.
  25. Hi @bernhard ! Pretty much the same use as @Ivan Gretsky. I also use the backup functionality when making batch migrations of data along multiple installations or just when I want to do it quickly from cli.
×
×
  • Create New...