0
votes
0answers
2 views

How to correctly configure settings.php to use reverse proxy and ssl termination

In settings.php there is the section "Reverse Proxy Configuration". It suggests settings to add when you are using a reverse proxy and SSL termination. Nginx is listening on port 443, adds the ...
2
votes
1answer
16 views

Best Linux distribution for clean Drupal 8 install [on hold]

I am experiencing a series of issues trying to prepare a server on my professional environment for running Drupal 8. By default, the IT team will install CentOS 6. More precisely, we are running ...
0
votes
0answers
3 views

Using Taxonomy Terms as slideshow pager (or at least group slideshow pages)

Something I can't seem to figure. How do I use Taxonomy terms as a pager in a slideshow. Essentially slides will be grouped by term. Filters are "destructive" so if I have three terms, A, B & C ...
0
votes
0answers
3 views

Drupal View for the 10 Most Recent Items Sorted by Date ASC

Is it possible to construct a view of the 10 most recent nodes sorted by date in ascending order? This sounds simple, but it seems as if it's more complicated than I'd imagined. I think to do this ...
0
votes
1answer
19 views

Upgrading Drush 6 to Drush 9 on Centos 5 server

I haven't updated drush in awhile and looking to update it to the latest. I'm not exactly sure how it was installed originally. But when I do a which drush, it shows it resides in /usr/bin/drush When ...
0
votes
0answers
4 views

How to open various files(image,video,txt) as pop-up on the current browser page instead of opening in separate page?

I have seen on several sites, particularly news sites, If we click on video, the video does not open in the separate page, instead small window in the middle of the screen pops-up and video does play ...
0
votes
1answer
7 views

Conditionally load PHP class

i have made 2 custom modules : boutique paypal paypal is a dependance of boutique. So i try to check if paypal is enable : namespace Drupal\boutique\Form\Multistep; use ...
0
votes
0answers
2 views

Views: Content grouped by 2nd level taxonomy term

I want to create a view that accepts parent taxonomy term as contextual filter. And it will show the content grouped by its child taxonomy terms. For example if the taxonomy has Top Term1.0 -- ...
0
votes
0answers
5 views

How is the image format handled in Panelizer?

Am beginning to work with Panelizer and still have low understanding of Panels. I have one Default Panel for Full Page Override for Content Type (Person). In Person I have an image field. In ...
0
votes
0answers
5 views

Custom made RSS module

I want to create a module that manages the RSS Feed page, putting feeds into different categories and edit the outcome so the feeds aren't showing in raw XML. I want to make them look more tidied up, ...
0
votes
1answer
4 views

D8 date popup on exposed filter

How can I get a date popup on the exposed filters of a view on D8 ? I do not see the option, is it on D8 yet?
-1
votes
0answers
12 views

How to show content of a custom block using PHP code format in Drupal 8

I have added some custom code in a block using PHP code format to show that block on a specific page. I have checked all the things working fine on Devel PHP page but contents are not showing on page. ...
2
votes
1answer
15 views

How do I only render the main content without wrapping it with the theme or side blocks and menus?

I want to output a google map div with a side panel in my drupal 8 moodule. So no need for blocks surrounding my main content. The question is how do I tell Drupal to only render main content using ...
1
vote
1answer
18 views

Can I store a computed field as a field of a Content Type?

In content type = Person, I have these fields: - First Name - Middle Name - Last Name - Suffix In views, I have successfully concatenated the full name by adding Global: Custom text and using ...
0
votes
0answers
14 views

Overriding custom templates in a theme

I am having trouble creating/registering custom templates in a module and overriding them in a theme. For example, I have this in my_module_theme(): $theme['contact-page'] = array( 'render ...
2
votes
3answers
16 views

How do I move a group of nodes to another Drupal instance? [on hold]

What: I'm breaking a part a huge D7 site into a D7 multi-site instance. Why: Marketing demands have changed. They different units still want to use the same theme but have different main menus and ...
0
votes
0answers
9 views

How to create a View block for list of node title created and node title commented by logged in User?

I want to create a View block for the logged in user which shown list of node he has created and list of node he has commented, only titles of both. Just wrote point-wise below for better ...
1
vote
1answer
11 views

Drupal 8 installation (bash) script. I want the latest stable v8 version each time. But how?

My Drupal 7 script utilised a make file which specified '7.x' as the Drupal version to install, drush make would fetch the correct core files. My current Drupal 8 script uses git to clone and then ...
0
votes
0answers
11 views

View that displays both Media files and nodes

I have run into a problem where it seems like you can't display Media module Files alongside regular nodes. I have a filter that is set to show content of type Webform. I wanted to be able to have an ...
1
vote
0answers
13 views

How can I make content to be updated every after a specific amount of time?

I have a content type with nodes. I would like the nodes to be updated every five hours. Now in case some nodes have not been updated, the content admin is alerted with a warning message with a list ...
0
votes
0answers
6 views

User can't change their own location after registration anymore

i'm using the loaction module for user locations. At the registration form a new user has to enter his oder her location and it will be displayed in his profile. When the user tries to edit his or her ...
0
votes
0answers
14 views

Instant Notifications

My employer has a social intranet site with 1000s of users, groups, communities and blogs. Users are free to 'follow' or 'like' nodes, blogs and other users, subscribe to communities, join groups etc. ...
1
vote
0answers
19 views

Theming forms. Form-element

Please, help. Is it possible implement different templates for form-element.html.twig? For form 'user-form' one template, and for other forms second template.
-2
votes
1answer
10 views

To edit the view page each node requires lot of time

I have a view with edit link where in if i try to edit it takes lot of to get save i am trying to edit single node content but still why it is taking lot of time i am not understanding please can ...
1
vote
1answer
21 views

Is there any way to count the number of items in cache?

In Drupal 6, I used to be able to look up the number of items via {cache_MODULENAME} table direct in SQL. Is there any way to look it up via the cache API?
0
votes
1answer
15 views

Where are all the controller classes instantiated?

In Drupal 8, if I want to create a form, I have to define a class inside the module folder like this. class MyForm extends FormBase{ public function getFormId() { return 'my_form'; } ...
0
votes
2answers
29 views

what is the hook name in order to alter theme function of specific element

imagine that we have a list if items in $items array that it's theme function is list_item in specific page. code is theme('item_list', array('items' => $items)); but in my module, I want to ...
0
votes
0answers
19 views

How do I add a media image field?

I think it's quite confusing, I have installed these modules: Media Entity Media Entity Image Entity Browser When I try to add an image field, I have no widget for Media like it was in Drupal ...
0
votes
0answers
9 views

Gif animation and responsive image styles are not working

I have a multiple image field and need it to upload images and animated gifs. These images might be resized. When this happens, the animated gif loses its animation. Has anyone solved this problem in ...
-3
votes
0answers
12 views

Share content on multi site

I am working on a school project in drupal 8, Where Every class has its own site and school has its own site, Here I am using multisite with different database with same codebase and made user table ...
0
votes
0answers
9 views

How can I set the focus on the CKEDITOR textarea after I change it to display:block?

I have a CKEDITOR textarea that is by default set to display:none on comment_button click I set the CKEDITOR textarea to display:block. How can I set the focus on CKEDITOR textarea after I perform ...
1
vote
1answer
18 views

Equivalent to template_preprocess_search_results()

Is there something equivalent to template_preprocess_search_results() in Drupal 8? I just realized that this function has been left out in Drupal 8 for some reasons, although ...
0
votes
1answer
5 views

hook_views_data join table on multiple columns

I have 3 tables lms_user, lms_answer_initial and lms_model_answer and need to join them to display a view on certain columns. I can successfully join the first 2 tables (lms_user, lms_answer_initial ...
1
vote
1answer
28 views

Display field collection items by using twig

I'm using the field collection module in Drupal 8 to encapsulate event informations so I've got a field collection with six sub fields (place, starting time, etc.). In my twig template ...
0
votes
0answers
13 views

Commerce Stripe transaction failing

I am using Commerce Stripe as the payment gateway on my website. Everything is configured properly, and but still while checkout I am getting this error: "Error making the payment. Please contact ...
-3
votes
0answers
14 views

How do I place PDF Flip flipbooks?

I'm working with a PDF Flip drupal module export file. I've followed the instructions at the software provider's website. I've uploaded the module manually to the site, enabled the module, and from ...
0
votes
0answers
9 views

403 error on creating node using REST

I am trying to create an article node using REST API, but i keep getting 403 error. I have given necessary permission. I am trying it with admin login, curl --include --request POST --user ...
0
votes
0answers
6 views

Error connection reset when uploading PDF Flip module export file via web interface

I'm working with a designer using a flash based flipbook software called PDF Flip. The software has a drupal module export option which produces a zip file. The issue I'm having is that when I try ...
0
votes
0answers
11 views

how to split mailsytem based on condition

I have a site for sending newsletters and I want to send through two mail system. I was using mandrill mail and PepiPost mail service. If I want to send a newsletter to 100 users, I need to use ...
0
votes
1answer
13 views

Increase the panel pane title length

There is a module for increasing the node title, but how to increase the maximum length of a panel pane title? I have a view pane which title must be overwritten in its panel pane settings. This works ...
1
vote
1answer
20 views

How to assign user ranks based on their userpoints?

I am using userpoints and userpoints_nc to calculate user points when they publish an articles or comment on a node. On these points I want to assign some rank to the user. Like for example Upto ...
0
votes
0answers
11 views

How to add multiple products to cart at the same time with attributes

I have different view blocks that displays multiple products on the same page, each product has their own attributes such as product bundle and custom line item, these serves as an option set / ...
0
votes
0answers
18 views

Migrating from 7 to 8 with 301 redirects

If I migrate a simple, almost solely core based site (that includes the module Global redirect) and some 301s made with it --- Should the redirections be added to drupal 8 as well given I have ...
0
votes
0answers
10 views

How do I add another field to facet for conditional filtering

I currently have a facet block that lists all sizes available for a certain category. The sizes come from a taxonomy vocabulary. I want the sizes facet block to only show the sizes that have stocks > ...
0
votes
1answer
11 views

How to set the filter condition by default for specific condition in view

How to set the filter condition by default for specific condition in view i,e i have view with the filter condition STATUS drop down list has 1]live 2] discard,so here i want to filter by default for ...
2
votes
1answer
17 views

Add tab / local task to a node

I've created a module called hotel_reviews. I've created the route node/{node}/reviews using hotel_reviews.routing.yml. hotel_reviews.content: path: '/node/{node}/reviews' defaults: ...
1
vote
0answers
12 views

Drupal 8 View - get url field

How do I get the URL, not the link html for a taxonomy field in my view. For Drupal 7 I found this ticket: How do I get the raw URL as a field in Views? This mentions getting the content: path - ...
1
vote
1answer
15 views

What causes the errors in the rules that come with Commerce Coupon?

I am trying to use Commerce Coupon module in my project. The problem is after download and enable this module, rules created by this module got error. And I can't find out what happened to this ...
0
votes
0answers
25 views

Drupal Member suite [on hold]

I used the MoneySuite module by following this video. The video shows when he clicked create account, it will redirect to ms/checkout/paypal_wps. When I clicked create account it won't redirect ...
0
votes
1answer
17 views

Is it possible to put a single field of views in panels?

There is an existing views with a few fields output. I would like to put one of these fields in panels. Can I get it directly in Add Content of panels? If it is impossible, what is the best way to ...

15 30 50 per page