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: 6 min 10 sec ago

Replacing a theme's logo.svg with my own doesn't work?

3 hours 2 min ago

I'm subtheming with Bootstrap in Drupal 8 and trying to replace the default logo.svg with my own .svg image. I tried renaming my image to logo.svg and replacing the default one, giving it a custom path and uploading it directly (which I found out is not supported by default). None of these have worked. I'm confused because the default logo for Bootstrap loads fine, so I thought maybe I messed up exporting my logo from Adobe Illustrator? However, after exporting 5 different .svg files with varying settings, I had no success.

I'd like to find a solution if possible as I think a .svg image will look much cleaner than a .png one.

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

Finding source data used by exposed filters

Tue, 06/19/2018 - 13:53

I've just inherited a drupal site that is for selling very technical components for medical device manufacturers. Most of the site is straightforward. One page involves exposed filters/dropdown menus to help users locate a specific part they are looking for.

Not having used Drupal before, I cannot locate the source of the data that feeds these dropdown filters. This data needs to be updated regularly with new part numbers/new parts/model years etc and so, of course, I need to figure out how.

What should I be looking for, and can it be found through the admin interface?

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

Export content/item pages into a .csv file?

Tue, 06/19/2018 - 11:43

I've taken over an extremely dated Drupal page and have been hired to move everything (and I mean, everything!) over to a new WordPress site I've built. I have WooCommerce integrated already with the new site, and have the option to import products via a .csv file.

The current Drupal site has no commerce options installed as far as I can see, and all the products have been saved as 'item' pages in the content section.

I'd rather rather not manually transfer this all over if it can be helped, any advice appreciated.


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

It's Triumphant Tuesday! Post your recent Drupal wins and launches

Tue, 06/19/2018 - 10:07

Here's your chance to brag about cool stuff you've done recently and awesome sites you've shipped. Anything happy and Drupal-related goes.

(Check out the weekly post schedule in the sidebar)

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

[QUESTION] Suspicious php script under .git folder

Mon, 06/18/2018 - 23:38

is it usual to have .php file under a .git folder?
so our server had this unusual behaviour that takes a lot of resources in the server.

and then i was looking some stuff on the recent drupal security issues (drupalgeddon stuff).
When i was browsing through the net i found this article https://www.getastra.com/blog/911/remove-crypto-mining-malware-cms/ and tried to run some find and grep on the files.

turns out that i found some php files under .git folder. Is that the usual case?

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

Disable views or leave unused views as they are?

Mon, 06/18/2018 - 10:53

Hi so I have a drupal 7 website. Is it advisable to disable unused views? I just removed the code for appearance in certain pages in one view.

Should I disable this view or just leave it like that? Thanks!

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

How to use bootstrap theme Preprocess plugins?

Mon, 06/18/2018 - 10:44

As title says, How can I use the preprocess plugin integrated in the base theme without having to install new modules that duplicates the functionality of them (View Bootstrap). I am new to Drupal 8 and took some courses on it using Drupalize.me website. However, I am an experienced PHP developer.

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

How to manually configure the Link module included in drupal core?

Mon, 06/18/2018 - 10:33

I would like to be able to add the file:// protocol to the list of filter_protocols so that we can add links to shared files on a mapped drive from within our intranet website, but I'm not sure how to do this. Right now, it is apparently not included, according to Link Module Overview. Is there a way to manually configure this list in order to add file://?

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

drupal-composer: <root>/web/sites/default/files ignored by Git, how to build and ship Drupal

Mon, 06/18/2018 - 10:14


I've installed Drupal using the Drupal Composer project, like this:

composer create-project drupal-composer/drupal-project:8.x-dev some-dir --stability dev --no-interaction

This creates my Drupal project, and works really well. My workflow is that I commit files to Git, the Drupal project get build on my build server (Jenkins), and the built code is shipped to my QA server.

However, the Drupal project comes with a gitignore-file that excludes all the JavaScript, PHP and CSS files:

# Ignore Drupal's file directory /web/sites/*/files/

It makes sense to ignore these files, as these are not part of my own codebase. But by ignoring these, they'll never make it to my build server, and further to my QA server.

So either I have to add them to my codebase (by removing the offending line in the gitignore file), or I must re-generate them on my build server. The latter is the obvious choice, but I have no idea how to to this.

Does anyone here know how to use the drupal-composer project to re-create those <root>/web/sites/default/{css,js,php,styles} folders with corresponding files?

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

Weekly Drupal beginner questions thread

Mon, 06/18/2018 - 10:08

Ask your newbie questions here! No judgement!

(Check out the weekly post schedule in the sidebar)

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

Suggestions for a video media platform (vod and streaming).

Mon, 06/18/2018 - 08:46

I'm exploring requirements for a project that's basically a Youtube clone for a university. The university produces a ton of video content (campus life, community issues, etc) and wants to both stream that content as well as offer episodic (video on demand) videos.

Currently they're using UStream (IBM Video Cloud) for streaming and Vimeo Pro for VOD. I really like the Brightcove Video Connect project (https://www.drupal.org/project/brightcove), but the service may be out of their price range.

The reason we like Brightcove's integration is that it allows video producers to add content to Brightcove, which then gets synced to Drupal as entities for a separate content management team to publish. I don't see any other projects for Drupal that create this sort of integration. They're mostly media field extensions (copy paste video url or id).

Has anyone built something like this before? Did you build your own service or implement a service?

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

drupal.org down, 2018/06/18

Mon, 06/18/2018 - 07:33

I can't reach drupal.org for some reason. Anyone know what's going on?

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

Product images not showing on Taxonomy term page

Sat, 06/16/2018 - 06:55


I'm tearing my hair out a bit here - I'm building a store with Ubercart, and have created taxonomy pages for product categories/ranges etc.

As you can see the page appears, and I can see a correct pager, but no images!

Contextual Filters in view settings is set to content: Has taxonomy term ID, and format is content teaser.

Any help would be massively appreciated! Thanks!

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

We would like our employees to be able to view a directory that exists on a shared, mapped drive. Is this possible?

Fri, 06/15/2018 - 12:16

We are building an intranet for our company. We have a bunch (hundreds or thousands) of company files on a mapped drive that we would like to provide links to from within the website we are building.

Every employee can already access all of these files on his or her own machine. However, many of the files on this mapped drive are very hard to find.

So, we essentially want to create a file browser on our drupal 8 intranet website that points to a directory within the mapped drive. This way employees can easily navigate to and download (and even search for) documents from the intranet webpage.

I have zero experience with drupal 8, so I don't have much to go on. I have searched the web for quite some time without any luck. Perhaps I am framing my question wrong or the vocab I'm using isn't quite right. Regardless, feedback would be greatly appreciated.

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

Weekly useful Drupal things to know thread

Fri, 06/15/2018 - 10:08

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]

Database for Drupal: How to plan for scaling up the database?

Fri, 06/15/2018 - 00:46


I'm thinking that our new Drupal site will start with a standalone database instance running on the same virtual machine (although inside it's own Docker container) as Drupal.

If needed, I may need to convert the standalone database instance into a clustered instance, running on two of more VMs.

From what I've read, the Percona database looks like the best option, in that it's clustering software appears to be the most stable on, so I might go for Percona for my new site.

A couple of questions: 1. Which strategy does other Drupal projects implement when planning for potentially scaling out the database? Do you start out with a standalone instance, and migrate to a clustered one if needed? 2. I'll be using a search engine such Solr or Elastic too, as well as Memcache or similar. Will these tools offload the database in a way that if I can scale up these instead of the database itself?

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

Drupal 8 Job outlook

Thu, 06/14/2018 - 21:23

Hi everyone,

How are the job prospects for drupal 8 these days? is it picking up? I live in an area that doesn't have a lot of drupal shops, but I'm currently working for a company that does all sorts of web projects but also a fair amount of drupal work. I'm at a crossroad I can double down and invest time in mastering drupal 8 & symphony or focus more on javascript frameworks- but I don't have time for both. I don't really care about working with what's new and sexy, I'd prefer something that's going to pay the bills in the next 10 years. I'm really concerned as there seems to be less full time jobs in my area for drupal than there were 5 years ago. What's the 411 from the united states drupal devs?

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

Looking for a good starting distro/plan

Thu, 06/14/2018 - 18:49

The company I used to work with did every build from scratch, so I've got a decent base for site building (I was mostly front end). I'm looking into options to start for my client's sites - most organizations have 10-20 employees so not a lot of technical prowess there.

I was debating between the Lightning distro as a starting point or using a bunch of paragraph types + twig for their content editing experience. Looks like panelizer could be a bit overwhelming for them, though I think it's sweet. Does anyone have any insights or good starting points?

It seems like 75% of being a great Drupal dev is knowing about great modules, and I used to rely on developers to know that while I did design/frontnend. I'm sure I left out key information so I'm happy to provide more.

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