As web developers, the command line is becoming an ever more important part of our workflow. We use it to install packages from npm, to test API endpoints, to push commits to GitHub, and lots more besides. My shell of choice is zsh. It is a highly customizable Unix shell, […]
Daily Archives: December 4, 2019
As much as I enjoy the dynamic aspect of arrays, there are times where I want my arrays to be strictly of a certain type without having to worry about iterating and type checking that data as I insert or select said values. submitted by /u/SaltTM [link] [comments]
I’m currently working with url rewrites and I’m looking for a way to get the frontname of a route from a module. This is for module that I’m customizing, not a new module. I don’t want to have to change the id as I would probably need to change quite […]
My Contact Us page, Password Reset, Forgotten password and possibly a few other pages are having their page title overriten to say “Customer Login”. I have a feeling that the culprit is located here,… vendormagentomodule-customerBlockFormLogin.php protected function _prepareLayout() { $this->pageConfig->getTitle()->set(__('Customer Login')); return parent::_prepareLayout(); } My layout files seem to be […]
I have managed to set up Varnish for magento 2 using nginx to handle SSL. However if I try to use the vcl file provided by magento varnish stops working with the usual “Error 503 Backend fetch failed Backend fetch failed” error. There is nothing in the logs nothing shows […]