Drupal

Appnovation Technologies: Simple Website Approach Using a Headless CMS: Part 1

drupal.org aggregator - Wed, 02/06/2019 - 03:00
Simple Website Approach Using a Headless CMS: Part 1 I strongly believe that the path for innovation requires a mix of experimentation, sweat, and failure. Without experimenting with new solutions, new technologies, new tools, we are limiting our ability to improve, arresting our potential to be better, to be faster, and sadly ensuring that we stay rooted in systems, processes and...
Categories: Drupal

Brian Osborne: Adding MySQL UTF8MB4 support to hundreds of Drupal 7 multi-sites

drupal.org aggregator - Sat, 07/21/2018 - 17:45

Unicode characters encoded using UTF8 can technically use 1 to 4 bytes to represent a single character. However, older versions of MySQL only provided support for storing UTF8 encoded characters that used 1 to 3 bytes. This was enough to cover the most commonly used characters, but is not suitable for applications that accept user input where any character can be submitted (like emojis, which use 4 bytes). Newer versions of MySQL provide a character encoding called utf8mb4 to fix this issue.

Categories: Drupal

Inline Formatter Field

drupal.org - Modules - Sat, 07/21/2018 - 14:42
Description

The Inline Formatter Field module allows for templating and styling of entities on the front side by use of a field type. This module will create a new field type called "Inline Formatter" which is a boolean. When the boolean is checked the field will render what is entered in the "HTML or Twig Format" field for the formatter's settings in the "Manage Display" screen of the entity. This module makes use of the ACE Editor javascript library imported through cdn.

Categories: Drupal

A curated list of amazingly awesome Drupal 8 resources and shiny things. (Org-Mode)

Drupal - Open Source Content Platform - Sat, 07/21/2018 - 11:16
Table of Contents DRUPAL LINKS WEBSITES

Drupal Portale und Webseiten für Drupal

Drupal Drupal Release Date Drupal Cores Drupal Events Drupal Usability Team Drupal Packagist GITHUB

Drupal Repository`s auf Github

GEMEINSCHAFTEN

Portale und Webseiten der Länder Gemeinschaften

EUROPE ITALIEN FRANKREICH BELGIEN SCHWEIZ ÖSTERREICH DEUTSCHLAND DEUTSCHLAND REGIONAL BLOG

Blogs von Drupal Anwendern und Agenturen

FRANZÖSISCH DEUTSCH ENGLISCH NIEDERLÄNDISCH SOCIAL CHANNELS

Social Media Kanäle für Drupal

FACEBOOK GITTER GOOGLE PLUS SLACK MEETUPS QUESTION & ANSWER

Fragen und Antworten zu Drupal

STACKEXCHANGE QUORA REDDIT MEDIUM TWITTER DRUPAL 8 ENGLISCH FRANZÖSICH DEUTSCH HOSTING

Anbieter für Drupal Hosting

HOSTING HOSTING ARTICLES LOCAL SERVER

Lokale Server Entwicklungs Umgebungen für Drupal

Docker Vagrant Bitnami Acquia TOOLS

Tools welche mit Drupal in den Einsatz kommen könnten

Drush Drupal Console Composer Dropguard TRAINING

Portale und Webseiten welche Drupal Schulungen anbieten

Online BOOKS

Bücher für Drupal

Gitbook Events

Drupal Events

Weltweit Belgien Beiträge

Installing Drupal Commerce using Lando | https://blog.acromedia.com/installing-drupal-commerce-using-lando

The original document is available at http://tikiwiki.demo.centos.localhost/Org-Link-Liste-Drupal

submitted by /u/patrickschanen
[link] [comments]

My Lists

drupal.org - Modules - Sat, 07/21/2018 - 08:53

The ability to create lists private and public in addition to the ability to share the lists with others.

Categories: Drupal

Zhilevan Blog: Drupal Entity cheat sheep

drupal.org aggregator - Fri, 07/20/2018 - 23:37
As I've explained Short trip on Entity API in Drupal 8  Entity is the most important thing in Drupal 8, Almost, everything is Entity. So for a Drupal developer, it should be good to have a cheat sheet of Entity API instead of googling every time he/she need something, and of course, after a while, they saved in the long-term memory of Developer. Let's jump into summarized Drupal 8 Entity API.
Categories: Drupal

What are some of your non-negotiable modules you use on sites and new builds?

Drupal - Open Source Content Platform - Fri, 07/20/2018 - 19:20

I feel like half of being a good Drupal dev is knowing all the modules out there and when to use them

For me, some of my non-negotiables or always-installed are:

- adminimal & admin_toolbar

- focal_point & crop

- metatag

- google_analytics

- search_kint

- fieldblock

What are some of yours? Trying to learn about some new modules I'm overlooking. Cheers!

submitted by /u/ChimpsAndDimp
[link] [comments]

Layout Editor

drupal.org - Modules - Fri, 07/20/2018 - 18:42

Placeholder for Layout Editor.

Categories: Drupal

Scaling the DB in Drupal 6

Drupal - Open Source Content Platform - Fri, 07/20/2018 - 18:02

Hi everyone. Sorry in advance for needing to ask a Drupal 6 question.

We have a site that has predictable spikes in concurrent users. When we know this is going to happen, I'm able to horizontally scale the web servers, but I need to do the same with the database.

I'm considering using AWS Master-Master configuration for Maria DB. We're currently using a MySQL instance, and I dont think my options for Master-Master MySQL are quite as easy as if we were to use Maria and let AWS do it for us.

Any suggestions before I go down that route? Anything to consider before assuming Maria is truely a drop in replacement? I also considered Percona DB package to setup Master-Master MySQL instances, but again, would really like the ease of having AWS manage it for me.

Am I going about this wrong?

submitted by /u/hawaiian_d
[link] [comments]

Ashday's Digital Ecosystem and Development Tips: Workflow Management with Drupal 8

drupal.org aggregator - Fri, 07/20/2018 - 15:33

Did you know that setting up a content workflow is included in Drupal 8 core? It can be easily set up by simply turning on the Workflow and Content Moderation modules. The Workflow module gives you the ability to define a workflow and the Content Moderation module sets up a simple workflow for drafts and the ability to create more content moderation workflows.

Categories: Drupal

Daterange Simplify

drupal.org - Modules - Fri, 07/20/2018 - 12:33

Provides a formatter to simplify daterange field output.

This formatter wraps https://github.com/flack/ranger to provide a simplified set of date output
options outside of the standard Drupal date format configuration. These options are enumerated by the PHP IntlDateFormatter class.

Categories: Drupal

Limited Widgets For Unlimited Fields

drupal.org - Modules - Fri, 07/20/2018 - 11:18

How often have you had to re-use existing fields?
How often is the same field with multiple values?
How often do you need the Unlimited field to have a limit on the number of values for a particular entity bundle?
In my projects this is a frequent requirement, thats why I wrote these widgets.
Module just provide a coupe of widgets for fields with limit settings at widget for Unlimited values.

Categories: Drupal

OPTASY: 10 Essential Modules to Start Building Your Drupal Site from Scratch: Toolkit Must-Haves

drupal.org aggregator - Fri, 07/20/2018 - 10:28
10 Essential Modules to Start Building Your Drupal Site from Scratch: Toolkit Must-Haves radu.simileanu Fri, 07/20/2018 - 14:28

So, you've installed your version of Drupal and you're now ready to actually start building your website. What essential tools should you keep close at hand, as a site builder? Which are those both flexible and powerful must-have modules to start building your Drupal site from scratch?

The ones guaranteeing you a website that:
 

  1. it integrates easily with all the most popular third-party services and apps
  2. is interactive and visually-appealing, irrespective of the user's device
  3. is a safe place for your users to hang on, interact with, shop on, network on...
  4. is conveniently easy for content managers and admins to handle
     

Luckily, there are plenty of modules, themes and plugins to overload your toolbox with:

Categories: Drupal

CiviCRM Role Theme

drupal.org - Modules - Fri, 07/20/2018 - 10:08

This module allows you to block a Drupal role from having access to the CiviCRM admin theme.

Civi already has the civicrmtheme module built in, which allows you to select admin and public themes for Civi pages. This module extends that to block a given role from using the admin theme. The user will get the Civi public theme instead, or if not configured then the site theme.

Categories: Drupal

Weekly useful Drupal things to know thread

Drupal - Open Source Content Platform - Fri, 07/20/2018 - 10:07

What's a useful tip or technique or tool (or anything) that you picked up and think others should know about?

(Check out the weekly post schedule in the sidebar)

submitted by /u/AutoModerator
[link] [comments]

Exploring Cape Cod

This past weekend Vanessa and I took our much-anticipated annual weekend trip to Cape Cod. It's always a highlight for us. We set out to explore a new part of the Cape as we've extensively explored the Upper Cape.

We found The Platinum Pebble Inn in West Harwich by way of TripAdvisor, a small luxury bed and breakfast. The owners, Mike and Stefanie Hogan, were extremely gracious hosts. Not only are they running the Inn and serving up delicious breakfasts, they would ask what we wanted to do, and then created our adventure with helpful tips for the day.

On our first day we went on a 35 km (22 miles) bike ride out to Chatham, making stops along the way for ice cream, shopping and lobster rolls.

While we were at the Chatham Pier Fish Market, we watched the local fisherman offload their daily catch with sea lions and seagulls hovering to get some lunch of their own. Once we arrived back at the Inn where we were able to cool off in the pool and relax in the late afternoon sun.

Saturday we were up for a hike, so the Hogans sent us to the Dune Shacks Trail in Provincetown. We were told to carry in whatever we would need as there weren't any facilities on the beach. So we stopped at an authentic French bakery in Wellfleet to get lunch to take on our hike — the baguette took me right back to being in France, and while I was tempted by the pain au chocolat and pain aux raisins, I didn't indulge. I had too much ice cream already.

After we picked up lunch, we continued up Route 6 and parked on the side of the road to begin our journey into the woods and up the first of many, intense sand dunes. The trails were unmarked but there are visible paths that pass the Dune Shacks that date back to the early 1900's. After 45 minutes we finally reached the beach and ocean.


We rounded out the weekend with an afternoon sail of the Nantucket Sound. It was a beautiful day and the conditions lent themselves to a very relaxing sailing experience.



Categories: Drupal

Specbee: Why will Migrating to Drupal 8 be the most brilliant decision you have ever made.

drupal.org aggregator - Fri, 07/20/2018 - 09:08

Change can be hard and terrifying, especially at its inception. Yet, a change is what allows you to grow, evolve and progress.

I know it can get painful to take a decision as big as a migration of your Drupal 7 or 6 content management system – the one that you knew and have loved, but once done, you will know you have made the most brilliant decision, ever! Don’t just take my word for it, get hold of Drupal 8’ers (yeah, it can be a term!) and ask them. As you read on, you will know how Drupal 8 migration can play a key role in the success of your business.

It has been a while, about three years now, since Drupal 8 has made its entry into the field. The best of the Drupal community toiled for 4 years to produce this masterpiece of a CMS and finally announced its arrival in November 2015. Since then, more than 150,000 websites have migrated to Drupal 8, only to find a higher performing, robust and a more flexible solution. If you’re not ready to take the plunge yet, maybe these reasons will help you dive in.

Categories: Drupal

Files not found redirect

drupal.org - Modules - Fri, 07/20/2018 - 09:06
Synopsis

This module helps to prevent the "File not Found"-Error.

It mostly appears when setting up a local instance of a live page via Git.

This module gets the files from the Remote-Server for you without downloading. Therefore you just need to configure your Live-URL in the Configuration Form.

Dependencies

to make the module work, you need to add the below block to your sites/default/files/.htaccess.

Categories: Drupal

OpenSense Labs: Run to Glory: The Drupal Effect on High Performance Websites

drupal.org aggregator - Fri, 07/20/2018 - 07:06
Run to Glory: The Drupal Effect on High Performance Websites Shankar Fri, 07/20/2018 - 16:36

Usain Bolt, in his last appearance at the World Track and Field Championships in 2017, stood third by a narrow defeat in the 100m race leaving behind a yawning gulf. Bolt finished the race just a hundredth of a second later than his fellow competitors.

Every (nano)second counts!


Such is the importance of speed that even a three-time Olympic gold medallist, Usain Bolt, had to bear the brunt of those nanoseconds. Someone might ask “How do I get started learning about web performance?

Visualise that it is the Mega Book Sale Day and the bookworms are thronging the best performing online stores that are selling the books of renowned authors. Coping with such a colossal turn-up, a site with much faster page load speed would be preferred over the ones that are a bit sluggish. Drupal offers a superb platform for an effective website performance optimisation thereby making it faster and user-friendly.

The Significance of Website Performance Optimisation

Web performance optimisation involves monitoring the performance of web application analysing and assessing it, and identifying the best practices to improve it.

Web applications are a combination of server-side and client-side code. To improve the web performance, both the sides need to be optimised.

The client-side optimisation relates to the initial page load time, JavaScript that runs in the browser, downloading all of the resources etc. that are seen in the web browser.

The server-side optimisation relates to database queries and other application dependencies to check how long it takes to run on the server for executing requests.

Performance optimisation is significant because of the following factors:

User retention

BBC found that they are losing out of 10% of users for every extra second their website took to load. Also, DoubleClick by Google found that if the web page took more than 3 seconds to load, 53% of mobile site visitors tend to abandon the page.

 

We all strive to make our users engage in a meaningful interaction with what we have built for the web.

So, if it is an online store, you would like to see a prospective audience turning into buyers. Or if it is a social networking web application, you would want your online visitors to get ensconced in an arresting interaction with one another. High performing sites play a vital role in engaging and retaining users.

An increase in user retention by 5% can result in increased profits by up to 95%.

It costs 5 to 25 times more to attract new customers. So, even a 5% enhancement in customer retention can lead to increased profits of 25%-95%.

By redesigning their web pages, Pinterest combated a 40% reduction in perceived wait times and witnessed a 15% increase in their search engine traffic and sign-ups.

COOK, a provider of high-quality frozen meals, was able to address the average page load time and cut it down by 850 milliseconds which resulted in 7% in conversions, 10% increase in pages per session and 7% decrease in bounce rate.

Improved Conversions

User retention ultimately leads to better conversion rates. Slow sites can have huge repercussions on the business revenues. Better performance of sites can be highly profitable to shore up revenues.

Source: Hubspot

According to 2016 Q2 Mobile Insights Report by Mobify, 1.11% increase in session-based conversion was seen for every 100ms decrease in homepage load speed. Moreover, a 1.55% increase in session-based conversion was noticed for every 100ms decrease in checkout page load time. The outcome was an increase in the average annual revenue by approximately $530,000.

Also, AutoAnything revved up their sales by 12-13% after decreasing their page load time by half.

User experience

When sites ship tons of code, underwhelming performance persists as the browsers chew through megabytes of it on snail-paced networks. 

Source: Impactbnd

Even the devices with limited processing power and memory can find it hard to cope up with the modest amount of unoptimised code. With poor performance taking centre stage, application responsiveness and availability diminishes.

Better optimised code lead to high functioning and better-performing sites which in return alleviate the digital user experience.

Strategising the web performance

Formulation of strategies to improve web performance can be done in two ways:

Bottom-up strategy

Also known as performance-by-design, the bottom-up strategy is the preferred approach to integrate performance as a core development principle. In this strategy, the performance optimisation principles are framed, applied and maintained. This is done right from the application design phase. 

The key stages that are involved in this approach are stated below:

  • Performance principles are laid out.
  • The key pages/transactions are identified, optimised accordingly, and then performance principles are executed.
  • Performance SLAs (Service Level Agreement) are monitored and maintained.

Here's a chart by Infosys which explains it best: 

Key stages involved in bottom-up strategyTop-down strategy

If an existing application needs to be optimised for performance, top-down strategy comes into play. This is a preferred option only when the legacy applications are being optimised for high performance. Also, this is not cost effective and the optimisation options are limited.

Steps involved in this strategy are as follows:

  1. Factors that are contributing to the page performance are assessed using tools like PageSpeed Insights, WebPageTest etc.
  2. Activities that would lead to maximum performance improvements are optimised.
  3. Other optimisations with subsequent releases are iteratively implemented.

In addition to these strategies, one must consider an important methodology called ‘Performance Budgeting’. It means setting a performance threshold that you aim to stay within. You can safeguard your site speed and detect any regression in the performance by setting up a performance budget to ensure continual eye on performance.

This is how we do it!

Expected load time and Google page speed score, as shown below, is the core of our perpetual and iterative development process.

The above chart shows that, while applying performance budgeting methodology, we take note of:

  1. Average load time of 2 seconds or less
  2. Defined maximum limit on page size and number of HTTP requests
  3. Verification of all server site tuning for an efficient and responsive site
  4. Google page speed performance grade of above 90
  5. Implementing performance optimisation
How to Speed up My Drupal Website Performance?

How to speed up my Drupal website performance? Drupal is loaded with an enormous amount of features which, when implemented smartly, can lead to superfast page loads. There are several techniques to make your website faster by leveraging the amazing features of Drupal.

Keeping your site and modules updated

Outmoded modules can deter your efforts in speeding up your website. Thus, it is important to update every module enabled on your Drupal site.

Uninstalling unused modules

Like those outdated modules, it is significant to keep a tab on least used or no longer used modules. The number of Drupal modules installed on the site is directly proportional to the time taken for code execution which affects page load time. Uninstalling unwanted modules can alleviate execution time.

Moreover disabling the modules also adds to the execution time of the code. So, a complete removal by uninstalling the unused modules can speed up the Drupal site.

Optimising Cache

Optimisation of native cache system ensures that all the web page components are stored in an easily accessible location after a user visits your site for the very time. So, whenever the user visits your site again, the page elements are loaded from the cache which leads to increased page load speed.

Drupal has the provision of advanced caching with a great set of modules:

  • Internal Page Cache module helps in caching the web pages for anonymous users to increase the speed for subsequent users.
     
  • Dynamic Page Cache module caches web pages for the anonymous and authenticated users and is recommended for the websites of all screen sizes.
     
  • BigPipe module allows your users to quickly see the unchanged, cacheable page elements while the personalised content is exhibited next. This technology was inspired by Facebook. Drupal 8’s much improved render pipeline and render API is of huge help.
     
  • Redis module helps in integrating Drupal with Redis key-value store thereby providing a robust cache system for static pages.
     
  • Varnish module lets you integrate Drupal sites with an advanced and fast reverse-proxy system - Varnish cache -  to serve static files and unknown page-views quicker and at high volumes.
Optimising database

Website coding is not the sole thing that can be optimised. Optimising database by regularly cleaning up the data and removing the unwanted piece of information.

Memcache API and Integration module, help in the integration of Drupal and Memcached. It stores your data in active memory for a limited period of time thereby making it faster to access. 

So, instead of making queries to the database constantly, the information is readily available. Such a system also works on the shared web hosting plans.

Incorporating a Content Delivery Network (CDN)

Components like CSS, JavaScript and media are hosted by CDN and served to the online visitors from the nearest location. This can help in mitigating the page load time by rapidly delivering web page components.

Drupal module, CDN, helps in the integration of Content Delivery Network for Drupal websites. It changes the file URLs so that files like CSS, JavaScripts, images, videos, and fonts are downloaded from the CDN instead of your web server.

Optimising bandwidth

Aggregating all CSS and JavaScript files to make them load together is what bandwidth optimisation refers to. Such a parallel processing ensures that all the page elements can be seen by the users almost immediately.

Optimising images

Drupal 8 core is loaded with image optimisation feature to set the compression ratio of the images and fine-tune the page performance.

Moreover, the size of the images for screen sizes of different devices can be optimised in Drupal 8 to enhance the page load speed.

Handling 404 errors

Whenever something on the website breaks to cause a 404 error, it can lead to sluggishness. For instance, a failed image can damage the performance of the site. Drupal 8 provides a module called Fast 404 which utilises the resources better and whitelists files and verifies pathways of problem.

Managing the use of CSS and JavaScript

CSS and JavaScript provide wonderful methods for customisation and flexibility. But, too much of good things can be troublesome for your websites. Avoiding excessive use of CSS files and JavaScript use and keeping the code to a minimum can improve performance.

Advanced CSS/JS Aggregation, Drupal module, can help in keeping a tab of your front-end performance by aggregating CSS and JavaScript files to improve speed.

Using lazy loading

Lazy or on-demand loading is a perfect way to optimise your site’s performance. In this method, you split your code at logical breakpoints and then load it once the user has done something that requires a new block of code.

Basically, in traditional websites, all the images and content are preloaded into the web browser when someone accesses the site. Lazy loading loads these elements as soon as a user scrolls to view a content.

Blazy, Drupal module, provides the functionalities of lazy loading and multi-serving the images to save bandwidth and server requests.

Better web hosting

It is of consummate importance that, while implementing every possible tips and trick and utilising the Drupal’s amazing features, you chose the best web hosting provider that will decide your site’s ultimate speed, stability and security.

Case Study

The Drupal website of the Farm Journal’s MILK was optimised for high performance and better search engine rankings with a help of carefully drafted audit report by Opensense Labs.

In this section, we will focus on how we used our Drupal expertise to resolve the performance issues.

Project highlights

Previously segregated CSS and JS files cached separately which escalated the page load time. We aggregated all these files and put them in one place which assuaged the page load time.

Moreover, we used Advanced CSS/JS Aggregation Drupal module to minify CSS, JS and HTML and reduce load time.

In addition to these, we enabled Redis, used as a database, cache and message broker, so that it can be used as the backend instead of MySQL. This allowed cached items to be retrieved swiftly and improved performance.

Project outcome

On testing the performance metrics on tools like PageSpeed Insights and Pingdom, we witnessed significant improvement.

PageSpeed Insights

  • Result on handheld devices
Pre-implementation (Live Instance)

 

Post-implementation (Live Instance)

 

  • Result on Desktop
Pre-implementation (Live Instance)

 

Post-implementation (Live Instance)

 

Pingdom

Pre-implementation Pingdom Score (Live Environment)

 

Post-implementation Pingdom Score (Live Environment)

 

Conclusion

Speed can be the determining factor in the amount of time an online user spends on your website. It’s important that you remove the sluggishness from your website and inculcate betterments in its performance. Drupal 8 can help by incorporating wonderful features to make your site a high performing space.

Feel free to reach us at hello@opensenselabs.com for developing a high performing Drupal website.

blog banner blog image Performance Optimisation Web Performance Performance Budgeting Website Performance Optimisation User Retention Conversion Rate User experience Page Load Speed Page Load time Blog Type Articles Is it a good read ? On
Categories: Drupal

Drop Guard: Multi User - Invite your team to Drop Guard!

drupal.org aggregator - Fri, 07/20/2018 - 07:00
Multi User - Invite your team to Drop Guard! We happily announce our Multi User - Invitations feature! Our users needed an option to add more team members with tailored access rights for a specific project.  So we created the “Invitations” section in our menu bar on the left. By entering this page, you will be able to invite other team members or view the invitation for yourself. You can assign specific projects to a team member, be it developer, support manager or project manager; as well as you can give your customer read access to the customer’s project without exposing your other projects. This access policy feature provides new possibilities for an open and understandable workflow with Drop Guard.  Drupal Planet Drupal announcements Business
Categories: Drupal

Pages