“The way to get started is to quit talking and begin doing.”
~ Sounds like Yoda, but Walt Disney said this (image from this Pinterest page)
“The way to get started is to quit talking and begin doing.”
~ Sounds like Yoda, but Walt Disney said this (image from this Pinterest page)
This image is a great example of why I rarely look at health-related stuff on the internet. But ... when doctors start saying words to you like Pheochromocytoma and Paraganglioma, this is what you’re looking at.
(Image from the Columbia University Department of Surgery.)
Google just tweeted about this new Material Design for Wearables website. Some of the main content categories are Design Principles, System Overview, Components, Patterns, and Styles.
If you have a Drupal 8 website and your images are not showing up on your image/photo nodes, one possible problem (which I just learned) is that your Drupal 8 theme needs to refer to {{ content }} in node.html.twig and not {{ content.body }}.
I don't know why you have to do that, but after four hours of troubleshooting the problem with my own Drupal 8 website/theme, I can confirm that if you don't do it, your images/photos won't be shown on their nodes. (All I was trying to do was to separate content.body from content.comment, and when I did that my images no longer showed up at their nodes/URLs.)
A website named payscale.com says this about learning Scala: “Depending on your line of work, there are certain in-demand skills that — should you possess them — can equate to a bump in pay compared to the average salaries in your professional field. Mastering these skills will likely help you earn a higher salary.”
Simon Fletcher was elected to the Denver Broncos Hall of Fame yesterday. He was just on a local radio station, and sounds like a really nice guy. He has a BBQ restaurant in Fort Morgan, Colorado named Grid-Iron Grill & BBQ, and I’m going to have to take a trip there on day to check it out.
Wim Leers has at least three good blog posts on the Drupal 8 “Page Cache” and performance, which promises to be much better than Drupal 7 performance. Drupal 8 now has page caching enabled by default states, “Drupal 8 is now between 2 and 200 times faster than Drupal 7 for anonymous users.”
Drupal 8’s Dynamic Page Cache discusses D8’s Dynamic Page Cache. As the article states, “The Page Cache module only works for anonymous users, the Dynamic Page Cache module takes that a step further: it works for any user.”
renderviz: tool visualizing Drupal 8's render tree provides a few more details, and also provides a demo of the cool Firefox Developer Tools 3D view. The image I show comes from that page.
As I wrote in Huge Drupal 6/7 Boost module performance improvements, the Boost module for Drupal 6 and 7 makes this website render pretty fast, and it sounds like Page Cache is a replacement for Boost in Drupal 8.
As a quick note, if you need a Drupal 8 Twig template if/else/then structure where you test to see if a string value is in an array, code like this will work:
{% if node.getType not in ['photo', 'text'] %}
<div class="similar">
{{ similar_by_terms }}
</div>
{% endif %}
That code can be read as, “If the node type is NOT ‘photo’ or ‘text,’ emit the HTML/Twig code shown.”
I was just trying to modify one of my Drupal 8 template files — node.html.twig — and I couldn’t find any good documentation for what variables/values/fields are in the Drupal 8 Node class, so I dumped some output to my browser, and saw that these are the Node fields:
In honor of “Mental Health Month,” this is Ophelia, by Natalie Merchant.
Ophelia’s mind went wandering
You’d wonder where she’d gone
Through secret doors
Down corridors
She’d wander them alone
All alone...
May is “Mental Health Month,” and Gemma Correll has put together a great series of images to recognize it. This Facebook link might take you to the beginning of her illustrations.
One of the things I realized lately is that it’s dumb for me to use Drupal for several of my websites. To be more accurate, it’s not dumb to use Drupal to create the website, but it’s dumb for me to serve the website using Drupal when they can just be served using static pages.
You can’t use the same theme code in Drupal 8 that you used in Drupal 6, so I’m currently trying to remember everything I’ve forgotten about CSS, hence these bright rectangles of color. One thing I learned today is that the brown-ish footer in this layout needs to have the attribute, clear: both.