Drupal

Yandex money block for users

New Drupal Modules - 23 July 2019 - 1:21pm

This is really simple module.
It extend ymb module.
This module will create a view for show who donated and more user-friendly.

Requirements

Categories: Drupal

File Field Replace

New Drupal Modules - 23 July 2019 - 11:33am

This module adds a setting to file fields to support selecting the method handling when a file already exists with the same name as the uploaded file. The options are:

  • Rename the file (this is the default value and the default behaviour of file fields)
  • Replace the existing file
  • Prevent the file from being uploaded (will display an error message)

The main reason for creating this module was to support replacing existing files instead of renaming, hence the name.

Categories: Drupal

Mediacurrent: Extending Rain's Base Theme and Style Guide

Planet Drupal - 23 July 2019 - 10:54am

Mediacurrent created the Rain Install Profile to build fast, consistent Drupal websites and improve the editorial experience. Rain expedites website creation, configuration, and deployment.

In the last developer tutorial, we covered how to customize and develop Drupal sites using Rain’s base install profile. This week, we will dive into theming to help frontend developers update the look and feel of the Rain starter theme.

As usual, if you have a question or comment feel free to reach out at @drupalninja

Sub-theme or clone?

The first thing to note is that you can use the Rain install profile with or without the included Rain theme package. The “rain_theme” project exists as its own Composer project which is included by default but can be easily removed. That said, there are benefits to using the Rain Theme as a base theme or starter. The primary benefit is that Paragraphs are integrated with a dozen or so pre-built components that can be easily customized and save you time. 

If you do choose to leverage the base theme, you need to decide whether or not to use Rain Theme as a “parent theme” or as a starter. We highly recommend you do not. This way, you gain full control over the theme and do not need to worry about downstream updates. Leveraging Rain theme as a parent theme can cut down initially on files and code but parent themes in Drupal can be restrictive and cumbersome at times. Ultimately, the decision is yours. With the “clone” approach you can grab everything and rename it or grab only what you want. Anything you don’t use can be discarded.

Using the style guide

The Rain Theme project includes a KSS-based living style guide that has a host of pre-built Twig components that can be integrated with Drupal theme templates.

KSS style guide Example

In the previous step, we mentioned that we recommend cloning the theme so that you can fully control and customize any of these components. The idea is that developers waste less time rebuilding and re-styling the same common components on every new build. Instead, Drupal themers get a head-start while still having enough control of the theme to meet the design requirements of the project.

Working with the popular KSS node project is straightforward. For more information on how to compile and develop with KSS node, visit the project page at https://github.com/kss-node/kss-node.

Even if you are new to KSS, you will find making updates is easy. The “npm run build” command will compile all of your theme assets, as well as the style guide.

Component Integration

The main way components are integrated into Drupal templates is through includes found in Paragraph templates.

Rain Theme Paragraphs Twig templates screenshot

Using the Components module to define the “@components” namespace, you can see an example below where field markup is passed in as parameters to the component Twig file. You will also that it’s in these templates where we typically attach a library (more on that in a bit). Of course, this is all ready to customize and any time you add or modify fields you will need to adjust templates or components accordingly. JavaScript and CSS are for the most part encapsulated in their corresponding component which keeps things organized. We do recommend you enable the “Twig debug” option in your Drupal services.yml to make it easy to find which templates are being used on any given page.

Rain Theme Quote Paragraph template

Libraries

Out of the box, we have included many libraries that style components and include vendor libraries where appropriate. Note that these libraries reference compiled CSS and JavaScript found in the “dist” folder of the theme.

Rain Theme Libraries screenshot

Additional Theming Helpers

In addition to the pre-configured templates, style guide and libraries included with Rain, we also ship a few helper modules to make theming easier. 

The “Twig Field Value” module makes it simpler to pull out values from fields and the “Twig Tweak” module adds several utility methods. For a full list of those functions with information visit the “Cheatsheet” documentation page on Drupal.org. As mentioned earlier, the “Components” module is also included and enabled by default in order to allow namespaces to be defined in our theme.

Wrap-up

In this article, we showed frontend developers how to leverage the Rain base theme and style guide. Our recommendation is to clone the theme folder and customize our pre-built components to match your project’s unique requirements. We also covered how to integrate Drupal theme templates with components and define custom libraries. Finally, we covered a few helpful theming modules that ship with Rain and save development time.

In the next (and final) Rain tutorial, we will wrap up this series with a focus on content creation for authors.

Was this information helpful? Let us know! https://twitter.com/drupalninja/

Categories: Drupal

Drupal blog: The web I want for my kids

Planet Drupal - 23 July 2019 - 10:17am

This blog has been re-posted and edited with permission from Dries Buytaert's blog:

Volunteering as a mentor at CoderDojo to teach young people, including my own kids, how to write software.

Last week, I published an opinion piece on CNN featuring my thoughts on what is wrong with the web and how we might fix it.

In short, I really miss some things about the original web, and don't want my kids to grow up being exploited by mega-corporations.

I am hopeful that increased regulation and decentralized web applications may fix some of the web's current problems. While some problems are really difficult to fix, at the very least, my kids will have more options to choose from when it comes to their data privacy and overall experience on the web.

You can read the first few paragraphs below, and view the whole article on CNN.

I still remember the feeling in the year 2000 when a group of five friends and I shared a modem connection at the University of Antwerp. I used it to create an online message board so we could chat back and forth about mostly mundane things. The modem was slow by today's standards, but the newness of it all was an adrenaline rush. Little did I know that message board would change my life.

In time, I turned this internal message board into a public news and discussion site, where I shared my own experiences using experimental web technologies. Soon, I started hearing from people all over the world that wanted to provide suggestions on how to improve my website, but that also wanted to use my site's technology to build their own websites and experiment with emerging web technologies.

Before long, I was connected to a network of strangers who would help me build Drupal.

Categories: Drupal

Phase2: Open Source for Citizen Experience - Our Sessions at Drupal GovCon '19

Planet Drupal - 23 July 2019 - 8:47am

Here at Phase2, we’re excited to participate in the premiere Drupal government event, Drupal GovCon, held at the National Institutes of Health campus in Bethesda, Maryland where we'll once again be a platinum sponsor.

We hope you will join us for one of North America’s largest Drupal camps, this week.  

Categories: Drupal

Sooper Drupal Themes: Enhance your Drupal experience with Sooperthemes

Planet Drupal - 23 July 2019 - 7:12am
Is it possible to enhance your Drupal experience?

Drupal is a favorite content management system among professionals. It has been proven time and time again that it is reliable, scalable and can turn any website into a magical digital experience that your customers are loving. For these reasons, Drupal has gathered a passionate community that wants to constantly see it improve. Here at Sooperthemes, we are also driven by our passion for Drupal. We take Drupal and improve its shortcomings through our products. In other words, we enhance your Drupal experience with our framework theme and easy-to-use Drupal 8 & 7 visual content builder.

What are some examples of real-life organizations using Sooperthemes products?

It’s time to show you the results of using our easy-to-use drag and drop builder, and our framework theme. Here is a list of websites that were entirely built over the Drupal architecture using Glazed Builder and Glazed Theme:

1. Senate.gov Senator websites

The U.S. Senate is a core part of the legislation process of the United States. Such an important part of the U.S. had a need for a really good website platoform. Drupal was chosen because it can handle large and complex websites. On top of that, the senate chose to build all websites for newly inaugurated senators in 2019 with our Glazed Builder and Glazed Theme products. This resulted in a modern-looking governmental senator websites that provide a great experience at low costs to the senate, because much of the page-building work can be done in-house thanks to our easy-to-use page builder. 

2. Swarco

Swarco is a company that offers traffic technology for better and safer transportation. It is based in Innsbruck Austria and has an international network of production facilities that are sure to meet the needs of their clients. Swarco decided to improve its online presence by overhauling its website with Glazed Builder. This resulted in an unforgettable digital experience that leaves a long-lasting impression. Well done!

3. Body Worlds

Body Worlds is the biggest traveling exposition of dissected human bodies. The exposition attracted more than 37 million visitors, which makes it one of the hottest tourist attractions to date. Such a successful exposition had to also have an online presence that reflected their success. That's why Body World built its website with Glazed Builder. This resulted in a gorgeous website that attracts clients from all over the world. 

4. Monterrey Institute of Technology and Higher Education

Monterrey Institue of Technology and Higher Education is one of the most prestigious universities in Latin America. With its headquarters established in Monterrey, Mexico, Tec offers the finest education to its student. Such a successful university required a beautiful website that can convince prospective students to join their ranks. That's why Tec decided to go for the combination of Drupal and Glazed Builder. This resulted in a beautiful website that can tackle the multi-lingual necessities of the university, while also attracting a large number of students.

5. Open Medical

Open Medical is a company that wants to improve the delivery of healthcare services to the general public. In order to do this, they partner with various companies that help them reach their goal. On top of that, such an initiative needed a good website that can showcase their mission and values. That's were Glazed Builder came into play. The results were a practical website that showcases the trustworthiness of Open Medical to their potential customers. This resulted in an increased number of clients and leads generated. 

What Sooperthemes' products?

Sooperthemes bases its products on the Drupal architecture. This means that you get the best that Drupal has to offer without any of its drawbacks, making it possible to enhance your Drupal experience. The Sooperthemes portfolio includes a large number of turn-key demo websites that can be used to quickly set up a gorgeous website that converts leads to customers right out of the box. There is a wide selection of demos that you can choose from based on the industry that your company is conducting business.

A couple of examples of our demos that are completely built with our drag and drop Drupal content editor and our framework Drupal theme.

Marketing Drupal Theme Demo:

This theme is perfect for any marketing agency that wants to have a gorgeous website that looks professional and attracts high caliber clients. The theme is highly customizable, being able to be adapted to the needs of every marketing agency.

Business Drupal Theme Demo:

Sooperthemes also provides a business website theme, perfect for people that want to have a new and astonishing website for their clients. The business theme focuses on a more professional look that conveys trust to your prospects. The business theme is the perfect choice for any business owner that wants to provide a great online experience for their customer.

Agency Drupal Theme Demo:

Our agency theme is the perfect choice for any agency that wants to create or improve their digital presence. It is designed to be able to fit the needs of any agency that wants to impress their audience. It has an intuitive design that can surely make a great website for your agency. Especially if you want to enhance your Drupal experience.

Logistics Drupal Theme Demo:

Sooperthemes has the perfect theme website for any logistics company that wants to have an impressive online presence. The layout and design are specially adapted to be able to convey the fluidity and speed with which logistics companies are driving business. Moreover, these themes can further be customized to be able to reflect your brand. 

Photography Drupal Theme Demo:

Are you passionate about photography and don't how you to monetize your hobby? The Glazed Photography theme is the right answer for you. You can easily setup-up your website to be able to show your clients your finest material. Glazed Photography is the right answer for you if want to have an edge above your competition.

Construction Drupal Theme Demo:

Any construction company has to have a jaw-dropping online presence in order to be successful. This is what you get by having by building your website with Glazed construction theme. This theme is perfectly adapted to reflect the seriousness and commitment of the construction industry. Whether you want to showcase your team or your portfolio, this theme is the perfect choice to make a lasting impression to any potential client.

Powerful content capabilities with Sooperthemes' easy-to-use visual content builder

These themed demo sites are further customizable to suit your needs with our Glazed Builder module. This module makes it easy to turn your dream website into reality. Glazed Builder is a powerful Drupal-based drag and drop visual builder that can make any Drupal website shine. One of the struggles that Drupal users seem to have at first is the steep learning curve, which can require a large number of hours, essentially bottlenecking the workflow. In order to bypass this struggle, Sooperthemes designed Glazed Builder, effectively helping website designers and marketers save countless hours and money on working with Drupal. The hours saved can be used for other important tasks.  One of the great points about Glazed Builder is that it makes designing a Drupal website seem effortless.

Why enhance your Drupal experience with Sooperthemes?

This is a great question that everybody should be asking themselves this before making a purchase decision. Well, let me explain.

 

Sooperthemes is driven by its passion for Drupal. Our main goal is to enhance your Drupal experience. In order to do so, we address the most common pain point that Drupal has, such as long development time, steep learning curve and difficult user interface. Sooperthemes has developed its products to be able to accommodate these needs. With the Glazed theme, users can quickly have a template for their Drupal website that can be easily customizable and deployed. On top of that, Glazed Builder overcomes the native powerful but complex user interface of Drupal with its Drag and Drop capabilities and intuitive user interface. On top of that, Glazed Builder incorporates a large number of elements that can be used to be able to further customize your website. Examples are sections, panels, jumbotrons, wells, panels, collapsible, Drupal blocks, Drupal views and much more. 

 

As you can see, the imagination is the only limiting factor when it comes to the capabilities of web design with Glazed Builder and its capabilities to enhance your Drupal experience.

Conclusion

If you want to enhance your Drupal experience, then Sooperthemes is the right answer for you. Not only does it offer the best of what Drupal has to offer, but it also transforms Drupal's weak points into its strong points. If you’re not convinced yet, no problem, try Sooperthemes for free here

Categories: Drupal

TEN7 Blog's Drupal Posts: Case Study: Solhem Companies

Planet Drupal - 23 July 2019 - 7:00am
Website Refresh - Making It Easy to Decide on Apartments from Afar

Solhem Companies develops, owns and manages award-winning residential and office properties in Minneapolis, Minnesota’s most desirable neighborhoods. TEN7 has been working with Solhem since the beginning.

Categories: Drupal

BADCamp 2019: Call for Speakers

Planet Drupal - 23 July 2019 - 6:51am
Call for Speakers volkswagenchick Tue, 07/23/2019 - 06:51
Categories: Drupal

o365

New Drupal Modules - 23 July 2019 - 5:34am
Categories: Drupal

Computed Field Plugin

New Drupal Modules - 23 July 2019 - 2:02am

This module provides a plugin to allow developers to create computed field via the Drupal Plugin API, and a field type computed_render_array.

Computed fields work a bit like extra fields but they are more flexible because you can still use the native field settings (including formatters).

Categories: Drupal

Palantir: DrupalCon 2019

Planet Drupal - 22 July 2019 - 1:54pm
April 8 - 12, 2019 Washington State Convention Center, Seattle, Washington DrupalCon (official site)

Our team is always excited to catch up with fellow Drupal community members (and each other) in person during DrupalCon. Here’s what we have on deck for this year’s event:

Visit us at booth #709

Drop by and say hi in the exhibit hall! We’ll be at booth number 709, giving away some new swag that is very special to us. Have a lot to talk about? Schedule a meeting with us

Palantiri Sessions

Keeping That New Car Smell: Tips for Publishing Accessible Content by Alex Brandt and Nelson Harris

Content editors play a huge role in maintaining web accessibility standards as they publish new content over time. Alex and Nelson will go over a handful of tips to make sure your content is accessible for your audience.


Fostering Community Health and Demystifying the CWG by George DeMet and friends

The Drupal Community Working Group is tasked with fostering community health. This Q&A format session hopes to bring to light our charter, our processes, our impact and how we can improve.


The Challenge of Emotional Labor in Open Source Communities by Ken Rickard

Emotional labor is, in one sense, the invisible thread that ties all our work together. Emotional labor supports and enables the creation and maintenance of our products. It is a critical community resource, yet undervalued and often dismissed. In this session, we'll take a look at a few reasons why that may be the case and discuss some ways in which open source communities are starting to recognize the value of emotional labor.

  • Date: Thursday, April 11
  • Time: 2:30pm
  • Location: Exhibit Stage | Level 4


The Remote Work Toolkit: Tricks for Keeping Healthy and Happy by Kristen Mayer and Luke Wertz

Moving from working in a physical office to a remote office can be a big change, yet have a lot of benefits. Kristen and Luke will talk about transitioning from working in an office environment to working remotely - how to embrace the good things about remote work, but also ways in which you might need to change your behavior to mitigate the challenges and stay mentally healthy.

Join us for Trivia Night 

Thursday night we will be sponsoring one of our favorite parts of DrupalCon, Trivia Night. Brush up on your Drupal facts, grab some friends, and don't forget to bring your badge! Flying solo to DrupalCon? We would love to have you on our team!

  • Date: Thursday, April 11
  • Time: 8pm - 11:45pm
  • Location: Armory at Seattle Center | 305 Harrison Street

We'll see you all next week!

Categories: Drupal

Palantir: Federated Search v2.0

Planet Drupal - 22 July 2019 - 1:54pm

We have released version 2.0 of our Federated Search application and Drupal integration.

Since our initial release, we’ve been doing agile, iterative development on the software. Working with our partners at the University of Michigan and the State of Georgia, we’ve made refinements to both the application and the Drupal integration.

Better search results

Default searches now target the entire index and not the more narrow tm_rendered_item field. This change allows Solr admins to have better control over the refinement of search results, including the use of field boosting and elevate.xml query enhancements.

Autocomplete search results

We added support for search autocomplete at both the application and Drupal block levels -- and the two can use the same or different data sources to populate results. We took a configurable approach to autocomplete, which supports “search as you type” completion of partial text. These results can also include keyboard navigation for accessibility.

Since the Drupal block is independent of the React application, we made it configurable so that the block can have a distinct API endpoint from the application. We did this because the state of Georgia has specific requirements that their default search behavior should be to search the local site first, looking for items marked with a special “highlighted content” field.

Wildcard searching

We fully support wildcard searches as a configuration option, so that a search for “run” will automatically pass “run” and “run*” as search terms.

Default facet control

The default facets sets for the application -- Site, Content Type, and Date Range -- can now be disabled on a per-site basis. This feature is useful for sites that contribute content to a network but only wish to search their own site’s content.

Enhanced query parameters

We’ve added additional support for term-based facets to be passed from the search query string. This means that all facet options except dates can be passed directly via external URL before loading the search form.

Better Drupal theming

We split the module’s display into proper theme templates for the block and it’s form, and we added template suggestions for each form element so that themes can easily enhance or override the default styling of the Drupal block. We also removed some overly opinionated CSS from the base style of the application. This change should allow CSS overrides to have better control over element styling.

What’s Next for Users?

All of these changes should be backward compatible for existing users, though minor changes to the configuration may be required, Users of the Drupal 8.x-2.0 release will need to run the Drupal update script to load the new default settings. Sites that override CSS should confirm that they address the new styles.

Currently, the changes only apply to Drupal 8 sites. We’ll be backporting the new features to Drupal 7 in the upcoming month.

Users of the 1.0 release may continue to use both the existing Drupal module and their current JS and CSS files until the end of 2019. We recommend upgrading to the 2.0 versions of both, which requires minor CSS and configuration changes you can read about in the upgrade documentation.

Special Thanks

Palantir senior engineer Jes Constantine worked through the most significant changes to the application and integration code. Senior front-end developer Nate Striedinger worked through the template design and CSS. And engineer Matt Carmichael provided QA and code review. And a special shoutout to James Sansbury of Lullabot -- our first external contributor.

Development Drupal Open Source
Categories: Drupal

Mediacurrent: Customizing Rain for Developers

Planet Drupal - 22 July 2019 - 11:27am

Mediacurrent created the Rain Install Profile to build fast, consistent Drupal websites and improve the editorial experience. Rain expedites website creation, configuration, and deployment.

In our previous article, we walked through each feature of the Rain Install Profile with tips on how to use and configure each feature. In today’s tutorial, we zoom in on some technical aspects that backend developers will need to understand to properly develop against the Rain distribution.

Have a question or comment? Hit me up at @drupalninja

Post-install configuration

The last article, What’s New in Rain 3.0, gives some basic instructions on how to install Rain successfully. The Drupal project template repository also gives additional details on how to fully set up the entire project, including the local environment. Here we will cover what developers should do next once they have successfully installed Rain for the first time.

Creating a sub-profile

By default, the Mediacurrent Drupal project template includes a core patch that allows for profiles to inherit features and configuration from a parent profile. This follows a similar pattern to base themes and sub-themes in Drupal. The project template also bundles with it a sample profile (“mis_profile”) to demonstrate how to set up sub-profiles. The screenshot below illustrates the new yml syntax that will enable the “base profile” inheritance.

Do I need to create a custom install?

You might ask - Why mess with a custom install profile at all? You certainly don’t have to. You could simply run mis_profile or the base Rain profile as-is and then start making your customizations. That said, many organizations take the approach of creating a custom install profile for each project. This can be handy for encapsulating configuration, install functions and other aspects related to the project. Mediacurrent takes this approach, and we highly recommend other organizations implementing Drupal applications do the same.

To get started, simply rename the “mis_profile” folder to your project name, then search and replace any instances of the “mis_profile” text string in your project. Once this is done you can remove the reference to mis_profile in composer.json as it will no longer be needed. From that point on, when you run build.sh your config.yml will instruct the installer to use your custom profile.

Files included in sample mis_profile

 

Exporting configuration

The easiest way to get started with Rain is to run the ./scripts/build.sh command once your initial sub-profile is set up from the previous step. The base Rain installation will configure common modules covered in the Rain Admin and Authors Overview article. All of the content features will be left disabled initially but can easily be enabled through Drush or the “Admin Modules” page. Once you have the initial configuration set, it’s generally best practice to export that configuration to a version-controlled folder. In your local settings file you should have a line that is commented out by default that looks like the following:

# $config_directories['sync'] = $app_root . '/profiles/mis_profile/config/sync';

The line should have the name of your profile. Once you uncomment out that line you can run drush cex -y using your local site alias. This will export your configuration to your install profile folder (also considered best practice but not required). Now, every time you execute ./scripts/build.sh Drupal will create the site using your exported configuration. We love this approach because it ensures project developers are sharing the same configuration and it pairs nicely with automated tests.

Example sync folder from Gatsby Drupal 8 demo

 

Customizing Content

The content features that ship with Rain can be easily customized. Custom paragraph types are integrated with the Rain base theme (“rain_theme”) which means that changes to Paragraphs often require updates to Twig templates as well. The Rain theme is optional but adds the benefit of pre-configuring Paragraphs to map to components provided in the theme’s style guide. We will cover theming with Rain more in-depth in the next article.

Optional content type features

 

Add Paragraphs pop-up dialog

Maintenance

The Rain install profile takes the role of a quick starter and package manager. This is a similar approach to other distributions like Acquia Lightning. What this means is that after install, developers will own their site’s configuration and primarily leverage Rain’s Composer updates (if desired) for package dependencies. The main project Composer contains references to the base Rain distribution as well as the “Rain Features” package, both of which have their own Composer files that pull in Drupal contributed modules. The benefit of delegating this work to Rain is that modules are continually tested together as a package and include patches where needed. This can dramatically cut down on the work on the part of the “consumer” of Rain versus managing these dependencies on your own.

When updating mediacurrent/rain and mediacurrent/rain_features be sure to check the UPDATE.md file included in the main Rain project repository. This document includes instructions on how to upgrade when significant updates are made. This could include a major version change or updates after a Drupal core minor version is released. Note that Drupal core minor versions often require some refactoring, such as removing a contributed dependency that was ported to core.

Continuous Integration

Mediacurrent uses Bitbucket as our Git service of choice which means that we leverage Bitbucket’s Pipelines to execute CI tests. In our Drupal project template, we include a sample pipelines files that can be leveraged or refactored to match yml syntax for other Git repositories like Github or Gitlab.

Detaching

How married are you to Rain post-install? The answer is not too much. If you wanted to detach from Rain Composer you could easily back out the Composer dependencies, copy over what you need to your main project Composer and remove the reference to Rain’s base install profile in your custom profile’s info.yml file. From that point on, you will be managing dependencies on your own but still have the option to leverage stand-alone projects like Rain Theme or Rain Admin.

In some cases, developers will want to use the base Rain project but not the corresponding Rain Features project. The rain.install does not include any of the optional features from that project which means that you can simply remove “rain_features” from Composer in instances where you will not utilize those features.

Mediacurrent Rain projects

Local Environments

Mediacurrent currently uses a DrupalVM based local environment bundled with scripts for managing builds and deployments. These packages are included under “require-dev” in your project Composer and are not required to use Rain. If you have another environment you prefer such as Lando or DDEV you can back out these dependencies from your project Composer.

Deployments

Most Drupal web hosts (e.g Acquia, Pantheon, etc.) have their own git repository they use for deploying artifacts to the server. This includes all the actual Drupal files that make up core, contributed modules and libraries. We don’t want our source git repository to store artifacts or conform to the folder layout required by the web host. Instead, we execute deploy commands to build the artifacts from Composer and commit them to the appropriate destination git repository. To make that process easier we have some additional configuration to add to our config.yml file that instructs how and where code should be deployed.

The key aspects to both the Acquia and Pantheon configuration is pointing the release repo to the appropriate git URL provided by your host, the name of the host and the release drupal root directory. Our examples use Acquia and Pantheon but also support generic git artifact repositories like AWS.

Acquia config:

project_repo: git@pathtomysourcerepo.git

release_repo: mcABCProjectname@svn-1234.devcloud.hosting.acquia.com:mcABCProject.git

release_drupal_root: docroot

deploy_host: Acquia

Pantheon config:

project_repo: git@pathtomysourcerepo.git

release_repo: ssh://codeserver.dev.YOUR_UUID_VALUES.drush.in:2222/~/repository.git

release_drupal_root: web

deploy_host: Pantheon

Additionally, for Pantheon, you will need to add a pantheon.yml file to the root directory with the following values:

api_version: 1

web_docroot: true

php_version: 7.1 (or latest PHP version supported)

This command also needs to be run in order to clean up the Pantheon git repo prior to our first deployment:

rm -r README.txt autoload.php core example.gitignore index.php modules profiles robots.txt sites themes update.php vendor web.config

Now we are ready to build and deploy for the first time. We do this with two commands, one to build the artifacts and one to push files to the release git repository.

Example (using Pantheon):

./scripts/hobson release:build Pantheon develop

./scripts/hobson release:deploy Pantheon develop -y

After you have deployed code to Acquia or Pantheon you should be able to run a clean install using either the sample Rain child install profile (mis_profile) or cloned profile you have created (see Rain README for more details).

Final Thoughts

We hope this article helps developers get up and running smoothly with the Rain install profile and Drupal project template. At this point, you should be fairly comfortable installing Rain, creating a custom profile, exporting configuration, deploying to a Drupal host and maintaining Composer. As a package, Rain was designed to be flexible as possible to allow developers to customize their applications without being locked into a prescribed way of configuring Drupal.

Categories: Drupal

Drupal Association blog: Meet the candidates

Planet Drupal - 22 July 2019 - 9:12am

Did you know you have a say in who is on the Drupal Association Board? Each year, the Drupal community votes in a member who serves two years on the board. It’s your chance to decide which community voice you want to represent you in discussions that set the strategic direction for the Drupal Association. Go here for more details.

Voting takes place from 1 August - 16 August. Anyone who has a Drupal.org profile page and has logged in to their account in the last year is eligible to vote. This year, there are many candidates from around the world. Now it’s time for you to meet them.

Meet The Candidates

We just concluded the phase where 12 candidates nominated themselves for the board seat. From now through 1 August we encourage you to check out each person’s candidate profile, where they explain which board discussion topics they are most passionate about and what perspectives they will bring to the board.

We asked candidates to include a short video - a statement of candidacy - that summarizes why you should vote for them. Be sure to check them out. Videos are found in the candidate’s profile as well as here:

You are encouraged to ask questions, by viewing their candidate profile and adding a question at the bottom of the page. I have posed one question to each candidate already!

What To Consider

When reviewing the candidates, it is helpful to know what the board is focusing on over the next year or two, so you can decide who can best represent you.

Here are the key topics the board will focus on.

  • Strengthening Drupal Association’s sustainability. The board discusses how the Association can improve its financial health while expanding its mission work.
  • Understanding what the Project needs to move forward and determine how the Association can help meet those needs through Drupal.org and DrupalCon.
  • Growing Drupal adoption through our own channels and partner channels.
  • Developing the strategic direction for DrupalCon and Drupal.org.

There are certain duties that a candidate must be able to perform as a board member. The three legal obligations are duty of care, duty of loyalty, and duty of obedience. In addition to these legal obligations, there is a lot of practical work that the board undertakes. These generally fall under the fiduciary responsibilities and include:

  • overseeing Financial Performance
  • setting Strategy
  • setting and Reviewing Legal Policies
  • fundraising
  • managing the Executive Director

Hopefully providing this context gives you a helpful way to assess the candidates as you decide how to vote From 1 August - 16 August.

We encourage you to ask the candidates questions. Use comments to leave a question on their candidate profile page.

Categories: Drupal

Coveo

New Drupal Modules - 22 July 2019 - 8:20am
Categories: Drupal

OneAll Single Sign-On / SSO

New Drupal Modules - 22 July 2019 - 6:58am

Single Sign-On for Drupal is a professional SSO extension that automatically creates accounts and signs users in as they browse between multiple and independent Drupal websites in your network.

Take away the need for your users to create new accounts or re-enter their authentication credentials when they switch from one of your websites to another. Reduce the user abandonment rates by making the transition from one domain to another as seamless as possible.

Categories: Drupal

Dries Buytaert: The web I want for my kids

Planet Drupal - 22 July 2019 - 6:23am

Volunteering as a mentor at CoderDojo to teach young people, including my own kids, how to write software.

Last week, I published an opinion piece on CNN featuring my thoughts on what is wrong with the web and how we might fix it.

In short, I really miss some things about the original web, and don't want my kids to grow up being exploited by mega-corporations.

I am hopeful that increased regulation and decentralized web applications may fix some of the web's current problems. While some problems are really difficult to fix, at the very least, my kids will have more options to choose from when it comes to their data privacy and overall experience on the web.

You can read the first few paragraphs below, and view the whole article on CNN.

I still remember the feeling in the year 2000 when a group of five friends and I shared a modem connection at the University of Antwerp. I used it to create an online message board so we could chat back and forth about mostly mundane things. The modem was slow by today's standards, but the newness of it all was an adrenaline rush. Little did I know that message board would change my life.

In time, I turned this internal message board into a public news and discussion site, where I shared my own experiences using experimental web technologies. Soon, I started hearing from people all over the world that wanted to provide suggestions on how to improve my website, but that also wanted to use my site's technology to build their own websites and experiment with emerging web technologies.

Before long, I was connected to a network of strangers who would help me build Drupal.

Categories: Drupal

The web I want for my kids

Dries Buytaert - 22 July 2019 - 6:23am

Volunteering as a mentor at CoderDojo to teach young people, including my own kids, how to write software.

Last week, I published an opinion piece on CNN featuring my thoughts on what is wrong with the web and how we might fix it.

In short, I really miss some things about the original web, and don't want my kids to grow up being exploited by mega-corporations.

I am hopeful that increased regulation and decentralized web applications may fix some of the web's current problems. While some problems are really difficult to fix, at the very least, my kids will have more options to choose from when it comes to their data privacy and overall experience on the web.

You can read the first few paragraphs below, and view the whole article on CNN.

I still remember the feeling in the year 2000 when a group of five friends and I shared a modem connection at the University of Antwerp. I used it to create an online message board so we could chat back and forth about mostly mundane things. The modem was slow by today's standards, but the newness of it all was an adrenaline rush. Little did I know that message board would change my life.

In time, I turned this internal message board into a public news and discussion site, where I shared my own experiences using experimental web technologies. Soon, I started hearing from people all over the world that wanted to provide suggestions on how to improve my website, but that also wanted to use my site's technology to build their own websites and experiment with emerging web technologies.

Before long, I was connected to a network of strangers who would help me build Drupal.

Categories: Drupal

Commerce Single Store Cart

New Drupal Modules - 22 July 2019 - 4:21am

Prevents shopping in multiple stores at once.

Categories: Drupal

d3_tagcloud

New Drupal Modules - 22 July 2019 - 2:04am

This module allows you to create a block with terms from a taxonomy.

Features
  • Allows to select which taxonomy to render
  • Optionally select which terms to appear via taxonomy term boolean field
  • Show terms in different sizes depending on their importance, configurable from a taxonomy field
Categories: Drupal

Pages

Subscribe to As If Productions aggregator - Drupal