• Content Count

  • Joined

  • Last visited

Community Reputation

9 Neutral

About mke

  • Rank
    Jr. Member

Profile Information

  • Gender
  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks for the update. Makes sense you want to keep this functionality in that separate.
  2. Hi @kongondo, sorry for any confusion. I am purely talking about a frontend account area for customers where they can review orders, manage account info etc whilst staying on brand to the look and feel of the shop. When I mention authentication I meant incorporating a login / registration flow similar to Ryan's Login/Register module. See some screenshots from WooCommerce Storefront theme below. The code for this is here, but I can spin up a demo for you if you want.
  3. Excited about this. One feature request that I am not sure is covered above (apologies if I missed it and am doubling up) is a front-end customer account area. Again, woocommerce is a good reference point for the basics involved. A separate optional module would make sense, and ability to style / customise as needed would be important. Maybe it could be less of a predefined account area and more of a module to manage users, authentication and customer endpoints on the frontend.
  4. mke

    Hey glad you figured out, just realised I'd misunderstood previous post.
  5. mke

    A few things... With the axios call, try querying the relative and not the absolute url. Also, take note of the trailing slash on the url, sometimes that can trip you up depending on your template settings. Finally, you probably don't need to set the entire response to your Vue data object, with axios you are looking for axios.get('/ajax-actions/test-api/).then(response => ( =; If you need to keep the full absolute url, or if you are calling the api page from a different url, then look into CORS. Setting the header below on your template should be enough, depends on your setup (eg see this topic for issues with CORS when using procache). <php header('Content-Type: application/json,charset=utf-8'); header("access-control-allow-origin: *"); //... ?>
  6. Hey @Robin S and @abdus thanks for the tips, both look like viable solutions and are good to know!
  7. Rather than starting a new thread, I'd like to bump this as I am after the same thing. My use case is that I have some file fields that accept html5 video files (webm / mp4) for short video loops that I'd ideally like to be under 2mb, but I can't stop the client from being lazy and uploading much larger files anyway. I'm going to write a module to achieve this restriction for now, but I was surprised it wasn't available out of the box. Thanks!
  8. mke

    My problem from above, which was that Form Builder's form-builder.php template needed to be ignored by latte is now resolved. Tested the update and all working fine. Thanks @tpr!
  9. mke

    Hey @tpr, Thanks for the module. Switched over from Twig and really enjoying the custom filters, makes things much easier. Just wondering about embedding a Form Builder form. As Form Builder creates a form-builder.php template which gets called via Ajax when embedded in another template, I am running into issues for obvious reasons (no .latte view file etc.). I know there are workarounds and different form builder options, but for this use case I feel like am missing something, like the ability to bypass the view or turn latte off on a template basis. Thanks again.