Jump to content

Mikie

Members
  • Posts

    191
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Mikie

  1. Mikie

    SeoMaestro

    Hi @Wanze, I was just suggesting for new functionality maybe it is best to default to off initially, eg for this update have Breadcrumb unchecked by default and allow users to opt in and test. Nothing to do with controlling other modules settings. My rationale for this is that since this module directly renders output, updates that add functionality are essentially breaking in that they affect rendered html. I would think only essential updates that are needed for the module to function would default on. Just a thought. You are right re TemplateLatteReplace, This line: https://github.com/rolandtoth/TemplateLatteReplace/blob/cbac28b93e74e3ba51f7ce32f374c385e406d09a/TemplateLatteReplace.module#L186 checks against current page template not the template called by the TemplateFile class. This is fixable by getting the basename from $templateFile->filename instead, will submit an issue to @tpr. Thanks for the response!
  2. Mikie

    SeoMaestro

    Hi @Wanze, getting an error with 0.8.0 update with the structured data breadcrumb template using TemplateLatteReplace module. Its fine as I can ignore that file with Latte using the module settings, but maybe changes relying on rendering templates like this should default to unchecked, as I assume same issue would occur with other template systems.
  3. Hey @Macrura. Great module! Using code example above for the image example, seeing this on latest pw dev: This is happening through the admin theme setting explicit height for the selectize-control div, see below: .uk-form-small:not(textarea):not([multiple]):not([size]) { height: 30px; padding-left: 8px; padding-right: 8px; } .uk-form-small:not(textarea):not([multiple]) { height: 30px; padding-left: 8px; padding-right: 8px; }
  4. Ah interesting to know thanks.
  5. Yeah, but the hype behind it was that everything was swappable, including ssd drives and cpus. There are expansions slots but one of the main issues with the trashcan Mac Pro was that you couldn't upgrade cpus, I'll be interested to see if that's possible. I've actually been waiting for months for this announcement to decide what monitor to buy, I was hoping for an upgraded standalone 5k Thunderbolt Display from apple and they've dashed my hopes. Im as much an old school designer (lots of print work) as a dev and I am dying for retina desktop monitor. Should have got an iMac instead of the Mac mini last year!
  6. I like that new screen, but again now that the prices are out (1k extra for the stand ?) the lg 5k is looking affordable. Also if you do the math, you get the 5k monitor in the iMac 27” for way cheaper than market value. What happened to all the talk for years of the upcoming “modular” Mac Pro? Does this live up to the hype? I didn’t see “modular” on the product page but I only skimmed through.
  7. The price will definitely blow your socks off!!! For affordability and power, you can't go wrong with the 2018 Mac mini. Don't believe all the hype about needing an egpu either unless you are running intense games in windows vms or doing hardcore video or 3d work in specific apps... the built in gpu on my Mac mini is by a very long way the least taxed component, most of the time it pretty much idles at under 5% utilisation. Would you ever get one of these Mac Pro's @Jonathan Lahijani?
  8. Not at all. Hoping I didnt open a can of worms! Back to the main topic at hand, I have a question which I'm not sure has been asked or covered already... this thread is getting long! The original modular nature of Padloper, whilst a bit confusing to start with, was great to get going quickly and simply. I remember reading mention of v2 being much more integrated (everything intergated in one install). I'm assuming the base install will be a basic shop, and eg subscriptions or downloads would be something you enable by configuration. Is this the case? Like others v excited by all this. Its ending up way more capable than I imagined.
  9. Since I started this naming discussion I'll chime in. Agree with all the above @kongondo and @teppo, if you think if it as ecommerce for current ProcessWire devs then no worries - the name is unique and already ranks well, and changing things is more work and not something to be done lightly. My rationale for bringing this up was that ecommerce is such a competitive, active space, and the solutions are all so frustrating to work with as most here can probably attest, that I feel like this will definitely draw new devs to PW itself. My original chain of thought was this: although the Pro modules are by convention officially developed and supported by Ryan, something generic like ProShop or ProCommerce which was officially endorsed and listed in the Pro shop would make sense. Then the name also becomes about PW as well, eg Processwire ProCommerce, and it is very clear what the module does and what system it integrates with. Alternatively, I think it is worth considering wording around Padloper and Processwire, like eg. WooCommerce which is the "eCommerce platform for Wordpress". I feel like you could definitely get out there into ecommerce solution comparison lists and quadrant listings and all the constant chatter that goes on around this. The same "what is the best ecommerce platform" or "which is better, shopify or woocommerce" questions are posted on reddit almost weekly, it is more in this space that I am thinking about the use of the name.
  10. Mikie

    SeoMaestro

    Nice one @3fingers. Thanks @Wanze hook works great. I like this truncate function, simple and works as advertised: https://www.the-art-of-web.com/php/truncate/ Regarding the above when you say left to the template engine what do you mean? I assume disable that tag from automatic output by Seo Maestro and add yourself using eg twig filter?
  11. Mikie

    SeoMaestro

    @3fingers Having said all the above, maybe it is easiest to just disable the tag you are having trouble with and add it manually? Or for that template render out each one individually and build the image tag yourself. This is Processwire’s only issue, for every problem there are a million solutions!!!!
  12. Mikie

    SeoMaestro

    @3fingers I feel like the RuntimeMarkup module might be good for this also, although again I’ve never used it don’t know much about it. Im thinking you could create a hidden field to search your matrix and return the image url. This is what I will initially try to use to truncate my too long descriptions.
  13. Mikie

    SeoMaestro

    Hi @3fingers, you could hook page save to copy first image found in the matrix to a hidden image field, then reference that. I literally just installed this module for the first time so I am not exactly sure of the correct way to do it, but you could also probably hook page save to copy the image url directly to the og:image setting. I came to ask a similar question, as mentioned I haven’t even tested this yet so sorry if I missed something ... if you reference a field for the description with large amounts of text does it automatically truncate the text? If not, is there a way to do this in the {field} placeholder, like {field|truncate:200} ? Would be handy.
  14. If time to re-do branding is an issue I'm sure there are plenty of people here who would happily line up to help work on it a few free licenses, myself included.
  15. Hey @kongondo, speaking of classnames, has there been any thought of rebranding to something more accessible for people outside the PW community, like eg Procommerce or Commercewire ?? Just feel like the name was always pretty random and doesn't really seem to have any particular meaning – worlds smallest turtle? – or evoke feelings of a power and capability.
  16. Thanks @horst For clarity, setting max_execution_time is seemingly working, in that if set to 0 I get "Maximum execution time of 0 seconds exceeded". I have checked a bunch of the things you mentioned, but will double check, there is definitely something amiss. I read on some website earlier today (can't find it now, will hunt down the link) that there can be some buggy behaviour with this setting in php, and that other services can cause it like the server (apache has a max execution time as well, default 300). Also noticing that imagemagick is 1000% maxing all 6 of my cpu's on these transforms, although I guess that's what they are there for. Edit: link mentioned above http://bafford.com/2016/12/02/php-misleading-error-maximum-execution-time-of-0-seconds-exceeded/
  17. Two apache processes running (system and homebrew), I must have launched the system one again by accident somehow. Anyway, solved and solution here for posterity! Above was false flag sorry. Even setting max_execution_time to 0 in php.ini isn't working. Only thing that works is to also set max_input_time to -1. This is for scripts that run for about 10 or 15 seconds. Might be time to set up docker again.
  18. Definitely my dev environment (which is homebrew apache, php, mariadb on macOS) as on staging server things are working fine. Will update if have more info.
  19. I'm getting very fast timeouts on my local environment when resizing large amounts of images. Environment is php 7.3.5, PW 3.0.123, imagick 3.4.3. Imagick and creating variations does work, but on a page with > 10 images or so it will fail after about 1 second of execution and 10 image-sizer success logs with: Fatal Error Maximum execution time of 120 seconds exceeded. Call stack traces to line 364 in wire/core/ImageSizerEngine.php $options = array_merge($this->wire('config')->imageSizerOptions, $options); I feel like this is something wrong with my local environment, but just thought I'd check if anyone has experience anything like this.
  20. This is great work here in this thread tho, awesome stuff.
  21. If you have mod_pagespeed on your server it can convert jpg to webp on the fly. Can do lots of other amazing stuff also.
  22. @wbmnfktr I've started to see this kind of thing more, like here https://webpack.js.org What do you think of this? To me I find it a bit weird that the skeletons don't match the content, however I get why people use it in PWAs since they are so fast to route.
  23. As mentioned I am going to try to submit some issues / pull requests for this, just super busy right now and want to take some time to fully understand how Ryan has set up the admin theme first.
  24. @bernhard yes that screencast is exactly what I am talking about. What you mention is one solution but as @tpr says it does slow down perception of load. A good analogy is a large gallery of images on the front-end. You could wait for all the images to load then show the parent div, but this would obviously take time. Or you could lazy-load (render the layout and load in images with js via src tag manipulation as you scroll), however if you don't add a placeholder file or do styling to match the aspect ratio and appearance of the final image then your gallery will jump all over the place as different images load in. In your screencast, if the the footer were hidden until the main tab content was loaded then the whole feeling of that page would be smoother.
×
×
  • Create New...