0
votes
1answer
10 views

How to display programmaticaly default user picture?

I want to display programmatically default user picture if the user is not uploaded any. For that I have written code php code but its displaying user uploaded user picture correctly but not the one ...
0
votes
0answers
10 views

Global value not accessible [on hold]

I've a .module file which contains this: <?php $abc = 1; .... function mymodule_user_login($edit, $account) { global $abc; //dsm($abc); $yes = is_null($abc); ...
0
votes
0answers
7 views

Drupal Commerce: Create advanced add to cart form block in views

With Drupal Commerce product variations, certain values will update without a page refresh based on an attribute selection. For example, changing a color attribute may update the product image. I ...
0
votes
3answers
16 views

Page not found error when using plus“+” sign in the url alias

I am trying to create a new simple node with url alias as test+node. when i save the node the page is not showing the node, the url changes as http://server/packets/test%2Bnode but it only shows the ...
0
votes
1answer
14 views

Why D7 Update Manager keeps sending emails?

This is very weird, http://example.com/admin/reports/updates/settings keeps sending emails to my email while the owner of example.com has changed his website from Drupal 7 to weebly! I mean, the ...
0
votes
0answers
7 views

User's facebook friend list on drupal website? [on hold]

I am making a social networking site, i want that when the members login to the drupal website there facebook friend's list should come in a block form with the profile image and name. which module ...
0
votes
0answers
14 views

Cannot log in to account with no content [on hold]

I installed Drupal 7 but after successfully logging in with my admin user for the first time I didn't create a front page or any other content. Now when I open drupal7 I get the log in page but cannot ...
0
votes
0answers
8 views

Commerce wallet functionality [on hold]

I want to add a wallet functionality to my drupal commerce site.This wallet would be a custom wallet like mp wallet module drupal7 can anyone help?
0
votes
0answers
9 views

Content creatio is suddenly not possible anymore

I had created a view with the Views registration Module. Evrthing worked fine. Now I am back on my webstie and I've tried to create new content. An error occured while saving the node and drupas ...
0
votes
1answer
17 views

How to programatically update existing user profile field in drupal 7

We are using Drupal 7 and the Profile2 module. We create and add a value to a field in the profile using this code: $profile = profile_create(array('type' => 'main', 'uid' => ...
0
votes
0answers
15 views

Focus on the selected tab in Quicktabs

I have used quicktabs to search my channels and profiles.I have set default tab "Channels/Videos" in quicktabs setting.When a user enters the text and selects "Profile" tab the focus automatically ...
0
votes
0answers
16 views

I have problem in export filter results to excel sheet [on hold]

For this export to excel sheet i am using the phpexcel custom module. my question is when i am trying to filter a data it will display in views.but filter data not displayed in the excel sheets. When ...
0
votes
1answer
13 views

Creating time dependent user registration in Drupal 7

I wanna register a user which deletes itself after 24 hours. Or Just doesn't allow user to login after 24 hours of creation. Is it possible? Thanks.
0
votes
0answers
14 views

Drupal 7 - Keep me logged in and customizing the error messages - please help

Can anybody help me in implementing Drupal 7 'Keep me logged in' feature and customize the error messages in login form. In page--front.tpl.php i used <?php print front_login();?> for the ...
-1
votes
0answers
5 views

“CSRF validation failed” When create node using services module

"CSRF validation failed" When create node using services module, following step use in my code :- $services_url = "http://example.com/drupal-728/oss_connect"; $request_url = $services_url . ...
0
votes
0answers
9 views

Fusion Starter Theme does not provide option to disable grid overlay for administrator on home page

Enabling the option to display a grid overlay using a subtheme of Fusion Core under Menu > Administration > Appearance > Settings does what it is supposed to, however, does not give me the option to ...
0
votes
0answers
17 views

Drush doesn't detect drupal installation under sites sub-directory

I have been using Drush 4 and 5 with no problem. Now that I have downloaded and installed new Drush 7.0-dev using composer, I am having problem i.e it doesn't by-default detect drupal installation ...
0
votes
0answers
3 views

Field of Type Entity Reference with Select List Widget Shows Choices for Admin, Empty for All Other Users

I've got a content type "A" with a field of type Entity Reference to another content type "B". It's intended to display a select list of the items in "B" and allow the user to select one. As long as ...
0
votes
2answers
4 views

PDF from views result with custom Title

I'm new to this site and would appreciate any help. I've built a Drupal 7 site that stores a lot of news items on it. I need it to be able to generate a PDF of selected news items from a views result ...
0
votes
0answers
6 views

managing variables in rules

I came across an issue with a very simple task using rules variables (maybe because I'm used to programming context). I wanted to create a coupon for commerce, those coupons only can be configured ...
0
votes
0answers
11 views

preg_replace_callback(): Modifier /e cannot be used with replacement callback [on hold]

Our site produces about 12 errors, all similar, but referring to slightly different sections of code: Warning: preg_replace_callback(): Modifier /e cannot be used with replacement callback in ...
0
votes
0answers
5 views

terms selected using entity reference and context module

Possibly a bug while communicating term selected by entity reference to context module with condition taxonomy. I created a view of type term, display: entity reference,fields:taxonomy term name Then ...
0
votes
0answers
4 views

use “no cache” but input filter seems to be cached in Drupal 6

I am trying to display a add to cart button and it only rarely works. It seems to work when the cache is cleared and then not work. I have added the no cache option but this doesn't seem to do ...
0
votes
0answers
6 views

Trying to figure out why Captcha displays sometimes and not others

Drupal newbie. Just enabled Captcha and assigned to forms through Configure window. Captcha doesn't show up for this page: http://fibroids.ucsf.edu/node/126 but does show up for its alias: ...
0
votes
1answer
10 views

Drupal 7 CKeditor always saves Array

I am developing a custom module with some entities inside. I created a form to edit them and I would like to use CKEditor in one of the fields. I can see and use the CKEditor, but when it's time to ...
0
votes
0answers
9 views

Drupal 7 Views Image Field Default Image Not Displaying

I am trying to make a view using fields to display a default image that I set in Manage Fields of the Content Type. Is there any way to do this or do I have to hack views or maybe just some workaround ...
0
votes
0answers
7 views

Error connecting to smtp server

I have a Drupal 7.30 installation that I'm trying to develop on webenabled ( I also had it on network solutions shared hosting), and every time I attempt to send an email, I get the error unable to ...
0
votes
0answers
3 views

Modifying the content in a view

This is in Drupal 6, so Views 2.x I'm trying to modify the output of a view - there's a field that should be set in some situations, but not in others, but for some reason it is defaulting to "Please ...
0
votes
2answers
15 views

flexslider cant adjust height

I have installed Flexslider on my site (just locally on PC at the moment), it adjusts the width of the slide fine when I reduce the size of the screen width using the browser, but the height of the ...
0
votes
0answers
11 views

Responsive Blocks

How can I make blocks shrink while staying on the same line as the window gets smaller? As of right now my blocks are going under other blocks as my window gets smaller. How can I make my theme ...
0
votes
0answers
8 views

how to call drupal_static_reset from drush

I have a live site that needs a variable_set run from drush. I try using devel module execute php to do a variable_get and I am sometimes getting the correct result. Sometimes not. I have cleared ...
0
votes
1answer
15 views

How can I create a content type in a custom module?

I would like to create a content type called announcements for a module that I'm creating, but haven't found much to make this work. I tried this: function srl_dash_install() { ...
0
votes
1answer
7 views

How to turn of panels in-place edit bar

I know this maybe a silly question but how do you hide panels in-place editor bar?(The bar that has layout adjustment buttons.) I found a post that said there's a on/off setting on general settings ...
0
votes
1answer
9 views

Tag/Label an image in an image field with Taxonomy terms?

Is it possible to tag images as you upload them on to a node in a multiple values image field? Image a node with a set of 3 images: image_1.jpg (tagged with: red) image_2.jpg (tagged with: blue) ...
0
votes
0answers
2 views

Alter Pager query string based on header view

I've got a Calendar view that has contextual filters set to filter by both date and product ID. In the header, I've added a fairly simple view that displays my products and has a pager. I'd like to ...
0
votes
0answers
6 views

Configure Menu block visibility based on URL and a User field

First, I have a content type: Department Additional content types: Post, Article, Event, etc. using Node Reference (Reference From URL) User have Entity Reference (Department) [field_department] ...
0
votes
0answers
11 views

Drupal site blocked by Windows defender

Visiting my Drupal 7 site just now with IE 11, I get this message: Windows Defender blocked content on this website lx7pyv.dofeqilr.com Hosted by: mysite.com Recommended icon Go to ...
0
votes
1answer
15 views

Custom module blocks: where to put html code?

I have a custom module that implements hook_block_view. I would like to know where should I put extensive html code for a block content. For example: $block['title'] = t('TEST'); $block['content'] = ...
0
votes
1answer
14 views

Drush is unable to update my site

I'm trying to update my drupal core though drush. But how hard i trie, it won't work. I''m using drush pm-update but it fails. Below the output of the drush debug. Tnx in advance Drush bootstrap ...
0
votes
1answer
7 views

Sorting with Voting API

I know a lot has been written on this issue already but I found no clear answer. Here it is: With the Voting API and another module such as Fivestars or Rate, how do you rank the results within ...
0
votes
1answer
13 views

How to add value in to multiple value field (entity reference)?

Im inserting into user field reference to other users. This is my code, but it is overiding all values of field, i just want too add value and keep values added before. <?php global $user; ...
0
votes
0answers
9 views

Dynamic menu breadcrumb for custom Drupal form

We have a form developed using form API in Drupal 7. Based on taxonomyID & nodeID in URL, the form fields will be pre-filled. I want to display the taxonomy term & node title in menu ...
0
votes
0answers
4 views

Term description and field_attach_update()

When I programmaticaly change term fields and term description, I can save changes by calling taxonomy_term_save($term); But if I don't want to save the term itself, only changed fields, I want to ...
0
votes
0answers
7 views

How to theme Rendered Commerce Customer profile?

I’m using Addressbook, which displays the customer profile in a tab in the user page. I also added some custom fields to that customer profile. In order to theme this tab, I could only change some ...
1
vote
1answer
20 views

Auto-collapsing fieldsets on user_profile_form

I am following these guides: Customize the User Edit page in Drupal 7: https://www.drupal.org/node/2279959 Collapsing default fieldsets (Drupal 6): https://www.drupal.org/node/733198 Basically, I ...
0
votes
1answer
7 views

Translation of months and days in Calendar Views Module

The Views Calendar template displays months and days, i.e. June, July, Monday, Tuesday, etc. When someone changes from english to french, how can I tell it to display the months in a different ...
0
votes
0answers
8 views

Changes to fields not appearing

I have made some changes to a template that have changed the display order of some fields and some field labels. The field changes do not display in preview or when I publish. I have gone in and ...
0
votes
2answers
15 views

Modular Drupal content-type (variable sections)

I'm trying to build a modular and quite dynamic backend. I'm using Drupal for the task but haven't been able to spin my head around how to make it happen. I need ideas on how I might solve this ...
0
votes
2answers
20 views

Change <ul> class on one specific menu?

I'd like to change the class from "menu" on one specific menu I have showing up as a block on about 3 pages in a Drupal 7 site. I've been researching but can't seem to figure out the best way to go ...
0
votes
0answers
9 views

pathauto patterns showing an empty page drupal 7

When loading admin/config/search/path/patterns no content/form is showing up. Is there any way to show up the content of the patterns...?

15 30 50 per page