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)

-1
votes
2answers
27 views

Hosting issue for drupal 7

Client is trying to upload drupal 7 website but client got below message. PDOException: SQLSTATE[HY000] [2002] No such file or directory in lock_may_be_available() (line 167 of ...
0
votes
0answers
4 views

How to add metatag module data to the Search API indexes

I am in the process of building a new site that will have some content in the form of videos and PDFs. To make those more searchable I added the metatag module. We are also using the Search API to ...
0
votes
2answers
8 views

Can I create a block that shows custom node types but in a specific order?

For example, I have custom block made with Views that shows some block icons that are links to modules. I would like to rearrange them. For example, I would like to say "Put node 3 first, then node ...
0
votes
0answers
9 views

Cannot set Workbench Access Control Fields

I am attempting to set the workbench access control fields on two content types. Under the "Access Control Fields" section of the Access settings page, my two content types can be seen. I drop down ...
1
vote
0answers
9 views

How to pass information by reference from a hook to Feeds?

I need to have the ability to tell Feeds to skip a node from hook_feeds_before_update. But since there is no variable sent by reference I don't know if it's possible without having to modify the code ...
0
votes
0answers
4 views

Why I cannot export vocabulary terms via Features?

Ok, I've installed features, uuid, uuid_features. According to docs vocab terms shouls be exported too when creating taxonomy feature. So I run a command: drush fe my_feature taxonomy:tags but ...
1
vote
2answers
21 views

Which cache have to clear to update new hooks?

I added a new hook inside a module (hook_cart_commerce_pricecomponent_type_info_alter), which cache have to clear to only update that new hook? I mean i do not want to clear all caches. ...
0
votes
1answer
14 views

Create a view to list contents according to taxonomy & content type

I have vocabulary with these terms Countries India USA UK ... Sports Soccer Hockey Cricket .... And I have following content types News Events Article ... I need to create view that will ...
1
vote
2answers
16 views

How to monitor several sites for updates from one central site?

I have several Drupal sites and wish to have one site list all of their "status" and available updates. So to start with I am trying to find how to get the available updates. The central site has ...
0
votes
0answers
6 views

filter_xss() stripping out specified $allowed_tags (Drupal 7)

I'm busy building my first ever module, and I've hit a bit of a snag. On my form, I allow the user to input some SVG image markup/code. I then use AJAX to load this input into a wrapper DIV below it ...
0
votes
0answers
8 views

empty editable view form when no rows re returned

I am using the "editable view" module to create a form that has editable fields from a two custom defined content types linked by a entity ref. This works fine as long I have at least one row ...
0
votes
0answers
8 views

Is it possible to force redirection from PayPal to the website after successful payment?

I'm using PayPal WPS with Ubertcart, and want to track the conversions using Adwords. Is there any way to force true redirection back to the website within Ubercart? The redirection in PayPal ...
0
votes
1answer
9 views

Programmatically render menu on search view

I'm trying to programmatically build a menu on my site, it works fine on all pages except a search view. This code I'm using is below: $config = array('menu_name' => $menu_name, 'level' ...
0
votes
0answers
9 views

Image as link to content does not work in views nivo slider

Details: Drupal 7.38 Views Nivo Slider - Link image to content View as a Block. I formed a view with nivo slider. In which I want my images are linked to the content. But the link is not working. ...
0
votes
1answer
11 views

How to correctly get Form API single checkbox value variable from database?

I created an additional_settings fieldset for node type forms that holds a single checkbox: $form['MY_SETTING']['enabled'] = array( '#type' => 'checkbox', '#title' => t('Enable'), ...
-1
votes
3answers
27 views

Which module should I use to share content on social media?

I am looking for a module to share content on social media. I only need this four: Facebook. Twitter. Instagram. Weibo. Is there any module can help me?
0
votes
3answers
21 views

How to send hidden field value to db on webform submit

I am using Drupal 7 webform api, have a created a field in my _form_alter hook in a custom module, but while on page load the hidden field contains the correct value, when I submit the form it does ...
0
votes
0answers
5 views

managed_field from theme in Domain Access

I created custom theme with some additional settings in it. Everything works fine when I change theme settings globally, but when I try to remove managed_file field's file (image) in the theme ...
0
votes
0answers
10 views

Why does views page display accept paths extended from the original? (and how can I prevent it?) [duplicate]

I have a view at mysite.com/myview No worries, works fine. Why does this path also show the same page?: mysite.com/myview/anything-at-all I only have the one page display, no other displays, ...
0
votes
1answer
23 views

Toggle Modules on or off at a certain time with Rules

I'm looking for a way to toggle a Module on or off based on the time of day using Rules. Ideally, the logic behind it would be something like: IF The time is between 1700 and 0900 AND Module X is ...
0
votes
0answers
25 views

How to record unique hits in node counter stats?

Is there a way to only count the unique views in the core node counter stats? I was using the Statistics Advanced module for Drupal 6 but there is no Drupal 7 solution. The quote below is from the ...
0
votes
0answers
9 views

Views - List all levels child terms under a specific perent term

I'm creating a View with Entity Reference Term. However, I want to list all child terms(all levels) under a specific parent term. For sample below, I want to list all child terms under "term B", which ...
0
votes
0answers
23 views

The website encountered an unexpected error. try again later

Hi guys I get this message when trying to get acces to my web loging as admin this is the error The website encountered an unexpected error. Please try again later. is only when trying to get access ...
1
vote
1answer
17 views

Tabledrag in grid shape for media form field widget thumbnails

I am looking for a way to change the tabledrag into a grid shape. A nice looking solution for drag-and-drop uploading files and sorting them in a way that jquery sortable does. It should end up to be ...
1
vote
1answer
11 views

Hide Content Type Default Pages from Search Results

I have multiple content types where users enter data that I consume in views and create pages from. I want to exclude some of these default content type rendered pages from the search results, but ...
0
votes
0answers
7 views

Migrating Images from D6 to D7 using migrate_d2d_ui

I have run through an initial file migration, which migrated all the files over to the D7 site. Now on a per content type basis and I need to link those files up. Here is what I have for the mapping ...
0
votes
0answers
10 views

How to translate view literals (title, header etc)?

In my installation I have the following modules enabled: Locale, Entity translation, Internationalization (i18n) and several i18n sub-modules including i18nviews. I have double-confirmed that the ...
1
vote
1answer
31 views

List of content types posted/commented by users I follow

I'm running a D7 system Where users can follow each other using 'Follow' flag on user's profile. Now I've been assigned a task to come up with a view where I can have a list of content ...
0
votes
2answers
17 views

How to pass field data from custom node type to webform block?

I'm using the Webform module's block on custom content type. The webform has some text fields and I want to pass some data from my custom content type fields to webform fields. I tried to add a ...
0
votes
0answers
15 views

How to get field from Field Collection in Views template?

I have a field collection - field_video_item. I need to get the image field from this field collection in a Views template. How can I do this?
-2
votes
3answers
29 views

Serve 404 page based on field within a node

I have a content type which has a field that when set to a specific value it should serve a 404 page instead of the nodes content. What's the nicest way to achieve this?
0
votes
0answers
13 views

Override block template in omega 4

I have created a Omega 4 Custom Layout for my theme. I want to know how to override block template. There is a templates folder in omega from there I have copied the block folder to ...
0
votes
1answer
19 views

Menu access callback function called multiple times

I have following menu defined with access callback function. As You can see this is a hack so I can use REST via GET ( normally Services do not offer this ). All my endpoints are defined ...
0
votes
0answers
14 views

Webform warning when first hiding then showing components in conditionals

Im having a webform (Webform 4.9) wich includes a Fieldset with three components like this: Fieldset --Component A (Select option - Radio button with options X and Y) --Component B (Date) --Component ...
1
vote
1answer
37 views

load node author uid to be used as contextual link inside template.php D7

I need to load node author uid to be used as part of a href link inside template.php, I managed to add a contextual link according to this post, and call it from node.tpl.php but I can't access node ...
0
votes
1answer
35 views

How to solve “The website encountered an unexpected error. Please try again later.”? [on hold]

When logged in on my web as the administrator, I am trying to get access to content in admin menu (to administer the content on my website). But I get this error message: The website encountered ...
2
votes
2answers
36 views

Automaticaly send a push notification?

I have set up and configured the push_notifications module for a site. But, I want to automatically send a Push Notification to all the mobile devices registered in the site when content of an ...
1
vote
0answers
19 views

CKEditor plugin button/icon in config page but not on Add node?

I'm writing my own CKEditor plugin to insert text snippets and have turned it into a custom module to work with the CKEditor stand-alone module. The plugin works on a static page that just has ...
0
votes
2answers
27 views

Page not found in drupal 7

I am new to Drupal. I added a new content type and a view that points in the google map for the locations I entered This worked fine in my local site. I implemented the same in the live site. But ...
0
votes
0answers
8 views

Exposed filter of content type set to related term

I have used Taxonomy term template in views to show ContentType-A*. While **ContentType-A has a field reference for ContentType-B, and I want to use ContentType-B as exposed filter. The problem with ...
1
vote
1answer
27 views

Get node view count for each day

I have site with thousands of user and logins each day. I need to track each page views of each user to generate a report. If a user 'A' visits a page 'P' today, a new entry daycount is added to the ...
-1
votes
0answers
9 views

Mobile App Session Management with Drupal as Backend

I'm making an app with Appcelerator using this great library https://github.com/jbeuckm/drupal-client What is the best practise for session management in case of a mobile app? A likely scenario is ...
2
votes
3answers
63 views
+50

How can I add a custom price to a cart as an attribute of product type in Drupal Commerce?

How can I add custom price to cart as an attribute of product type in Drupal Commerce? In detail am creating a custom tshirt design UI where user have the options to design a tshirt(add image,text ...
2
votes
1answer
34 views

Search module in drupal 7

I am using drupal 7 built in search module, when I searched for example mechanics it will filter out the results successfully but when I used to write only mech or mechan something like this, it ...
0
votes
1answer
26 views

How to upload multiple images as multiple nodes?

I built a social network website that is like Instagram (users can follow each other, upload images and ...) but it focuses on some event. People send us tens of thousands of images every year and we ...
0
votes
1answer
10 views

Is there a setting (or a module) to include the webform conditional displayed markup in the webform submissions?

I can write a hook for this in a custom module certainly, making use of the Webform API. But I thought I'd ask first to see if there is an out-of-the-box way to ensure that a webform markup component ...
1
vote
1answer
12 views

How can I automatically visually number each webform component? e.g. 1) … 2) … 3)

I am building a webform and would like to number each question (webform component). What is the automated way to do this (rather than number the component label text)? Webform 3 (but may move to ...
0
votes
1answer
17 views

Add prefix to the error message

How I can add some prefix to the all error messages? Example: This field is required! and I need Error: This field is required! I'm using Clientside Validation module for error messages in my ...
0
votes
0answers
14 views

Additional Oracle connection [duplicate]

I need to connect to an Oracle database to get additional data for my site that uses mysql. I have defined a variable in settings.php that contains the connection string and i use it whenever i need ...
0
votes
2answers
72 views

How can I set a reminder to a specific user to be triggered on a specific date in Drupal7 site?

How can I set a reminder to a specific user to be triggered on a specific date (in a Drupal 7 site)? Example: I want to remind the user regarding particular event such as hepB vaccination day. Any ...