All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
620 views

hook_views_post_execute already has rendered fields

I have a view with a date field that I would like to move back a few minutes e.g. $timestamp - 60. I run hook_views_post_execute() but, when I look at $view it already has rendered markup in it: $...
0
votes
1answer
1k views

How to include “File upload” field in the webform composite element?

I have created a custom composite element, I want to include "File upload" field...The field is visible to the user and the file is uploaded. But it is nowhere saved.
2
votes
1answer
582 views

how to bypass video conversion for mp4 files?

I am using the Video module on my site, and would like a would like to bypass video conversion and a user uploads a file in MP4 format. Is there any way that the bypass video conversion? The reason ...
1
vote
2answers
938 views

Add conditional redirect to Views exposed filter (using BEF)

I have a view showing a select list of locations. Upon selecting a location the View shows a Google Map with the locations of the current selection. For certain items in the select list I would like ...
2
votes
2answers
573 views

How do I access an Entity Reference's field values?

I have 2 content types. BaseContent: Field1: Title Field2: ID# RelatedContent: Field1: [Entity reference to a BaseContent] Field2: **[Automatically insert the value of the referenced BaseContent ...
0
votes
1answer
34 views

How do I import configuration without getting these errors?

I am using drush cim and drush cex for importing and exporting the configuration between environments. At this moment, local and develop are working OK, but I am getting an error on stage. This is ...
0
votes
0answers
7 views

How to migrate a multilingual Drupal 7 site to Drupal 8?

I'm currently trying to migrate my Drupal 7 site, which has the Dutch language enabled, to Drupal 8. I have enabled the following modules as instructed in the docs: Configuration Translation, Content ...
1
vote
1answer
551 views

emailing users in user reference field with rules

I am working on a site for an academic conference. Right now, we have two content types (1) proposal and (2) peer review. In the proposal content type, an author can add multiple presenters to a user ...
0
votes
1answer
795 views

How do I use the login for an external application?

Long ago I built a php based application for room reservations which basically ran on its own – outside the website's CMS. It was part of what I would now call a custom made intranet – or "custom-app"....
1
vote
2answers
711 views

How to get a complete list of blocks that are active content on current page?

I'm trying to get a full list of blocks that are active content on current page. Preferably it would include details of what type of content is displayed in the block. I need this information to ...
1
vote
1answer
37 views

Is it safe to delete the /module folder?

I see that the /module folder still exists and a /module/contrib folder has the updated module folders in it. composer update has updated the site to 8.9 composer update will not update any of ...
2
votes
1answer
49 views

Is it a good practice to declare drush as a dependency of a contrib module?

Is it a good practice to put "drush/drush": "^9 || ^10" in the required section of the composer.json of a contrib module if drush is actually its only interface? I'm maintaining a contrib module, ...
0
votes
1answer
518 views

Permission for translating menu items via the menu config screen

I have a multi language Drupal site, Using i18n and the entity translation approach. Translating menu items from an node works well, but not all the menu items are driven by the nodes. Now as user/1, ...
1
vote
1answer
878 views

Override module javascript file in theme or custom module

Is it possible to override a single javascript file from a module within a theme or custom module? My specific use would be for Views/js/ajax_view.js - I've had to apply multiple patches to get ajax ...
0
votes
0answers
14 views

Cart block doesn't show any content

After installing, the cart block view doesn't show any content, even when I had put something in the cart. I found How to hide an empty shopping cart with drupal commerce, which says the correct ...
1
vote
3answers
622 views

Advice on how to fix Workbench Moderation error messages

(n00b drupal person) I seem to be suffering the problems described in https://drupal.org/node/1966908 and https://drupal.org/node/1966920. Basically I have installed the following: drupal-7.26.tar....
3
votes
4answers
3k views

How to use entity form in pop-up window?

I have created a view, and there is one column named "forward to delete". I want to open an entity form in a pop-up after clicking on this link and get the node id of the clicked node so that I can ...
0
votes
1answer
41 views

How do I install without having these errors? [closed]

So far, Drupal Commerce is the best module for e-commerce on Drupal. But now Drupal 9.0.0 was released, and when I want to install Drupal Commerce on Drupal 9, both way is out of luck. Both way I ...
0
votes
0answers
6 views

CKEditor and CKFinder not working after recent CKEditor update

I have Drupal core 7.69 and will install Core 7.71 later today. But I updated CKEditor a month ago and since then it is not working. Cannot upload new images or old images do not show up in the ...
1
vote
1answer
2k views

get the content moderation value on node update

The module content moderation has been activated and a custom workflow added to a content type. On editing content, when selecting a content moderation state then clicking on save, I would like to ...
1
vote
0answers
26 views

Why has this “details” accordion appeared in this view?

I have a view that uses the table format and the "group by" setting. I've just updated to the Drupal 8.9. Suddenly, each group has this empty Details accordion. It wasn't there before. Why did ...
0
votes
1answer
21 views

Libraries shared by more than one installation?

I am working with several Drupal 8 installs On a shared hosting environment. I've got them up and running and they are looking great thanks to the MoreThanThemes themes I'm using. I'm at the stage of ...
1
vote
4answers
512 views

Add another item by multivalued fields directly from node (or entity) view page

I have a file field which can have unlimited number of values. I am using File Entity module. As default, if users want to add more files, they must edit the node. I'm looking for a solution to give ...
55
votes
4answers
85k views

How do I get the current node ID?

In Drupal 7, if I wanted to get the node id of the currently displayed node (e.g. node/145) I could get it with the arg() function. In this case, arg(1) would return 145. How can I achieve the same ...
0
votes
2answers
542 views

Speech API Javascript and Drupal Forms

I'm using WebSpeech API to allow users speech recognition on my site. I'm using example 3 on this page: https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html. My code looks like this: ...
2
votes
1answer
1k views

Enable CKeditor on Webform's textarea

I'm trying to create a contact form supporting HTML formatting with Webform and CKEditor. So I created a new webform with a single field of type Textarea and now I have a simple webform with the basic ...
1
vote
1answer
579 views

How to print URL arguments in headers VIEWS

I have a blog with URL http:/node/add/blog and I am using a view discussion board to display the content of blog using VIEWS. I want to add this URL http:/node/add/blog to Header view. Any idea? ...
0
votes
1answer
613 views

How to pre-select items in a select with chosen

How do you load a select with items preselected when the chosen module is installed/enabled? I'm doing the following: $my_list = array('item1' = 'item1', 'item2' = 'item2', 'item3' = 'item3'); $form[...
0
votes
2answers
1k views

Can I Search an entity reference with search api db?

I am using the search api database backend together with a views (with exposed fulltext search field). I want to show a 'related field' that is related to a content type that is being indexed. When ...
0
votes
1answer
1k views

Cannot connect to Amazon S3 [closed]

Whenever I try to save the bucket name I get these errors: Notice: Use of undefined constant CURLOPT_CLOSEPOLICY - assumed 'CURLOPT_CLOSEPOLICY' in RequestCore->prep_request() (line 626 of /...
2
votes
2answers
2k views

Uploading Image to s3 turns to horizontal always

I am using s3fs module to put images on s3bucket using image field in any content type. When I take a verticle picture, upload it to the s3bucket, it turns to horizontal. On local file system, it ...
1
vote
2answers
872 views

Amazon S3 for Stage / Production only?

Is it possible to use the Amazon S3 module for stage / production only? The site I'm building, is using features. So when I export my fields for the content types, I either have the option to select ...
0
votes
1answer
138 views

How do I alter the file link of an uploaded image in edit/create node form?

When I upload an image in drupal, a file icon and a file name that links it to original file is created. For example, I upload "foo.jpg" then <a href=path-to-file>foo.jpg</a> is ...
0
votes
1answer
265 views

Install routinely failing after database authentication

I am having the worst time installing drupal 7 on Ubuntu 14.04 on an amazon aws ec2 instance and I don't know why. I've never had this much trouble before. No matter how closely to a T I follow these ...
0
votes
1answer
1k views

IMCE with Amazon S3

I'm having an issue configuring IMCE to rely on the Amazon S3 bucket pointed to by the AmazonS3 module: https://www.drupal.org/project/amazons3. I have successfully configured image fields to use the ...
1
vote
1answer
777 views

storage_api The file could not be uploaded

I'm attempting to upload a a file using a custom context type that uses the storage class i defined thru the storage_api module. For some reason the upload of an image to it is failing with "The file ...
2
votes
2answers
2k views

drupal module for uploading to s3

originally posted on stackexchange. Didn't get any replies. Then I recently found out there's a specific drupal stackexchange so here i am reposting. TIA! I have a drupal site and I plan to serve ...
1
vote
0answers
244 views

How to upload files in sites/all folder in a hosted website?

I want to edit some php files present in sites/all/themes/danland/ and add some css and js files in same location. I have checked by modifying in the localhost to see the affect and finally want these ...
0
votes
1answer
636 views

How do I synchronize sites/default/files wtith a AmazonS3 bucket?

I need to sync sites/defalut/files with a amazons3 bucket. I found the AmazonS3 module, which replaces the storage location, while I still want to use the files at sites/defalut/files. I want to use ...
2
votes
0answers
1k views

How to upload image to Amazon S3 using the AmazonS3 module?

I installed the AmazonS3 module, and I have the option to upload an image to AmazonS3: (screenshot of image field settings below) Is it related to configurations under admin/config/media/file-system? ...
0
votes
0answers
162 views

Saling files hosted on Amazon S3

I am trying to set Drupal 7, Drupal Commerce and Amazon to be able to sale files that are already on Amazon s3 servers. I have set all of the settings, including the services key and the secret key in ...
1
vote
1answer
2k views

Unable to upload large files (>50mb) to Amazon S3 from D7 on EC2

I'm trying to configure Drupal to upload large videos (eventually goal is ~300mb, but currently testing with ~50mb files) to S3 through my Drupal site running on an EC2 instance. I have configured ...
0
votes
1answer
1k views

How to embed private videos hosted on Amazon S3/Cloudfront using JW Player module?

Have anyone tried using the signed url option provided by the new version of Amazon cloudfront with the JW Player module? I´m using Drupal 7. I´ve read that the idea of the signed url option is to ...
1
vote
0answers
274 views

Drupal takes 2+ min to post an article

I am hosting a Drupal 7 Instant on Amazon Ec2 and have database on RDS. The site loads and works pretty fast. But admin side, when articles are posted its dead slow. In the MySql Log I found error ...
0
votes
1answer
200 views

How to upload a static copy of a pages HTML to S3

I have a need to upload a copy of a rendered output of a URL to Amazon S3 when it is edited and published. By this I mean if I was to edit /brand-a/page-1 on a site, I would like the full rendered ...
0
votes
3answers
597 views

receiving incorrect url from amazon s3 module

I am using drupal 7. I have installed amazon s3 module and its dependencies. I have created a bucket for saving my files on amazon server. Everything went good.. But when i try to get the path for the ...
1
vote
3answers
1k views

AWS SDK installation problem

I used Drush to install Amazon S3 module. AWS SDK was installed as part of the process. No error was thrown [root@ip-10-128-146-179 zencoder]# drush dl amazons3 Project amazons3 (7.x-1.0-beta7) ...
1
vote
2answers
762 views

How do I setup Drupal with EC2 scaling?

I want to scale my Drupal site and I was wondering how to approach it with Drupal and Amazon EC2. This is a bit related to How to use Drupal in the cloud with on demand instances. With Amazon, I can ...
0
votes
1answer
773 views

Video streaming cloudfront

I am administering a drupal 6 website for a small company. We want to offer our customers restricted streaming video content on the drupal site. What I heard it is a good idea to place these type of ...
12
votes
1answer
4k views

Can I run a site on AWS Elastic Beanstalk for PHP?

I'm looking at AWS Elastic Beanstalk. Does Drupal 7 run on AWS Elastic Beanstalk for PHP? Any extra info regarding caching and performance (e.g. comparison with PressFlow, or Memcache) is welcome.

15 30 50 per page
1
2 3 4 5
1653