Skip to main content
36
results
Andrew Fletcher
I want to create a content type that has a paragraph.  Easy enough. What happens when I want to extend this concept and have a paragraph within the first paragraph?  Importantly, then display the second paragraph in a twig file. How to create a content type that holds a paragraph within a paragraph and make it display in twig files?   First, I thought I would use kint() or dump() to review the output and generate the structure to the data directly in the twig file. Given we...
Andrew Fletcher
Since upgrading to Drupal 9.3.0 have you come across this error? Edit...
Andrew Fletcher
When you have an entity ID value such as node ID (nid) or taxonomy term ID, how...
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
Ha you have read it before, one of those throw away lines that is written "just create a cartfile".  So your thinking carthage update, carthage init, create a plain text document, etc... all wrong.  How do you know... when you run carthage update, you receive the following error Get this error: "No such file in directory" So how do you "just" create a Cartfile? Oh, there are no instructions on the Carthage page either.  Feeling a little ticked off, how do I "just create" a...