This tag is for questions regarding Drupal 7 specifically. Version tags should be used only when strictly necessary, for questions that apply to Drupal 7 only, and not to merely say "I am using Drupal 7 in my site."

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

Lost Sessions on Drupal Commerce Checkout

Recently we have been experiencing Page Not Found errors during the checkout process of our Drupal Commerce site. The problem seems to occur when a customer travels from the checkout page to the ...
1
vote
1answer
6 views

Port database queries from d6 to d7

I have inherited a drupal 6 site with some custom modules, all of which are making use of db_query() commands. Now I'm porting the site with all it's modules to drupal 7, and consequently have to ...
-1
votes
0answers
10 views

Importing content in markdown format

I have text in markdown format. How should I go about importing this into my site? I would think a Feeds Tamper plugin to convert markdown to html would be ideal. Does such a thing exist? Is there a ...
0
votes
1answer
9 views

How to print the raw value of a custom user field in comments

I want to print a custom user field of the commenters. It is an Link field (https://www.drupal.org/project/link). Some users have that field completed and other not. I've read a lot of posts related ...
0
votes
0answers
10 views

Module and theme in one directory?

For my project, I have a custom module, a features module and a custom theme. I want to keep all in a single Git-Repository. The problem is: modules need to be in sites/all/modules, themes in ...
0
votes
0answers
9 views

recreating the webform module in views

Background After watching a demonstration on advanced views, it became obvious that views is more than just a tool that allows creating lists of content. It has a lot more functionality than that. ...
-1
votes
1answer
8 views

Basic template - new drupal project

I would like to hear how other Drupal developers / companies are dealing with the following issues: Suppose that as a company you often have to make small Drupal websites with minor changes ...
0
votes
0answers
3 views

Metatags and Commerce - pass taxonomy metatags to commerce product view

I have a Commerce Product view that pulls in products based on a taxonomy term in the url (category/taxonomy-term). This is done using relationships. Ideally, I would be able to edit metatags for ...
0
votes
0answers
8 views

White page Webform email: Send as html

I am using: Webform 7.x-3.21 HTML Mail 7.x-2.65 If i set the following option in the backoffice of a specific webform (send e-mail as HTML): I get the a white page when submitting the form and ...
0
votes
1answer
9 views

How to add Clear button for views exposed filter?

I created a content type and View with Filter Criteria for my project, when I click the Search it shows the appropriate results. But there is no option to clear the Search Fields and redirected to ...
0
votes
1answer
10 views

Appending multiple tables in drupal 7 module

I am appending three new tables in my custom module using hook_update, but it is throwing below error when I try to run update.php file PDOException: SQLSTATE[22003]: Numeric value out of range: ...
0
votes
0answers
12 views

Vulnerability in drupal websites? [on hold]

In this week I have problems with 4 drupal 7 sites which is: I got these two malware files in the root of the site: www/index.bak.php www/indexback.php It only happens in my drupal sites. I have ...
-1
votes
1answer
12 views

user automatically redirected to main language page

In my website I have the users automatically redirected to the main language page. If for example: node/2 is the translation of node/1 when I type: www.mywebsite.com/node/2 I'm immediately redirected ...
0
votes
0answers
9 views

Unable to remove image from post

I am trying to remove image from post, it says An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (1 GB) that this server supports. as per my default php ...
-3
votes
0answers
15 views

Not getting all the options which belongs to Drupal home page like (Dashboard, content etc) and search box to [on hold]

I installed Drupal, but I am not getting features like dashboard, content, structure, appearance, people, modules, configuration, reports, help, and no search box. It's simply coming with "Welcome to ...
0
votes
0answers
10 views

Tabs - Active topics, Unanswered topics, New & updated topics on Forum pages are missing?

There are some Tabs (Active topics, Unanswered topics, New & updated topics) on Forum page which is generating through advanced_forum module. Currently these Tabs are only available on default ...
0
votes
1answer
7 views

Set value for new field automatically based on another field

I want to add a new date field to an existing content type, and set the new field automatically for existing nodes to be equal to another date field from that content type. For example, if the new ...
0
votes
1answer
10 views

Where do pending drush database updates live?

I'm using drush to update the modules on our drupal site. I updated the video_embed_field module to the latest version. This update required 3 database updates to occur, 7006, 7007, and 7008. For ...
0
votes
1answer
10 views

How to remove delete link from admin manage fields ui

I have created a new entity type and progamatically added the fields it requires. My issues is that on the Manage Fields UI (the same interfaced used for managing fields for basic pages/articles), in ...
0
votes
2answers
9 views

ShareThis facebook posts previews are perfect, but posts empty images

I have been having problems with facebook integration, and I know there are lots of other posts about this as I've been looking through lots of them. I see plenty of information about FB picking the ...
0
votes
2answers
11 views

Centering Pager For View On Drupal7 Using Bootstrap 3

I am using Drupal 7 and Bootstrap Business, which is a theme that utilizes Bootstrap 3. I have found that my pager in my views pages is not centered. I know that Bootstrap 3 for non CMS work has a ...
-1
votes
1answer
12 views

How to delete duplicate comments using sql?

In order to clean up an old large site from spam, I'd like to delete all duplicate comments from mysql. By duplicate I mean, the comments which are posted by the same user across all nodes of a ...
0
votes
0answers
3 views

How can I delete old entries in locales_source

Drupal 7. I have used the t() function to translate many string in different languages. I used English as default language, and added t('This is a new string') all around my module files, template ...
0
votes
0answers
6 views

how to display content of first child superfish menu like a default tab?

Superfish (7.x-1.9) looks perfect, but on parent click (main menu) its displays submenus tabs, but empty content until you click one child, how to auto-display content of first child menu-tab like a ...
0
votes
0answers
9 views

Term reference translation

I am using term reference in "select list" configuration. I do not know how to translate them, I have Taxonomy translation and Entity translation activated, but none of them worked. Even I have ...
0
votes
1answer
14 views

Change behaviour of Date at 00:00

Is there a way to change how Date works when saving dates with the time in 00:00:00? I have a calendar view, and I would like to avoid having events showing as all-day when the are saved with a time ...
0
votes
1answer
11 views

Search facet user entered date field display

I've recently started working on an existing Drupal site that uses Apache Solr search & have come across a problem when configuring facets. The search index just indexes one type of content & ...
3
votes
2answers
29 views

Will Drupal & Drupal Commerce run under php-cgi?

For some specific reasons (experimental setup - not Apache nor nginx) want run Drupal under php-cgi (not fast-cgi). The site should serve an very-small e-commerce site - probably Drupal Commerce. ...
0
votes
1answer
13 views

confirm_form redirect to referrer

I have few confirm_forms which could be invoked from different places. I would like to redirect user to proper place after cancelation. REFERER Header is not good way to do it so I'm looking for good ...
0
votes
0answers
17 views

Panes' Title translation

I need to translate the Label of the panes in a page. For example, Title and Body are not translated in my pages. Note: I do not mean the content of panes! I only mean their label! Which is generally ...
0
votes
2answers
20 views

Additional validation after successful login

I want to implement some additional validation steps right after a user has logged in to a Drupal site. So far, I have implemented the additional validation inside hook_user_login. If the validation ...
0
votes
1answer
15 views

Create new table in existing module without affecting existing table data

I have my custom module myCustomModule in drupal 7 website along with installation file to create table. I Have already saved lot of content in table but I need to create a new table in same module ...
0
votes
1answer
15 views

Can relationships be used to show Content and linked content in the same view

I'm trying to display content in a view and, beneath each entry, show a teaser of other content to which it is linked via Node Reference. Here is roughly what I'm trying to show in my View: ...
-2
votes
0answers
9 views

Ajax slow on chrome and explorer [on hold]

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <div class="up-score">upscore</div> <div class="test">test</div> ...
0
votes
0answers
6 views

Is it possible to create sub-submenus with page manager?

as the title says: I'd like to create severeal menu items under one of the menu item of main menu, like Personal > Profiel, Personal > Projects etc. One of these pages are created by Page Manager and ...
0
votes
0answers
14 views

Problem with Facebook AutoPost module while sharing content on Facebook?

I am using the Facebook AutoPost, Sharethis Module and Facebook Comment modules. What is my purpose: To share the Post on Facebook on content creation To provide a sharethis widget To provide a ...
1
vote
2answers
17 views

Removing potentially malicious code from template

Our drupal site was hacked at some point recently, and I've been tasked to clean it up because nobody knows much about drupal here. I think I've taken care of most of the glaring security holes, and ...
0
votes
0answers
5 views

currency field and currency switch with currency module

I installed the currency module expecting to setup a currency field and a currency switch. The same way switching the language I'd like to switch the currency (of a field). The currency should switch ...
0
votes
1answer
11 views

views api add_where() causing view not to be displayed

have a page that features a few views based on content types. Each content type includes a keyword field. This page is reached from a short quiz. I'm trying to limit the content in the views based on ...
0
votes
2answers
23 views

How to remove url alias when node is deleted

I am using Pathauto. When I deleted a piece of content, I was surprised to find that its url alias was still mapped to the now-nonexistent content (node/xxx). How can I have this alias and System ...
1
vote
1answer
19 views

Ajax form works on page but not on block

I've created an ajax form with drupal API. The ajax functionality works if I render the form on a page with hook_menu, but it doesn't when I render it in a block. This is how I create my block: ...
0
votes
0answers
18 views

PHP code is shown in the browser [on hold]

I use Drupal 7 in my local and production servers, my code package uses ajax. PHP is executed before AJAX call and after Ajax call, the php response from the server terminal is not executed instead ...
1
vote
1answer
23 views

Highcharts and Drupal 7

I'm looking to use Highcharts to visualize data. I do not need views integration, but I do need the most complete API integration available. There seem to be several options: Module: Visualization ...
0
votes
1answer
11 views

How to trim a field that's been excluded from display?

In Views, in order to group certain fields inside a common div, i excluded them from display and inserted them in a global text field by using their 'replacement pattern references'. Here's what ...
1
vote
1answer
21 views

Rendering renderable arrays in an item_list

I'm struggling to get a render-array constructed, and I think it's because of how theme_item_list works. I would be grateful if anyone could help find the problem (or tell me to implement it without ...
0
votes
1answer
15 views

admin menu item not displaying

I am developing a module which has an admin menu entry in Drupal 7. The issue I am having is that the menu item is not showing up in the admin menu. I have looked at the docs and scoured google for ...
0
votes
2answers
18 views

Content Access exclusive permissions per node

I'm playing around with content_access module, and I have a question. For my use-case, I need particular nodes to limit editing by role. This means that the content type will allow role_x to edit by ...
0
votes
0answers
5 views

Webform hours/time field

How do you add a field where user can set hours when it's best to call for contacting. The Date field gives only days, months and years. In this thread Webform: Time Field - Changing Variable ...
0
votes
0answers
20 views

How to make a checkbox for turn-off/on send e-mail notification each time when publish or change a node (drupal 7)

How can I make a checkbox for turn-off/on a sending e-mail notification to users each time when I publish or change a node (in drupal 7)? I mean, I don't need to send notifications each time I changed ...
0
votes
1answer
15 views

Can I use www.example.com/node/123 as a canonical url?

We are sharing some of our content with partners and want to include a canonical reference to the pages on our drupal site. I like the idea of using www.example.com/node/$nid for the simplicity of ...