Drupal - Open Source Content Platform

Subscribe to Drupal - Open Source Content Platform feed
The place for news, articles and discussion regarding Drupal, one of the top open source (GPL) CMS platforms powering millions of websites and applications, built, used, and supported by a diverse community of people worldwide. More Info: [Drupal.org](http://drupal.org)Drupal - Open Source Content Platform | #Celebr8D8
Updated: 2 min 3 sec ago

Weekly useful Drupal things to know thread

33 min 46 sec ago

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]

Creating a composer file for a custom module. How should I test it?

1 hour 19 min ago

I've been working on a D8 module Flot, and I want to get it so simplytest.me can install it for users and developers to test. I was trying to get a drush make file set up for it, but I just read that drush make is deprecated, so I'm moving to composer. This module depends on a javascript library that is not in composer. simplytest.me says , " Composer support for modules should now be functional " and that, " it will execute composer install in the projects root directory. "

Here is my composer.json.

{ "name": "drupal/flot", "description": "This module provides a wrapper for the javascript FLOT library.", "type": "drupal-module", "homepage": "https://drupal.org/project/flot", "minimum-stability": "dev", "repositories": [ { "type": "package", "package": { "name": "flot/flot", "version": "master", "type": "drupal-library", "source": { "type": "git", "url": "https://github.com/flot/flot.git", "reference": "master" } } } ], "require": { "flot/flot": "master" }, "extra": { "installer-paths": { "../../libraries/{$name}": [ "type:drupal-library" ] } } }

I'm having a hard time getting the libraries installed correctly. If I just have this file and type composer require flot/flot it will download. If I install drupal and type composer require drupal/flot it does not. Any advice on changes I should make?

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

Crawlers are requesting /user/login and /user/register... a PathAuto problem?

Thu, 01/17/2019 - 13:09

Hi, I noticed in the server logs that crawlers were still getting /user/login?destination=... and /user/register pages. I have PathAuto installed, so that's possibly the culprit.

Am I safe in modifying the robots.txt file manually from

Disallow: /user/login/

to

Disallow: /user/login

and for similar paths too? Would that likely fix the problem?

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

How to protect email addresses on Drupal sites?

Thu, 01/17/2019 - 09:39

How do you protect your inline email addresses on your websites from spambots?
Most modules are for D7, I've only found one for D8 so far (SpamSpan).

Any other ideas?

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

Drupal Dev Thursdays: Post here with development questions or discussion

Thu, 01/17/2019 - 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]

A frustrated beginners rant.

Thu, 01/17/2019 - 07:43

Sigh. I believe that drupal is amazing and i would love to be a drupal site builder. I have realized that there are no step by step tutorial of building a good looking drupal website. All free tutorials end up with terrible bartik or someother shabby theme thingy.

I thought drupal tv would help what with keynotes and drupalcon. Ow yeah! Hell no! These in my opinion have left me even more lost. these showcase some great sites they made using some mumbo jumbo formulas eg Bricks, Paragraphs and Modifiers or some Panels Views and Ooomph paragraphs ☺. By the time am done i am done watching these things am fried. Like now.

You will find a bunch of wordpress step by step from hosting to deployment. Ending up with a beautiful site. But drupal, dude from drupal atlanta tells you dont use Bricks, some dude called Murray woodman swears by bricks... Wtf!

I believe that seeing a step by step process would benefit newbies to see a procedure to make something then become adventurous on their own.

TLDR: Looking for step by step tutorial to make a decent drupal site from scratch.

Fried brain, let me see what pewdiepie has uploaded 😂😂 dont judge me. There is a called Hawkeye Tenderwolf giving speech on drupalcamp atlanta 2017.

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

Any Drupal 8 calendar?

Thu, 01/17/2019 - 07:36

I did installl fullcalendar module on a brand new drupal/Drupal project fresh install and it generates errors in the report log and the calendar does not show up in the view preview. I guess there are version issues with the jquery.ease library. I also tried the calendar module (not on a fresh install). The calendar is shown on the preview but no event are displayed.

Does anybody knows a good alternative? Being able to display event using taxonomy is of interest.

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

D7 - Change date_select type to select on a date Date Range field

Thu, 01/17/2019 - 05:56

Does anyone know how or if i can change a form that's a 'date_select' #type to a regular 'select', I would like to add my own values through #options but date_select doesn't have this. I tried just changing the field to a select type through a form alter and adding an array of options but i got this error 'An illegal choice has been detected'.

submitted by /u/Ell-Xyfer
[link] [comments]

D6 Privacy/GDPR implementation

Wed, 01/16/2019 - 15:45

Hello all, while Drupal 6 is obviously rather long in the tooth and not actively supported anymore I thought it may be worth asking about this subject. I’m sure there are quite a few D6 sites still out there and user privacy is quite a hot subject and even a legal requirement in many areas these days.

So, are there any modules or resources available that would help the admin of a D6 site tackle something like GDPR and provide the user of the site with fine grain control such as opt-in on specific functions (analytics, ads, etc.)?

Clearly there are tons of options available for D7 and D8 but seemingly lacking for 6, so worth asking I think.

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

It's Drupal Contrib Wednesday! Post recent contrib module likes/dislikes

Wed, 01/16/2019 - 09:07

Have you tried a new module or theme recently, or do you have a favorite that nobody seems to know about? Tell us what you like or dislike.

(Check out the weekly post schedule in the sidebar)

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

D8 - Question about adding full-width paragraph type.

Wed, 01/16/2019 - 08:15

Hi all, Say I wanted to create a hero paragraph content type that would need to expand full width. If This is being placed in my normal content section, this area has max-width container of 1300px. Is there a way for me to break out of this container only when these hero paragraph types are being used?

In the past I’ve just closed all the divs in my template file and then reopened them after the paragraph code but I was wondering if there was a better way to do this?

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

Anyone running a paywall w/ their Drupal 8 site?

Tue, 01/15/2019 - 19:39

Considering my options as I begin planning my migration to Drupal 8 and possibly implementing a paywall.

  • What module(s) are you using?
  • Is it a metered paywall based on content views, or something similar?
  • What were some of the challenges you faced?
submitted by /u/soccercrzy
[link] [comments]

Need help with planning my taxonomy / content hierarchy

Tue, 01/15/2019 - 19:25

Hello /r/drupal!

I run a fairly large educational resources website that provides textbook notes, outlines, practice quizzes, study notes, flashcards, etc. I'm spending some time to re-evaluate how I'm utilizing the different content types as part of a broader content strategy and would love some input from the community.

Currently, I only have two different content types; Book and a custom content type, 'Upload'.

Book - Non-user generated content, organized by class (e.g. US History) and sub-category (e.g. textbook notes, vocabulary terms, etc.) Upload - User generated uploads

The a subset of the site hierarchy would look something like this:

• <root> ○ US History § Textbook Notes □ Textbook Name ® Chapter Title § Vocabulary Terms § Practice Quizzes § Court Cases § Important Documents § Premium (this is the Upload content type which I refer to above)

All of the above, with the exception of the Premium section is part of the Book hierarchy.

The ultimate goal is to get to a sitemap that looks like this with the goal of separating textbook and subject specific content from user generated content.

• /textbooks ○ /{textbook-name} § /notes □ /{chapter #} § /practice-quizzes § /vocabulary § … • /ap-exam ○ /{subject-name] § /textbooks [NOTE: This is just a view of textbooks that are used for the subject with links to the textbook within the /textbooks section] § /faq § /schedule § /previous-exams § /scores § … • /study-materials ○ /browse § /{content-name]

I'm thinking that if I were to utilize taxonomies, I'd be able to organize and group the content more effectively. If I were to have taxonomies for Subject (e.g. US History), Textbook Name (e.g. American Pageant, 16th Edition), and Resource Type (e.g. Notes).

Does the above strategy make sense? Is there a more optimal way of organizing the content? Anything that I'm not thinking about? This will be on Drupal 8.

Thanks for your help!

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

Pages