developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
55
results
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working through the output for recently viewed pages... the code structure:
<?php
namespace Drupal\custom\Plugin\GetData\paragraph;
use Drupal\custom\Plugin\GetData\ContentBase;
use Drupal\custom\Plugin\GetData\ParagraphTrait;
use Drupal\node\Entity\Node;
/**
* Provides Recent view pages data.
*
* @GetData(
* id = "recent_view_pages",
* title = @Translation("Recent view pages Data"),
* )
*/
class...
Andrew Fletcher
•
How do you generate a .pem file from an existing .ppk key?
Is putty on your...
Andrew Fletcher
•
Currently I'm working through an app that has been abandoned by the developers....
Andrew Fletcher
•
First off, this isn't the only method to achieve the outcome of emptying a...
Andrew Fletcher
•
Clear DNS Cache
The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
•
Changing git push from passphrase? There are several ways to tackle this step. I'm going to focus one of these steps.
From your web directory root, look for your .git directory. Then open the .git...
cd .gitNext using your shell prompt (iTerm2), view the contents of the config file
vim configPresently the config file looks like the following
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
...
Andrew Fletcher
•
Z shell (Zsh) is a Unix shell built on top of bash (the default shell for...
Andrew Fletcher
•
In this article, you will learn how to update a newsletter template...
Andrew Fletcher
•
There are times when other Joomla! administrators of the site leave a page...
Andrew Fletcher
•
Cached data - keep it or clear it out?
You might have noticed, but...
Andrew Fletcher
•
Adding a new user to your Joomla! website using Community Builder.
Out of the box, users are managed via Joomla!'s user management system.
Access to Joomla!'s user system
This is screen accessible via: Select Users → Manage from the drop-down menus.
However, in this instance we won't be using Joomla!'s solution. Instead working with a component called Community Builder.
Why Community Builder?
Community Builder adds more versatility to your Joomla! website than the...
Andrew Fletcher
•
In this article, I will show you how to update an existing member's details...
Andrew Fletcher
•
In this article, I'll show you how to create a new an Acy Mailing 5...
Andrew Fletcher
•
In this article, I'll show you how to manage an Acy Mailing 5 subscription...
Andrew Fletcher
•
In this article, I'll show you how to edit an existing member's...