Drupal

Weekly Drupal beginner questions thread

Drupal - Open Source Content Platform - Mon, 11/12/2018 - 09:06

Ask your newbie questions here! No judgement!

(Check out the weekly post schedule in the sidebar)

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

Make subtree menu to dropdown

Drupal - Open Source Content Platform - Mon, 11/12/2018 - 04:29

Hi! I want to make the subtree menus on my website to drop downs. I am not able to access the PHP-code or any folders but I have a css module but is it possible to achieve that?

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

Zen custom theme site administration toolbar broke. Need help fixing it.

Drupal - Open Source Content Platform - Fri, 11/09/2018 - 12:58

Hello,

I migrated a Drupal 7 project into Drupal 8. One of the problems I'm facing right now is that the Admin toolbar at the top of any page is acting weird only when I'm on content pages. It works fine when I am on the admin settings pages. The issues are:

  1. The labels on the top half (Manage, Shortcut, etc) don't change the labels on the bottom half (Content, structure, etc) as they normally do. Instead, they all redirect to /admin. The labels work as usual from there. Also the "Admin" label is missing, and the icon for it off-center.

https://i.redd.it/l1q25s22gcx11.png

  1. The bottom half of the toolbar is detached from the top half, where if I scroll down, the bottom half follows. It looks like this:

Broken Admin toolbar

I realize that this is a probably a very noob question, but I was wondering if anyone has any idea how to fix it. I see that the toolbar is being rendered from a php file at ./core/modules/toolbar/src/Element/Toolbar.php, but I don't know how to proceed.

Let me know if there's something else you need to know.

Thank you.

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

Weekly useful Drupal things to know thread

Drupal - Open Source Content Platform - Fri, 11/09/2018 - 09:06

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]

Getting specific strings off of a pdf on upload

Drupal - Open Source Content Platform - Thu, 11/08/2018 - 18:35

Hello drupal users,

I am wondering what the best way to pull the date ranges from a pdf on upload. Each pdf is in the same format so the dates will always be in the same location.

Sorry if this is unclear.

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

OpenID Connect or OAuth2 support in D7

Drupal - Open Source Content Platform - Thu, 11/08/2018 - 13:10

Can't seem to get SSO to work with either OpenID Connect or OAuth2 using Drupal 7. I know my IDP is configured correctly as I was able to make a NodeJS POC to verify it worked.

Does anyone have any recommend modules or documentation they could share?

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

Any ideas for creating a comparison table

Drupal - Open Source Content Platform - Thu, 11/08/2018 - 12:06

So this table will have rows which are features and then columns which are the actual providers, let's say they are web design providers like wix and squarespace.

The features will be listed down the left side, and then columns on the right. Something like this -> https://cdn.shopify.com/s/files/1/1244/9504/products/feature-comparison-table-powerpoint-2_1024x1024.png?v=1520413142

So now I am starting to think about how to develop this in Drupal. The features needs to be a master list, in that the list must be the same for each provider obviously.

The providers or columns must not be restricted to a certain number, i.e. if the user wants to add 5 columns/providers, they can do this, or 4, or 3, you get the picture.

My immediate thought is to make the list of features a taxonomy vocabulary, and then make the providers a content type, the content type having a term reference field where they can use check-boxes to select which features that particular provider has.

The order of the features in the table can be controlled by the order of the terms in the taxonomy vocabulary.

Any suggestions so far feel free to suggest them.

The next part would be formatting all this into the table. I'm guessing views could handle this, but not too sure how to go about it.

I'm thinking the view could be to display the list of taxonomy terms, then use a relationship with the term reference field, but that is where my thinking gets hazy. Any ideas welcome.

I have done this before but it was limited to a certain number of providers/columns, hence I remember hard-coding some stuff in the views table template such as the column title/heading. This time this isn't an option.

I'm wondering if it may be easier to query this data manually rather than using views and pass to a template to be used.

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

MidCamp - Midwest Drupal Camp: MidCamp is Coming

drupal.org aggregator - Thu, 11/08/2018 - 10:50
MidCamp is Coming

MidCamp is returning for its sixth year next March 20-23, 2019. We’ll be back at DePaul University for four days of presentations, professional training, contribution sprints, and socials. Designers, developers, and users will be able to brush shoulders with Drupal service providers, hosting vendors, and other members of the broader web development community.

Agenda Overview

This year we have some changes to our general agenda. We’ll be adding summits for the first time! We’ve also moved our sessions to Thursday and Friday so that attendees get some of their weekends back. A high-level agenda is as follows:

  • Wednesday, Mar 20 - Summits, Training, and Contribution Sprints

  • Thursday and Friday, Mar 21-22 - Sessions

  • Saturday, Mar 23 - Contribution Sprints

Stay Tuned for these Upcoming Dates

Stay tuned into the website and our newsletter for some upcoming dates.

  • NOW! - Ticket sales are open on Eventbrite. Spread the word and get your tickets early: https://midcamp2019.eventbrite.com/

  • Nov 14, 2018 - Our website will be fully up and running. It will be ready to open our call for papers.

  • Dec 12, 2018 - Call for papers will close and travel information will be available on the website.

  • Jan 9, 2019 - We will open the registration for training and summits.

  • Jan 16, 2019 - Announce Featured speakers on the website.

  • Jan 23, 2019 - We will post the Final schedule for the website.

Help us Make MidCamp!

It’s not too late to get involved with MidCamp 2019. We’re on MidCamp Slack. You can also contribute by telling us what topics you’re interested in seeing in the 2019 program.

 

Join the conversation
Categories: Drupal

Community: Introducing the Drupal Governance Task Force 2018 Proposal

drupal.org aggregator - Thu, 11/08/2018 - 09:20

Drupal is one of the most successful open source projects in the world. Governance is fundamental to the project's success.

The community and the code has been built from the ground up. And as the code has grown, so has the community.

When communities are first emerging it's easy to bring newcomers along, but over time the community begins to mature, change, and then needs to adapt. Challenges and opportunities emerge as evolution occurs, and our community needs to navigate them strategically.

A Governance Task Force has been meeting weekly since May to put together the strategic proposal we now share with you. We've synthesized ideas, discussions, and experiences from people we've interviewed, and we've revisited the themes that emerged from the community listening project run by Whitney Hess and by previous governance discussions.

This Drupal Governance Task Force 2018 Proposal serves two purposes.

Firstly, it's clear that for community evolution to occur there needs to be broad agreement and buy-in. People are comfortable jumping in and building a new module, but community change and action is hard. People talked to us openly about the unclear processes and barriers holding back community progress.

We heard strong perceptions that support from Dries or the Drupal Association is needed before initiatives could be created or scaled; real or otherwise, this is affecting community progress and action. Speaking to people from the Drupal Association, the Community Working Group and other initiative leaders, they also feel limitations. But to change their terms of reference and priorities they also need to have a community directive.

The community is stronger and more influential than we sometimes assume  --- when we are speaking together.

That's why at the heart of this proposal is a new community governance structure.

The second purpose of the proposal is to create a starting point --- a framework. We’ve been practical, highlighting a range of actions that form a backbone for community evolution. It’s not a defined roadmap, and it’s not a list of every idea we had or heard. We welcome the discussion, debate and idea generation that this document will spark. We want to hear your solutions on how to get change done, and what you would like to contribute.

We strived to make practical recommendations with the potential to make progress, lower barriers, and help our community to continue to evolve with time.

Throughout this process we have heard people say they believe change is necessary. Change is necessary for the longevity of Drupal the project and the code. Change is necessary to create a new generation of Drupallers — the people we want to help build ambitious things and to have the chance to build a career within our community.

It is hard to not feel the project is at a crossroads. We’ve climbed the mountain of Drupal 8, we sit at the peak and look to the valley below.

Where we go next, and who we take with us, is up to you.

We hope this proposal helps.

David, Ela, Stella, Lyndsey, Rachel, Hussain, and Adam

File attachments:  Drupal-Governance-Task-Force-Proposal-2018.pdf
Categories: Drupal

Creating hundreds of nodes on the fly (comparison node) that compare two (camera node type) cameras side by side.

Drupal - Open Source Content Platform - Thu, 11/08/2018 - 09:10

I have managed to create a node type called Camera Comparison that has two entity references, I put a camera in to each and then on manage display it just displays the a 'Node Comparison' rendering.

I end up with an awesome 1 on 1 comparison of all the fields within each camera and you can compare them side by side, very simple, does it's job.

The problem is, I have hundreds of cameras and i've created many many comparisons, but it will take me months if I create just a handful a day.

Is there no way I can create this on the fly in views or with a module so that Camera 1 is compared with Camera 2, through to Camera 150, that's 150 comparisons.

Then Camera 2, is compared with Camera 3 through to Camera 150?

I thought views would be able to do something like this, create pages and I can then redo the titles if needed.

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

Drupal Dev Thursdays: Post here with development questions or discussion

Drupal - Open Source Content Platform - Thu, 11/08/2018 - 09:06

This is the weekly thread for development questions or chit-chat that doesn't belong in the Monday Beginner Questions thread. All questions/comments/ranting about Drupal dev is fair game.

(Check out the weekly post schedule in the sidebar)

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

Rendered markup field

drupal.org - Modules - Thu, 11/08/2018 - 08:24

A simple field supposed to contain rendered markup and all related assets (css/js).

Categories: Drupal

Sooper Drupal Themes: Drupal Costs & TCO: Proprietary vs. Open Source

drupal.org aggregator - Thu, 11/08/2018 - 05:37

The real cost of creating and maintaining a new website can be hard to estimate even for the best among Drupal professionals. By using the Total Cost of Ownership (TCO) methodology, organizations can ensure that both direct and indirect expenses of operating a website are considered and calculated rather than just emphasize on the initial spending. In this article we are going to take a look at what are the Drupal costs of owning a website versus using a proprietary software.

There are some key considerations to decide on before diving into building a website:

  1. Open Source vs. Proprietary License
  2. Creating and Managing Web Content
  3. Re-designing and Updating Content
  4. Future Upgrades and Longevity
  5. Long Term Savings
Custom Code - a necessity of the past?
Categories: Drupal

Change id/class on specific h1

Drupal - Open Source Content Platform - Thu, 11/08/2018 - 05:27

Hi, I'm totally new to Drupal and wondered if it's possible to change the id on the h1-tag on one page? I don't have access to the code or folder library so I have to be able to do it through the admin page if it's possible!

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

Google Tag Manager fires UA pageview, but won't place GA cookies and data to GA.

Drupal - Open Source Content Platform - Thu, 11/08/2018 - 03:52

Hi,

Our situation: Since a month we launched a new website (drupal 8) for a client and are tracking all events with Google Tag Manager as usual. (Pageviews, Contact forms tracking, Mailto clicks, The usual stuff, nothing special.)

But now we see there is no data sent to Google Analytics. When previewing Google Tag Manager, we can see the correct tags get fired, but we receive an error in the preview mode:

https://imgur.com/KMgOyQd

We have 2 mirror websites for this client and are using the same settings for the 3 domains. We absolutly have no clue what could go wrong. No cookiebanner blocking cookies or settings preventing GA from firing or placing cookies.

What we tested and know so far: * We are sure we are using the correct UA code and correct GTM container * We tried to add a completely new container but also the container of an other website * Other custom scripts work (Zopim, Hotjar, ...) * Hard coded UA code did give an error when loading a page, but when hard refreshing, it sometimes was able to send an event. * When removing and adding the hard coded UA code again, it's not working anymore.

Please let me know if you guys have any suggestions or ideas.

Thank you very much and let me know if you need additional information :-)

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

OPTASY: Predictive UX in Drupal: Can We Create Anticipated User Experiences in Drupal 8?  

drupal.org aggregator - Thu, 11/08/2018 - 03:33
Predictive UX in Drupal: Can We Create Anticipated User Experiences in Drupal 8?   silviu.serdaru Thu, 11/08/2018 - 08:33

What do you get when you put together: Drupal 8 + AI + UX? Drupal8's content management features and integration capabilities, AI, for storing and interpreting data and building a predictive model and UX for anticipating user behavior while adding a “human touch” to the equation? You get predictive UX in Drupal!

Is it possible? Can we implement predictive UX in Drupal and thus create anticipated user experiences that:
 

  • help you deliver meaningful content only    
  • simplify user choice
  • simplify users'... lives?
     

But how does machine learning actually power these predictive user experiences? What's the whole mechanism behind?

Categories: Drupal

Commerce Viral Loops

drupal.org - Modules - Thu, 11/08/2018 - 03:09

Integrates the Viral Loops e-Commerce Referral template with Drupal.

How it works:
Coupons are created automatically for referred customers (invitees) when they get to your store and provide their email in the In-app Referral widget or create an account.
When a referred customer completes a purchase, a coupon is created automatically for their referrer.
The coupons are delivered automatically to your customers via the In-app Referral widget that they can use in your e-Commerce store.

How to use?

Categories: Drupal

Mailchimp Webform

drupal.org - Modules - Wed, 11/07/2018 - 18:03

Integrate Webforms with MailChimp.

Categories: Drupal

Pages