Questions tagged [7]

Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

I cannot uninstall the Coder module

I am using Drupal 7. I go to the Modules page and Coder, Coder Review, and Coder Upgrade are all disabled. But if I click on the "Uninstall" tab, Coder is not listed. How do I remove this module ...
0
votes
0answers
7 views

Show all content referenced by another content, regardless of language

I have a "Movie" content type. It can be translated in 3 languages (fr/de/it). I also have an "Event" content type. It cannot be translated. It has a field that can reference a Movie (reference field)....
-1
votes
0answers
20 views

Using saved data when creating content

I have a website which ordering and delivering things, to make an order user creates content. At that time he or she should fill the address and name of person who takes the parcel. Nowadays He or ...
-3
votes
0answers
14 views

New FTP User / Password [closed]

I have an administrative credential for Drupal. But not for FTP. The guy who left our organization doesn't provide this information. How I can create a new FTP user? Thank you Konstantin
0
votes
0answers
10 views

How to flag a node and take the values from a node in a block and set these in fields of the flagged node

I am creating a calendar view showing the available sessions of a Teacher (role). Each session has a global flag named "Book Session". A Student (role) can have multiple courses but only one needs to ...
0
votes
0answers
33 views

GoDaddy does not allow me to install modules and themes

I just signed on for the Godaddy economy shared hosting plan. I have installed Drupal via the cpanel and my website in up and running, but I see that this drupal installation does not offer any links ...
0
votes
0answers
23 views

After login I get blank admin pages

I have a D7 site up and running and working fine. Today I logged in to update some content, but I saw that the admin pages just show the system messages about necessary module updates and that's it. I ...
0
votes
0answers
20 views

Warning: Illegal string offset 'theme_hook_original' in theme() (line 1094 of /var/www/html/includes/theme.inc)

We are trying to implement a theme function in a custom module in Drupal 7. our requirement is to display custom HTML output. we have inserted below code in "mymodule.module" file. function ...
2
votes
1answer
27 views

Emoji works in a site but not in the other site on the same host

I am trying to enable emojis following Multi-byte UTF-8 support in Drupal 7. I have added the following to the settings.php file. 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_general_ci'...
0
votes
1answer
21 views

How to show or hide some content on a node view using Page Manager based on the url destination?

After certain fields have been set on the edit node form and saved, I don't want the node author to change these anymore and therefore I have created a new variant with a response code "301 permanent ...
0
votes
0answers
11 views

Content corrupting when reverting a revision

Our website is powered by Drupal 7 and have a bootstrap based rotating carousel on the home page, which has a link on each slide to a different page. This is powered by the Bootstrap Carousel module (...
0
votes
0answers
17 views

Display a table after form [closed]

How display a table and some html content after form in drupal 7. I am trying to build something showing in the image. Kindly provide some tips to build this.
2
votes
2answers
33 views

How to make fields of a cloned node available in Rules

I have a rule that clones a node once it's flagged. I can set certain parameters for this newly cloned node but not all. I read in other posts that you have to use a conditional rule to identify what ...
0
votes
1answer
38 views

How to load a internal page content within div? [closed]

I have following code in a basic page on drupal 7 <h2 id="tabs">Test Title</h2> <!-- Nav tabs --> <ul class="nav nav-tabs"> <li class="active"><a href="content/test" ...
0
votes
0answers
36 views

HTML elements in schema.org module

I am using the Schema.org module for schema tags, I tried to add html elements but they never get printed. Is it possible to do this?
2
votes
1answer
23 views

Send email only if a field has a certain value

I am using webform in Drupal 7 and have a case where I need to send an e-mail only if a certain select field has an option selected. I have installed Rules and Webform rules but am a bit stuck on how ...
0
votes
1answer
37 views

How to log to console when in a Drupal attach behavior?

I'm using Drupal 7. I have the following code that tries to log to the console: function mymodule_get_jquery() { $jquery = <<<JAVASCRIPT console.log("here"); (function($) { ...
0
votes
1answer
25 views

Drupal form select not showing any options [closed]

I have created a form select with option values but options are not showing in the select element. Can any one please give me suggestion. $form['assets_type'] = array( '#type' => '...
0
votes
1answer
17 views

Feeds import from Restful Web Service module output

I have a D7 website, which expose a node through the module Restful Web Service https://www.drupal.org/project/restws It does exposed my website node in Json format. The only issue I have, is the ...
0
votes
1answer
19 views

Update UI lists modules/themes that are already updated

I have a D7 (7.69) site. On both dev and production, I can update a module (using the web UI - /admin/modules/update), apparently successfully, yet afterwards, that module stays listed as requiring an ...
0
votes
0answers
14 views

Using rules to populate a node reference field

I'm trying to auto-fill an multi-value entity reference field on a node with all of the other nodes that meet a certain criteria (promoted on the front page in this instance) using the rules module in ...
0
votes
1answer
21 views

how to be the last hook_page_alter called?

If you implement hook_page_alter in your own module, your hook will be called somewhere between all the other modules. I am trying to undo something another module is doing in hook_page_alter. ...
-2
votes
2answers
46 views

Incorrect handling of PHP sessions causes many 503 errors?

I use my personal website to host several images galleries, and for several months now, I've noticed that a lot of the thumbnail images appear broken and aren't loaded by the browser. This seems to be ...
0
votes
1answer
26 views

What do I do with the list of blocked IP addresses

I have a growing list of blocked IP addresses on my Drupal 7 site. I've installed the following modules: Honeypot, Captcha questions, Captcha, reCaptcha, and Hidden Captcha. They all work fine and ...
0
votes
0answers
19 views

Loop an Entity Reference Vocabulary Field

So working through my rule I would like to use a loop to execute an action. In my content type I have an entity reference to a vocabulary called "Contacts". I want the loop to loop through all the ...
0
votes
0answers
8 views

Entity reference add users autocomplete, autofill email in multiple fields

I have a D7 content node content type which has an entity reference users field with an autocomplete widget, addressfield. When I select an user the user entity and addressfield is automatically is ...
0
votes
0answers
20 views

Send email after node save based on a checkbox in a vocabulary

I was wondering if someone could help me with this. I have a content type called "News", this content type has three fields (Title, Date, Body) I have vocabulary called "Contacts", this vocabulary ...
-1
votes
0answers
15 views

admin/content pager not working for non-admin users

In my Drupal 7 website, the pagers in admin/content works for administrator but it has been a few weeks it has stopped working for non-admin users. I changed the jQuery update version but it still ...
0
votes
0answers
18 views

Cannot clone webforms between two groups

I have a Drupal 7 installation. The system description is Events management, handling registrations, payments, accommodation etc. There is a content type "Event" which is a group and members of this ...
0
votes
0answers
13 views

How to remove leftover/orphan url aliases?

For historic reasons, a site we are working on has a number of url aliases for taxonomy terms and nodes which no longer exist. I found this with direct sql query (in drush sqlc), e.g. select ua.* ...
0
votes
0answers
11 views

how bulk change each content type groups membership

i have a content type named students. Each student must only be in a single group. I noticed many students belong to two groups. How can i delete the second group, for each node of content type ...
0
votes
0answers
10 views

Adding a value to shipping cost by product type

Actually i have a drupal 7 with commerce, and only one product type with his shipping cost. I want to had 2 new product types (easy) but i want also to add a special amount when this types are on the ...
0
votes
1answer
56 views
+50

How to set an exposed filter to enable current user to view nodes that he has not commented

On my D7 site I am trying to create an exposed filter where current users would choose whether he wants to see all nodes, or only those that current users have not commented. Tried adding 'Comment: ...
-1
votes
1answer
32 views

How Can I create a drupal front page (responsive) with multiple buttons? [closed]

I am using D7 and I would like to create a front page with 20 buttons, perhaps 4-5 in a row. Page needs to be responsive and buttons with hover animation. Is there a easy way to do it GUI, without ...
0
votes
0answers
16 views

How to exclude an user previously referenced in a field (User reference) from a Views block listing users?

Using Drupal 7.69 I have built a views block to list all users from a team, based on a taxonomy field as contextual filter (the team content type and users share the same taxonomy field). This block ...
0
votes
0answers
4 views

trying to merge 2 views with same fields into one output

Im using views 7.3 I have two views and tring to merge them both as outlined here https://drupal.stackexchange.com/a/212340/79382 I have created a module and included two files. foo_view_merge.info ...
0
votes
0answers
25 views

Database migration from Postgres to Mysql

We have a website in Drupal 7 running on Postgres database. We are planning to upgrade to Drupal 8 very soon, but we want to first migrate the database from Postgres to Mysql. I was just wondering ...
0
votes
0answers
15 views

how cache a view that has a field that is calculated with php code

i have a view, that returns results based on a data field, that calculated the number of nodes that fulfill certain criteria, an important one is that the numbers are calculated based on the group the ...
0
votes
0answers
13 views

drupal 7 views with 2 different contextual relationships?

I am using Drupal 7 with views. I have a view of all content from Organic Groups which the user is a member of. And a view of all content by users the current user has flagged. I am trying to get ...
0
votes
1answer
19 views

login form generated by drupal_get_form('user_login_block') does not log in

I have a custom module part of which builds a block with the login form function my_module_block_view($delta = '') { switch ($delta) { case 'awsImage_public_info_forms': $user_login = ...
0
votes
0answers
7 views

When terms are deselected in the term reference field, the referenced node still shows

I use the Term Reference Field in my content types to attach nodes to a specific term. I then use the View with the description "view to emulate Drupal core's handling of taxonomy/term", to show a ...
0
votes
0answers
29 views

Node won't edit or publish

The node has about 200 photos in an image field. Clicking remove on the image doesn't do anything, it gives image that it was removed, but it wasn't, on second try it gives error. The content on ...
0
votes
0answers
9 views

How can a node author administrate node flags?

I have a node type with a node flag. Which can be flagged by any user. I'm trying to do something which I think would be very simple but can't find any options or work around. Allow the node author ...
0
votes
0answers
35 views

SESSxxxxx cookie gets removed, $_SESSION data being lost but only locally

I have just pulled deployed code down to my local setup, restarted MAMP, cleared the Drush cache, and started a process that relies on data stored in $_SESSION. We can confirm this works in prod - no ...
0
votes
0answers
7 views

How to make global permissions available in OG Role permissions?

In OG Role permissions only some are listed, not all that are available under drupal site wide roles. I want to make a global permission available under OG Role permissions, as I need to make the "...
-1
votes
0answers
16 views

i have a view, which uses caching with arguments. How concatenate the groupid of the logged in user into a key

How the below code should be altered, in order to add in the key generated by the following function, to concatenate also the group id the user signed in belongs to? /** * Custom function ...
0
votes
0answers
19 views

Render date in the correct timezone

I'm trying to display render the "event" day in my custom tpl. I save in that node 31/01/2020 - 20:30 If I check the table (this is a field collection), the value stored is 2020-01-31 19:30:00 ...
0
votes
0answers
13 views

How to execute my custom VBO in queue?

I have a VBO action that exports selected articles into one PFD file. There can be a lot of articles so I want to add an ability to execute this export in batch. But under my VBO on views no option ...
0
votes
1answer
18 views

Aggregation with count that includes empty field values

I saw other questions regarding the aggregation but i didn't found anything similar to what i need. I've a view with enabled the aggregation, results are grouped by a field value (a text field) with ...
0
votes
1answer
18 views

Multiple versions of the same menu, based on associated term?

I am trying to create a site with different portals. Each portal displays content filtered to that person's user tag, i.e. Student, Staff, etc. It's easy to create a view that displays nodes with that ...

1 2 3 4 5 526