0
votes
0answers
3 views

How is a value in “key|value” pair accessed using a drupal function in a webform component?

I need to load the value (title) of the "key|value" pair using php for webform results in rules. I.E. I would like to display "Biography/Memoir" when the array has key "genre_biography." Is there a ...
0
votes
0answers
4 views

Uploaded images in theme settings is going to be lost

I have a flexslider and I make its images customizable through the theme settings. I added a caption property for the the slide to meet multiple languages websites as follows in theme-settings.php: ...
0
votes
1answer
8 views

How to move D7 from /sites/sitename to /site/default?

I was successful at this once and now I forgot how I did it. I'm copying a site's files from my local computer to a host GoDaddy. What I'm doing is installing D7 at the host's control panel, ...
0
votes
0answers
4 views

Mini panel visibility rules based on drupal variable

I have a site which will have slightly different layout elements displayed throughout its lifecycle. The lifecycle is implemented using simple drupal variable (variable_get/variable_set). ...
0
votes
1answer
13 views

Expand content if sidebar isn't used

I've been learning Drupal myself for over a year now. I've mainly used templates all the time and changed the css. This time I made my own template and put php in it for the first time. Everything ...
0
votes
0answers
4 views

6: Ubercart 2 with Mimemail still strips html

I'm having an issue where confirmation emails from ubercart seem to have content html removed. In my setup somehow the html in the ubercart email template is being stripped when it reaches the ...
0
votes
0answers
8 views

Images style stopped working out of the sudden - D7

The image style decided to fail on me today. It was working fine for the past weeks. I can add my own customised style etc. Basically it behaves the way it should be. But today, when I tried ...
1
vote
0answers
6 views

Drupal 7: Permission Denied (403) using /batch

I have run into a scenario where I am getting an 'Permission Denied' error when attempting to run anything that uses batch, with the sole exception being CRON. First off, this error is NOT related to ...
0
votes
1answer
11 views

Calendar Pop Up - Extend year range

A little bit of introduction: I have a specific content type with the name "Database" where i can add content and with the views module and Search API, the user is able to search on my site for that ...
0
votes
0answers
3 views

Exporting Site Configuration Settings into Features

This is on a Drupal 6 site, and we want to export several settings (like CSS aggregation) into features, however it doesn't appear like there's anyway to do this. Do we need to write a custom feature ...
0
votes
1answer
18 views

Combining 2 drupal 7 sites - how to move modules?

I am combining 2 drupal sites in to one, was not really my decision. What things I should be careful of and what pitfalls to avaoid? List of things I will be combining Content Types - Bundle copy ...
0
votes
0answers
3 views

How to show Total with taxes at admin/commerce/orders using Commerce?

I need to show Total with taxes at admin/commerce/orders using Commerce. Here the orders are shown without taxes, how can get to show the total including taxes? I didn't see anything like a Total ...
0
votes
0answers
10 views

Metro layout for views

Any way to achieve metro style layout for Views items? E.g.: I was thinking maybe there are modules or something. Was searching for something like Masonry, but didn't find any.
0
votes
1answer
8 views

User select filtered by taxonomy on node forms

I’m looking for something like Hierarchical select (https://www.drupal.org/project/hierarchical_select) based on the user selection filter by term (taxonomy). In a node forms, I would like a list ...
0
votes
1answer
9 views

Create a custom view, and add a custom sortable column

I want create a view for display a list of contents. (same type) (its my first fully custom view x) ) I want display the view like this : //form : the user select a Date field, its an exposed ...
0
votes
0answers
11 views

Developing a module Question [on hold]

So our professor is making us use drupal for our IT Poject. She is giving us a project which is module development that will customize a T-shirt that will change the color, add text, add image to the ...
0
votes
1answer
19 views

How to tell variable_get to get the value from the database and not the $conf array?

variable_get seems to always used $conf array which is fetched a single time. In a long running process where the value of a variable may have changed during operations this causes problems. Is ...
0
votes
0answers
13 views

Is Drupal extensive enough to design a website similar Vevo? [on hold]

I am researching to choose a suitable CMS for deigning a media website. For sharing Music and videos. The website will be huge, something like Vevo.com or mySpace.com (except the social part). So ...
0
votes
0answers
8 views

drupal_alter() and .inc file

So i need to give the opportunity to other modules to alter specific data. Classic usage of drupal_alter(), which has served me well in the past. My problems now are that that this drupal_alter() is ...
0
votes
0answers
10 views

How can I immediately flush the php output buffer to the browser in Drupal hook_menu, flush & ob_flush not working?

I'm trying to immediately send the php output buffer to the browser while in a Drupal hook_menu but it doesn't seem to be working. I use the following code on a non-Drupal php page on the same Apache ...
0
votes
3answers
21 views

entityfieldquery, return several results

I want get several entries of database. Im a entityfieldquery novice and I misunderstand how I do for get several results who contain certain fields (here, the fields that interest me are : delta, ...
0
votes
2answers
9 views

custom HTML in search form ( site/search)

I'm trying to customize the html of the search block form. I know that I can use templates.php to modifiy the fields and customize it but I'm trying here to change the whole html block. I've tried to ...
0
votes
1answer
22 views

Issue with Workbench setting

I'm creating workflow for my Drupal 7 site. On this site we installed Workbench, Workbench Access, Workbench Moderation and Workbench Media. I'm following this setting, but still having 2 issues with ...
1
vote
3answers
28 views

Render alternative content if user is logged in instead of redirecting to user/uid

I have a menu router with type MENU_CALLBACK and it's 'page callback' property points to a function that implements render API, as follow: /** Implements hook_menu **/ function custom_render_menu() ...
0
votes
0answers
8 views

With a Two-Tier Drupal Architecture, Should you Put More RAM into the MySQL or the Apache Box? [on hold]

If you're spinning up a two-tier Drupal 7 environment (Apache on one server, MySQL on another), how would you allocate RAM? If there's a ratio to stick to, that would be handy, too (e.g. 2:1, MySQL to ...
0
votes
1answer
10 views

Superfish - how to integrate main & user menu together

I am using superfish module to decorate the menu system but found one issue. i need to show my "main menu" & "user menu" blocks on header region. so that if user is logged in, they can see all the ...
1
vote
0answers
11 views

How to set relationship between custom tables in views?

I'm creating a module that retrieves Youtube data (video and playlists) from Youtube feeds I've created cutom tables : youtube_video (with fields : vid, vtitle, description...) youtube_playlist ...
0
votes
0answers
7 views

Using rules to notify a role, based on shared taxonomies between users and nodes

I'm trying to use Rules to send a notification email based on some fairly complex criteria. A specific node type (we'll call this Meal) is created using a taxonomy of (Cuisine Type), where the ...
0
votes
0answers
5 views

Access created and changed fields for products in views

I'm trying to show the created and changed date in views for commerce products. But those values dont show up as fields. Any trick to let them appear? For now, I only have my custom fields and the ...
1
vote
1answer
14 views

Tracking clicks on each link separately

I have create a website that, on the same page, will offer several links to the exact same section (node). For example the link to the "Contact us" node appears 3 different times (in 3 different ...
0
votes
1answer
19 views

How to add galleries to nodes in Drupal 7

I have site with news, and I wont to make it possible for admin to add image gallery to articles (nodes) he wants. So, the idea is to make gallery image field for every content type from which images ...
1
vote
0answers
9 views

Varnish and expire module adding starts with on regular expressions

I have varnish running with the expire module that sends bans into varnish when an article is published. The problem is that it doesn't expire all versions of an article. Some articles could be ...
0
votes
0answers
12 views

import drupal user csv file by mutiple users [on hold]

Kindly provide better optimized solution for the points below Using custom module users able to upload a CSV file to users & users related custom tables For example 10 user uploading a CSV ...
0
votes
1answer
14 views

I want feedback tab with popup window? [on hold]

I installed feedback module in Drupal 7. But I clicked means it will go to contact page. I want to load the content in popup window? Look this Image
1
vote
1answer
18 views

Converting db_query from Drupal 6 to Drupal 7: Invalid parameter number: number of bound variables does not match number of tokens

I have a custom localisation function in a Drupal 6 module that I would like to convert to Drupal 7 but I have hit a wall with the db_query function. I have the following code (in d6 and d7): // ...
-1
votes
2answers
15 views

Statistics without a module

I'm a rookie in drupal, so bare with me if this is a stupid question. I'm using Drupal 7.22. In this version are there any "default" or simple site statistics that are tracked automatically, or do I ...
0
votes
1answer
18 views

How to debug missing default value of managed file?

I have a form with images. It also contains title and alt for 3 languages, so when I select them in one query, I get the same managed file fid 3 times. But that's not the problem. Relevant part of ...
0
votes
1answer
13 views

How to display Views fields as a drop down menu?

I have several fields in a View which I would like to appear as a drop down when another field is hovered over. It is possible to create a jump menu and a fieldset in Views, but how does one create a ...
0
votes
2answers
19 views

How to override VBO redirect after performed action?

My problem is that I can't override the URL where VBO redirects me to after I performed a default action. When I write my own actions I simply put $_GET['destination'] = 'my/target'; inside my custom ...
0
votes
0answers
10 views

Can't run Bundle install [on hold]

I'm kind of new to omega 4 and i'm workin on windows 8 and Cgywin . when i go to my sub-theme with drush or cgywin and run bundle install i get error like this : An error occurred while installing ...
0
votes
1answer
19 views

user not logged in php file

I want use drupal functions in php files,I did it with below code $path = $_SERVER['DOCUMENT_ROOT']; chdir($path); define('DRUPAL_ROOT', getcwd()); //the most important line require_once ...
0
votes
0answers
12 views

Implementation of Google Picker for Drupal?

Does anyone know of a successful implementation of Google Picker API for Drupal? The project on d.o. is not 3 years old and without working code; I am looking for a working solution.
0
votes
0answers
12 views

How to stop multiple records returned on reverse node reference

I am using the 'references' module and the 'views' module (D7). I have two custom content types - 'Universities' and 'Courses'. The Universities content type has a custom field (field_courses) which ...
-2
votes
1answer
13 views

How to adding dynamic field by fieldset in Drupal? [on hold]

In my website there are a reference text and then there are some translation of that reference text. I want to have a set of dynamic fields to add translation. for example when editor of website ...
0
votes
0answers
7 views

Drupal 8 custom entity field “datetime” [on hold]

Drupal 8. Trying to do own entity and create "datetime" field, some one have examples for that ? because what i did have problem with removing after. "NestedArray::getValue() must be of the type ...
0
votes
3answers
35 views

get nid of created node in custom submit and Page redirect after save

I am using Drupal 7. I have created a content type called person. And I have customize my node person adding form with custom submit button . But uses default Drupal node save function. I just uses ...
-2
votes
1answer
14 views

How to create dynamic fields in Drupal?

I am going to create a content type with daynamic fields, How to do it? for example when user clicked on add image button can add some more images.
0
votes
0answers
10 views

How to add 'add to cart' button to view based on a search index?

Just got started with search_db and the search_api and facets. I have a view set on an index of my commerce products, but I don't have the option to add the 'add to cart' form as a field. There isn't ...
0
votes
0answers
9 views

No valid shipping rates found for your order, and we require shipping service selection to complete checkout.

I enabled checkbox of "Require a shipping service at all times, preventing checkout if none are available.". Configured Flat Rate but it is not displaying on frontend. If city is Colarado then apply ...
0
votes
2answers
41 views

how to output image file from database drupal 7?

I have created testing module that will upload image and outputting it to my page. but, I can't seem to output my image file from my database. here's my code function database_ex_menu() { $items = ...

15 30 50 per page