• Reset your password
Home
OO PHP, Drupal, Symfony Developer and Architect
Tim Rabbetts

Main navigation

  • Home
  • Blog
  • Log in

Breadcrumb

  • Home
  • node

The PHP Standard Recommendation (PSR)

Tim
Rabbetts
By zarexogre | 8:46 AM UTC, Thu July 30, 2020
php, elephant, blue elephant

The PHP Standard Recommendation (PSR) is a PHP specification published by the PHP Framework Interop Group.

Unable to determine class for field type '' found in the 'field.field.' configuration

Tim
Rabbetts
By zarexogre | 2:03 PM UTC, Wed July 22, 2020
desk, smartphone, iphone

I ran

drush pm:uninstall xmlsitemap

got this error

Open Banking Developer Portal

Tim
Rabbetts
By zarexogre | 6:11 AM UTC, Wed July 22, 2020
  • Read more about Open Banking Developer Portal

Run drush cron inside docker

Tim
Rabbetts
By zarexogre | 12:05 PM UTC, Sat May 23, 2020
business, cargo containers, crate

One way I have found to run drush hourly in cron is by adding an entry like this to the hosts crontab.

Get started with Kubernetes and microk8s

Tim
Rabbetts
By zarexogre | 6:13 AM UTC, Mon May 11, 2020
container, ship, container ship

I've used docker and docker-compose until now, but now looking at possible production containerization and its clear Kubernetes is the way to go.  

Using a CDN with Drupal 8

Tim
Rabbetts
By zarexogre | 8:33 AM UTC, Mon April 27, 2020
server farm, server, work

I recent used gtmetrix to speed review my site and one of the main issues was the lack of CDN use.  A CDN is a Content Delivery Network, you host things like javascript, css, images on a netwo

ERR_CERT_AUTHORITY_INVALID behind corporate firewall or proxy

Tim
Rabbetts
By zarexogre | 2:00 PM UTC, Thu April 02, 2020
cyberspace, data, wire

I got this message while working on a virtual box VM for a large corporation.

Drupal 8: embed entity wysiwyg custom form and then render the value in another form.

Tim
Rabbetts
By zarexogre | 1:59 PM UTC, Thu April 02, 2020
technology, keyboard, computing

Its possible to easily embed entites into the Drupal 8 wysiwyg editor, however, I have a custom form and when I rendered it in another form it didnt render correctly.  The reason was I used ma

Drupal 8: add custom field to menu and template

Tim
Rabbetts
By zarexogre | 1:58 PM UTC, Thu April 02, 2020
programmer, programming, code

Had need to add custom image field to menu items.  First thing is to attach the field using this code in custom module.

Drupal 8: Adding t function to a service

Tim
Rabbetts
By zarexogre | 1:57 PM UTC, Thu April 02, 2020
computer, pc, workplace

So best practice it to use $this->t() instead of t().  However, if you use this in a service it will fail.  I added this code to get t function working:

Pagination
  • First page « First
  • Previous page ‹ Previous
  • …
  • Page 14
  • Page 15
  • Page 16
  • Page 17
  • Current page 18
  • Page 19
  • Page 20
  • Page 21
  • Page 22
  • …
  • Next page Next ›
  • Last page Last »
Subscribe to