Monthly Shaarli

All links of one month in a single page.

December, 2016

GitHub - Hube2/acf-post2post: Automatic Two Way (Bidirectional) Relationships with ACF5 Pro

certainlyakey starred Hube2/acf-post2post

GitHub - PhilippBaschke/acf-pro-installer: A composer install helper for Advanced Custom Fields PRO

certainlyakey starred PhilippBaschke/acf-pro-installer

GitHub - fxbenard/Blank-WordPress-Pot: Blank-WordPress-Pot is the starter pot file to include in your language folder

certainlyakey starred fxbenard/Blank-WordPress-Pot

Exploring Group Resizing in Sketch 39 – BPXL Craft – Medium

One of the items that’s long been on my personal wishlist for Sketch is the ability to work natively with responsive layouts, and the next Sketch release, version 3.9, (currently in beta) will finally introduce that via the new Group Resizing feature. Auto Layout-style functionality has been available since Sketch 3.3 via the excellent Sketch Constraints plugin, but being able to work this type of layout magic without third-party plugins will be a major plus.

Domain specific UserChrome.css and UserContent.css? - forum.userstyles.org

Actually, you might be in luck! If you want to style a tab according to the domain, the TAB element has an attribute called IMAGE which is the URL for the Favicon it displays. If the website has a favicon then you can do this:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
tab[image*="example.com"] {background:red !important;}

Top Thirteen Drupal Twig Helper Modules | Xeno Media

We have been loving learning Drupal 8’s theming system over the last year.  Drupal 8 core now uses the Twig template engine, which is a fast, flexible, and secure system that allows use to create the markup needed for the modern web.

What you can do with Drupal core’s Twig is pretty great, but the Drupal community always brings so much more to the table after real world use.  We don’t use them all, all of the time, but have used many as our design and development needed.  Here are our favorite modules to help build out your Drupal themes.

How to hide pages in the WordPress admin • John Parris

Sometimes it’s handy to hide pages in the WordPress admin from certain users. For example, when using WordPress as a CMS, where you define a static front page and a Posts page for all the posts, you might not want users trying to edit the Posts page since their edits won’t show up on the site anyway. A common scenario I see is users trying to edit the dummy “News” page assigned as the Posts page, or trying to change the front page of the site by editing the dummy “Home” page.

HTTP_HOST and SERVER_NAME Security Issues | Blog | ExpressionEngine

That sounds really convenient, but there is a problem. The $_SERVER['HTTP_HOST'] and $_SERVER['SERVER_NAME'] variables can be changed by sending a different Host header when accessing the site. Doing that, any URLs that used $_SERVER['HTTP_HOST'] or $_SERVER['SERVER_NAME'] would use notyourdomain.com.

Composer is the new Drush - Drupal Developer Training (internal)

Drupal project codebase can and should be managed with Composer, as it provides better and more reliable results when building codebase. Drupal Console is replacing Drush -based workflows fast.

the Wordpress password hasher - a mainframe8.com service

the Wordpress password hasher implements the Portable PHP password hashing framework, which is used in content management systems like Wordpress and Drupal. Here you can convert a password to the required hashsum, which can be used to set a new password directly in the database.

GitHub - studio24/wordpress-multi-env-config: WordPress Multi-Environment Config

certainlyakey starred studio24/wordpress-multi-env-config

GitHub - nystudio107/disqus: A simple plugin for integrating Disqus into Craft CMS websites, including Single Sign On (SSO) and custom login/logout URLs.

certainlyakey starred nystudio107/disqus

GitHub - farmstudio/slugcharmap: Craft CMS slug character map

certainlyakey starred farmstudio/slugcharmap

Remove Wordpress emoji code in your header without plugin

Here is a quick tip to remove the piece of code added by WordPress 4.2 in the header of your pages about emoji icons.

GitHub - timber/starter-theme: The "_s" for Timber: a dead-simple theme that you can build from

certainlyakey starred timber/starter-theme

ACF | Bidirectional Relationships

This tutorial will cover the concept and code for creating a bidirectional relationship between posts using only the Advanced Custom Fields plugin.

This tutorial uses a Relationship field to select posts, however a Post Object field with multiple selections enabled would work just the same as both field types save data as an array of post ID’s.

Wallace WordPress Theme

A next-generation* WordPress theme built with the Rest API and Angular

Styling And Animating SVGs With CSS – Smashing Magazine

CSS can be used to style and animate scalable vector graphics, much like it is used to style and animate HTML elements. via Pocket

Styling SVG <use> Content with CSS | Codrops

One of the most common use cases for SVG graphics is icon systems, and one of the most commonly-used SVG spriting techniques is one that uses the SVG element to “instantiate” the icons anywhere they are needed in a document. via Pocket

Flexbox Defense

Your job is to stop the incoming enemies from getting past your defenses. Unlike other tower defense games, you must position your towers using CSS!

ElkArte, Free and Open Source Community Forum Software

ElkArte is a modern, powerful community building forum software. It is completely free to use and is licensed with an open source BSD-3 clause license.

Does Google crawl and index dynamic content?

For the purpose of validating the technical concepts behind distributed content service Teletext.io, here is a series of experiments to see what gets indexed and what doesn't if javascript and Google Tag Manager are used to inject content and JSON-LD in your page.