Skip to main content
28
results
Andrew Fletcher
When you have an entity ID value such as node ID (nid) or taxonomy term ID, how can you create the alias in a twig file?  In other words, instead of /taxonomy/term/{tid} I would like to get the alias I have defined for this, eg: /some/path/to/my/term. In trying to find an answer you might have queried your search criteria using something like twig canonical taxonomy path twig canonical entity path twig canonical node path  How to achieve This is achieved through using the...
Andrew Fletcher
Working in Twig, I had to add classes to a pre-existing array.  Whilst I've...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
Localization is the process of showing other languages in your app and is...
Andrew Fletcher
Installing Laravel on an Apache server was going to be a no fuss process said no developer!  Research done.  Documentation looks good and easy to follow.  Time to load Laravel.   The set-up The install notes on Laravel are easy to follow.  Beginning with checking that your server is able to install Laravel. Using shell commands check that your server has the minimum requirements.  To do this run the command php -m -bash-4.1# php -m [PHP...
Andrew Fletcher
Adding a pem file to secure ejabbered on the server for chat connection. Getting...
Andrew Fletcher
To create a .pem file, is quick once you have your .p12 certificate.  I...
Andrew Fletcher
I had the issue where I needed to filter an array list by a specific column....
Andrew Fletcher
A handy resource list of fonts for iOS: iOS Font List -...
Andrew Fletcher
https://github.com/kylebrowning/waterwheel.swift After a short amount searching I came across Kyle Browning Waterwheel Pod.  I flipped down to installation and there it is in three steps.  Super.  But wait.  Step one, CocoaPods.  What are pods? https://cocoapods.org/ Easy to follow, in no time cocoapods are added. Using terminal you need to initialise the pod to the directory where the Xcode project is located. cd ~/Path/To/Your/Project/ pod init pod update This...
Andrew Fletcher
Ha you have read it before, one of those throw away lines that is written "just...
Andrew Fletcher
After coding for 16 years... I have decided to have a go at building apps in...