Questions tagged [drupal-7]
Drupal 7 is the Drupal version that was officially released on January 5, 2011. Rather than using this tag, consider posting your question directly on https://drupal.stackexchange.com/.
9,777
questions
0
votes
0
answers
9
views
I need to add a webform block in drupal 7 for a custom theme
I need to add a webform as a block to a page or view in Drupal 7, the problem is that the theme is customized and only has about 2 regions, but when I add the block to one of those regions the data ...
-1
votes
1
answer
28
views
How to structure my content using taxonomies and content types
I am building a web site using Drupal 10 and I want to take advantage of its features (e.g. taxonomies , custom content types, custom fields etc.) to construct and structure my content.
I am not ...
0
votes
0
answers
18
views
imperva WAF rules blocked drupal 7 form submit
We have created a variable form using hook_variable_info where a field type "text_format".
Where we are putting a html template data. But when we are going to submit that form getting ...
0
votes
0
answers
21
views
Issue with Drupal 9 Visitor Counter Module: Visitors Count Not Updating
Description:
Hello Drupal community,
I'm facing an issue with the visitor counter module in Drupal 9. As a newcomer to Drupal, I've been trying to set up the visitor counter on my website, but it's ...
0
votes
0
answers
7
views
how to add Language in drupal 7.09
I have added language for french but not working i got the issues,how to add language please help me
EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type ...
0
votes
0
answers
12
views
Attempt to create field name which already exists and is active
I have created a custom module. Show me an error when I want to enable my custom module. The error is -
FieldException: Attempt to create field name windfarm_unit_count which already exists and is ...
0
votes
1
answer
32
views
Can i customize html and css in $page[content] in drupal 7?
when i write the code for the page template like this:
<div id="wrapper">
<div id="header-wrapper">
<?php print render($page['header']) ?>
</...
0
votes
0
answers
13
views
CDK toolbar does not appear on Drupal 7
I'm new to Drupal and I'm using version 7. The CDKeditor is listed as v7.x-1.17.
When I edit a page the CDK toolbar is suddenly not appearing. The only thing I see are red diagnoal lines and a tiny ...
0
votes
0
answers
64
views
PHP refuses update because in server root, Drupal 7 (php7.3) & Drupal 10 (PHP 8.1) on the same server both working - Can't update D10
PHP refuses update because it is in server root (no permission)
Drupal 7 (php7.3) & Drupal 10 (PHP 8.1) on the same server and both are working (although D10 is hamstrung by Composer not updating)...
0
votes
1
answer
80
views
Drupal 7 modules appear to be php8 compatible but crashes when server changes from php7.3 to php8.1
Somewhere it said that Drupal 7.8 updated core and modules are php compatible with php8.1.
However, when I change the cpanel multiphpmanager for the Drupal 7 domain to php8.1, the site crashes.
The ...
0
votes
1
answer
16
views
Content Encoding Error but only for the first time when you visit the page on Drupal
When i visit it for the first time this error shows up. If i reload the page again this error is gone.
We have same website setup in UAT and in DEV but they do not have any such errors.
0
votes
0
answers
12
views
Is it possible to override module CSS in Drupal 7 without modifying actual CSS files?
i have installed Drupal 7 and want to override css of specific tag of h5p CSS but can you help me to solve this issue.
want to override the CSS file of module without modifying actual CSS files.
I ...
0
votes
0
answers
26
views
Varnish ejecting pages before their expiry date, despite cache not full
I'm running Varnish behind an Nginx reverse proxy with an apache 2 backend serving a Drupal 7 site.
I've recently moved to a new server, this time running Ubuntu 22.04, meaning that I've upgraded the ...
0
votes
0
answers
11
views
Implementing Simplesamlphp in drupal 7 site. can not able to view simplesaml page. its loading folder structure
Implementing Simplesamlphp in Drupal 7 site. Downloaded simplesamlphp folder and placed on.
Added below lines in C:\xampp\apache\conf\extra\httpd-vhosts.conf
<VirtualHost *>
ServerName ...
0
votes
0
answers
20
views
A drupal 7 website hosted on apache-php7.4 server.Everything was working till yesterday.All of sudden,I'm getting white page and unable to debug it
A drupal 7 website hosted on apache-php7.4 server.Everything was working till yesterday.All of sudden,I'm getting white page and unable to debug it. Help is required to find out the cause of error.
I ...
0
votes
0
answers
75
views
Notice: Trying to access array offset on value of type null in theme_views_mini_pager() (line 1092 of sites/all/modules/views/theme/theme.inc
I finally got my views field handler showing, but somewhere there is a code error. I got the code from a Drupal 8 example: https://www.drupal.org/project/vbo_export/issues/3184888 but I got in Drupal ...
0
votes
0
answers
6
views
Getting an error in my test enviorment in Ubercart website while checkout in cart/checkout
I am getting an error for authencated customer while checkout from cart in this path cart/checkout. Here is the error message "The website encountered an unexpected error. Please try again later.&...
0
votes
1
answer
2k
views
Unable to create account in Sendgrid. Getting, You are not authorized to access SendGrid, please contact
I'm working with drupal 10, i want to work with Sendgrid module
I tried to create sendgrid account.I have entered all the basic details it asked. Then I got two mails Two-Factor Authentication & ...
1
vote
1
answer
52
views
Does PHP's sleep() command allow other processes on the server to run?
A little background: I have a PHP site (Drupal 7/Linux/Apache) where users can run very intensive reports (lots of PHP calculations and MySQL queries). When they do this, it can take up to 10-15 ...
0
votes
0
answers
47
views
Try Better counter for views for row-counter export, not showing up in view fields area , this because standard counter doesn't work for export csv
Drupal 7: The standard views counter "Global: View result counter" doesn't work with export views results to csv. This is also a problem in Drupal 8, but I want to solve it still in Drupal 7 ...
0
votes
0
answers
19
views
D7 -> D10 upgrade login model with php
I'm currently working on migrating my Drupal site from D7 to D10 and need help with the on-page token authentication system.
My site uses an interconnection system with other Drupal sites using a user ...
0
votes
0
answers
77
views
Drupal 7 error when using Redis on AWS causing error
We are using Redis with Drupal 7 on AWS servers. But after adding the php-redis PHP extension, the Redis contrib module and the configuration (as defined in the contrib module README) in the settings....
0
votes
0
answers
15
views
Render Drupal Block in a specific Bootstrap Pill - How?
I want to display a Views Block in a specific Bootstrap pill but hidden from all other pills on the page. Right now the output shows up in all pills because it's associated with the Node or Content ...
0
votes
1
answer
48
views
Bootstrap split button not rendering correctly
I cannot get a Bootstrap split button to render correctly. It works fine in Codepen and JSFiddle, but on this test Drupal website the dropdown piece seems to be getting pushed under the button. I ...
0
votes
0
answers
14
views
Show QR-Codes in Views Paginated List Table in Drupal 7
I am using the Drupal 7 List View table to show the paginated list of content fields of the nodes. Now I want to show the QR-Code against each of the rows, which will belong to their specific nodes.
I ...
0
votes
1
answer
45
views
Getting 403 Forbidden while ajax search functionality in user module Drupal 7
In my application Drupal base functionality,
When I press the "search" button on the user list page, it's showing a popup with a 403 Forbidden error.
Getting 403 Forbidden while ajax search ...
0
votes
1
answer
92
views
Unknown character on response of API Endpoint
My legacy project, which relies on Drupal 7 and PHP 5.6, is experiencing an issue where an unknown character is being added to certain data through the API endpoint. What's particularly perplexing is ...
0
votes
0
answers
15
views
How can I import csv data to Drupal 7 Content Type?
I am using Drupal 7.69
My use case:
Expose Authors(only Name) via REST API
Upload Authors data which is in csv format
Any help will be appreciated.
Thanks
1
vote
1
answer
26
views
Getting the plain text password submitted in D9 Registration
I need to be able to "intercept" in a way the plain text password to clone the registered user from a D9 site over to a D7 site via API. Alternatively if anyone knows a way to just migrate a ...
0
votes
0
answers
30
views
Drupal 7 dependent dropdown not working in form alter
I am trying to implement the dependent dropdown option in Drupal 7 from this URL http://w3shaman.com/article/creating-ajax-dropdown-drupal-7. When changing the first dropdown value, it is showing the ...
0
votes
0
answers
58
views
How to do a custom migration from a Drupal 7 site to Drupal 9 using classes and custom modules
l have installed and enabled the Drupal Migrate module and any additional modules required for the source and destination plugins.
Created a custom module for the migration and defined the migration ...
1
vote
2
answers
38
views
Drupal 7 How to restrict the block from display for all pages where the URL path starts with a particular keyword
I am currently using Drupal 7 and I want to restrict blocks for few pages
example:
example.com/abcd
example.com/abcf
example.com/abch
example.com/abce/xyz
I want to hide the block ...
0
votes
1
answer
32
views
Solution for removed each function in smtp module of drupal 7 on php 8 servers
I noticed an error in smtp.transport.inc of the drupal module smtp 7.x-1.7 because of the in php 7.2 deprecated and in php 8 removed function "each()".
Unfortunatelay a customers drupal 7 ...
0
votes
0
answers
29
views
I need to insert one form in several peaces at one page by ajax in Drupal 7
I have page with several div with selector '.some-class'. I insert form by function
$commands[] = ajax_command_html('.some-class', $form);
return array('#type' => 'ajax', '#commands' => $...
0
votes
0
answers
12
views
Views Filtering nodes through taxonomy terms from paragraphs bundle doesn't work
My node type has a paragraph bundle field which including a taxonomy terms field, but in my views, the nodes just not showing up by filtering this taxonomy terms, if the terms field not in the ...
0
votes
0
answers
54
views
I want to set up CI / CD pipeline at GitLab for my Drupal 7 project which is hosted at Acquia cloud
I’m a new to GitLab and implementing CI.
I have a Drupal 7 project , just recently migrate from GitHub to GitLab.
Now I have to implement CI/CD pipeline.
My project hosted at Acquia cloud. Could any ...
0
votes
0
answers
36
views
creation of tab menu on drupal 7
I tried to create a tab menu , but the call back is empty , the respond of var_dump is
array(4) { ["admin/config/cb/tabs"]=> array(3) { ["title"]=> string(15) "Create ...
0
votes
1
answer
49
views
Patching varnish 4.0.3 and port configuration
I am helping an IT department update their current Drupal website and assisting in updating their RedHat webserver. My Linux user account does not have many permissions outside of editing my home ...
0
votes
0
answers
29
views
SMTP mail configuration issue
I'm facing an issue with smtp setting to an email account i'm attaching the error which i got during the testing of mail with SMTP tool enter image description here
i have referred multiple youtube ...
0
votes
1
answer
82
views
i want to create a module on drupal 9
I'm a junior developper and I want to create a module on drupal 9, but I don't know where to start... I was thinking about create a module that says "hello world" just to understand how it ...
0
votes
0
answers
33
views
Specify CSS to a container/div/class above its own in Drupal
I am using drupal and super happy with a live edit field module. However this module has been developed with ajax functionality which works brilliantly but seems to still force a button form wrapper ...
0
votes
0
answers
18
views
Drupal 7 - Newly added field not showing in old post
I have added two new fields (named country and tags) in a custom content type in drupal 7, when we create new content then the newly added field appears in the admin section to fill up the content ...
0
votes
1
answer
127
views
Error: Class not found in include_once() in Drupal 7
In doing a module upgrade, I had set the minimum PHP version too high, so when the hook_update functions ran, I got the following error.
Drush command terminated abnormally due to an unrecoverable ...
0
votes
0
answers
53
views
I found this in my custom theme in Drupal 7. How do I convert in twig for Drupal 9?
How do I convert this to twig in Drupal 9
<?php $current_url = url(current_path(), array('absolute' => TRUE)); ?>
0
votes
0
answers
40
views
Drupal 7 field forced into value on save
So I'm working on a project that has been through many freelancers before it got to me.
I've got this issue if I've got a sale with a field that has a field called "sale type" set to "...
0
votes
0
answers
29
views
"Select Media" chooser in Drupal site no longer works
I've inherited the content upkeep on a local non-profit's website. The site is running Drupal 7.71. There's an employee/staff section on the site, and the admin interface has the ability to add new ...
0
votes
1
answer
271
views
How can I get the translated term with entityTypeManager in Drupal 9?
This is the code. How can I get $tree translated to the langage inserted in $langage.
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();
$tree = \Drupal::entityTypeManager()-&...
0
votes
1
answer
80
views
drupal 7 response with two sets of html, a normal, followed by an in-maintenance with an error message
I have a weird problem on my localhost devop preventing me from updating drupal.
problem
Every page is served with two sets of html
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang=&...
1
vote
1
answer
81
views
exception 'Drush\User\UserListException' with message Unable to find a matching user for admin
I am using the drupal7 I have been executed this command in git bash -./prepare_db_for_dev.example.sh
In below, it give error.
Reset admin password to "admin".
Drush\User\UserListException: ...
0
votes
0
answers
62
views
drupal how run a view directly into the mysql database
in the preview area of a view, we are informed that the mysql query that is run so as we get the results in the gui, is the following. It has a strange syntax, which i do not know how i should ...