0
votes
0answers
3 views

Notice : Undefined index: timezone in _signup_get_sql_handler() any solution?

i have this error when i run a cron: Notice : Undefined index: timezone in _signup_get_sql_handler() (ligne 356 dans ...
0
votes
0answers
4 views

How to render 2 pagers for 1 view?

I have a view with paged output, AJAX enabled. I need to display 2 pagers on same view page: Load More pager (provided by views_load_more) and Full pager (default Views pager). Something like ...
0
votes
0answers
2 views

Why does node_add_body_field() lock down 'body' field instances to the 'node' entity type?

For a current project our taxonomy terms need a text field with a summary; naturally as there's already a body field available on nodes, I thought I'd just use that. Confusingly, 'body' doesn't ...
0
votes
2answers
5 views

Disaled Field Won't Save

I need to change the value of a field based on the selection of another. I also don't want the user to have the ability to change this value. I tried using #disabled = true, but the values don't ...
-1
votes
1answer
7 views

Drupal & Bootstrap Javascript issue

So I have Drupal using the Bootstrap theme (properly subtheme'd), jQuery Update plugin (using 1.10), LESS Compiler with Libraries. For the life of me, I can not figure out why the Carousel JS in ...
0
votes
1answer
12 views

Why select query in drupal is providing error.?

I am writing a code to select records from database... But it's providing following error: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL ...
-2
votes
0answers
10 views

Field value of a content type is not saved

I have a content type (created through a feature) which has different fields. One field is a text field. It used to save data before but now it doesn't save any value. I checked in the table, the ...
0
votes
0answers
6 views

How to set a default value for Simple hierarchical select?

I tried to implement hook_form_alter in order to pass default value to Simple hierarhical select views exposed filter. function mymodule_form_alter(&$form, &$form_state, $form_id) { $tid = ...
0
votes
0answers
5 views

Upgrade/downgrade user role based on profile2 field value(boolean) which can be accessed by admins only

There is a role called moderator and profile2 types like advanced,verification. Verification profile type(which can be accessed only by admins) has boolean field called verified. When admin verifies ...
0
votes
0answers
2 views

Solr's “more like this” block doesn't appear on every content type

I've successfully installed solr on D7 which I'm using several content types. More like this block shows on one of the content types but not with rest. With a surprising exception of last two nodes on ...
0
votes
0answers
8 views

Drupal form placeholder [duplicate]

I made a form using the custom module "homepage_userlogin". I want a placeholder in my form. The code of the custom module is: <?php function homepage_userlogin_form($form_state){ $form = ...
0
votes
2answers
7 views

Form is not submit handler is not called

I have this code for calling a form and than submit it.. <?php // hook_menu function pricepackages_menu() { $items = array(); $items['membership/packages'] = array( 'title' => ...
1
vote
0answers
10 views

Is it possible to let a user change value of a single field in their account profile without going to the user edit page?

On my site, users have several single-value boolean checkboxes as part of their profiles. In various places on the site, I want to let users toggle one of these fields on or off without going to the ...
1
vote
1answer
9 views

How to add paragragh information under hovered menu item?

Hi all, I want to add descriptions under my menu items like above (Eg. Home (ADD my description) Products (etc)? Do I have to create children under these menu items and enable these???? Any advice ...
0
votes
1answer
11 views

How to add an image property to an entity?

I have a requirement to add a unique icon to each bundle of an entity. My entity code is very similar to the model module. I have 2 entities, one for holding the actual entity instances, another for ...
0
votes
0answers
10 views

Submitting files in webform using POST [on hold]

I have this image and I've converted it to BitmapData. I have a webform on local host; in the webform, I have a file field and a few other text fields. I used a simple URLVariable to submit all my ...
0
votes
0answers
16 views

insert field add to cart form

I installed the Ubercart module and created a custom content type, "product". I go to store => products => manage classes and add a class for content type "product". Then I display field add to cart ...
0
votes
0answers
10 views

Changing user permission [on hold]

I am trying to use a paymentgatweay for my site . The gateway just give a button to place on my site for redirecting to their site for payment . When the payment is successful , they redirect back to ...
0
votes
0answers
11 views

How would you create a learning application in Drupal? [on hold]

I'm trying to create a training system where very simply, users can log in and watch a video. After they have watched it, they click 'answer questions' and a new page with list of multi-choice ...
0
votes
1answer
15 views

taxonomy auto-path views path issue

I have used the taxonomy menu and auto path to create a url alias something like below. The reason is so that the taxonomy menu has the right path. /my-alias/[term:name] I then enabled the taxonomy ...
0
votes
1answer
7 views

How do I target different types of anonymous user after a gateway page?

So there are a whole bunch of useful tools in Drupal for changing how a website looks depending on a number of factors, including which page you're on, what roles you have, whether you're logged in or ...
0
votes
1answer
6 views

Printing a form inside a block

I have a specific block that has some form logic, intended for newly registered users. And I am a bit lost on what the logic would look like to render the contents for the form inside a ...
0
votes
0answers
11 views

hook_clone_access_alter not doing anything [on hold]

not sure if this is an issue or as a support request type, but unless I am totally doing something wrong, it might be a bug. Situation: I need a particular group of users (role) to be able to clone a ...
0
votes
1answer
6 views

Relationships Between Content Types

I have 3 content types that I have created: order, product and salesperson. The fields for each are as follows: Order: Purchaser Name, Product (entity reference to Product), Quantity Product: ...
0
votes
1answer
10 views

Why won't my module table populate

I have a page that is supposed to output a table of values from my database. I am logged in as an admin and another page I created works just fine, outputting a form for data to be entered into the ...
0
votes
1answer
5 views

Views: Sort items using contextual filter arguments

Im trying to create a block of "Related products", I have 3 criterias for show the related products: Color, Texture and size. These are taxonomy vocabularies. In the view I can use contextual filters ...
0
votes
0answers
4 views

Issue with content access and multilingual system

I have a multilingual website using English Arabic and French and 2 days ago i remarked that anytime when i clicked on node/add/* for the english section it return an access denied page , and that is ...
0
votes
0answers
8 views

How to change integer field suffix base on value of other field

I have a content type property which has price as integer field and contract type as radio with options "Rent and Sale". I would like to change the price suffix depending on contract type option ...
0
votes
1answer
5 views

Taxonomy view - showing term searched for in header

I've enabled the Taxonomy View template and used the taxonomy term page module to specify this view should be used when clicking on one of the taxonomy terms. The page itself is working & looking ...
0
votes
0answers
7 views

Passing argument parameter from Drupal Panel page into View in Drupal 7

I am having issues using View display in a Panel, on Drupal 7 (using Panopoly), from one of the Pages in our Drupal 7 site. We are having problems passing parameters from Panels into Views. I would ...
0
votes
1answer
4 views

Producing collapsible field sets with theme functions

In an older Drupal 6 instance, I'm updating a module to produce a collapsible fieldset with the following: function my_module_function($table_collections) { // include JavaScript for collapse ...
0
votes
1answer
5 views

Add a Module Form to a front page region

As the title reads, I'm attempting to add a custom made module (simple contact form) into a region on my front page (this may be used other places as well, but for not just the front page). Could some ...
0
votes
0answers
7 views

Drupal 6 Core Update Not Updating

I am running Drupal 6 and have attempted to update the Core about 5 times recently, and it continues to tell me I haven't updated it. I AM running update.php, and doing it the way it's always worked ...
0
votes
1answer
10 views

matching path rewrite without htaccess

I need to move a legacy Drupal 7 site to our new Aegir hosting environment. Unfortunately, the file structure is "non standard". I need to move drupal/materials to drupal/sites/default/files/materials ...
0
votes
1answer
11 views

Print full node url escaping special characters?

How can I print the full node url in a tpl file escaping special characters? So im using this: <?php print $base_url . $node_url ?> Which gives me a url like ...
2
votes
0answers
12 views

Commerce: save quantity button removing products

I've come across a frustrating issue after adding a cart view block on my page in the form of a "sidebar". When trying to update a quantity or just clicking the "save" button (at bottom of the view) ...
5
votes
1answer
116 views

How does CSS and JS aggregration work in Drupal?

When Drupal is set to optimize JS and CSS, it creates the 'js' and 'css' folders in your public file system root. Aggregated JS and CSS get stored in these directories. I've tried to figure out how ...
0
votes
1answer
6 views

using contextual filters to filter with relationship

I have articles and issue nodes, where every article is related to an issue. I am trying to create a Views block which shows related issues. What I tried was this: I created a view of Articles. I set ...
0
votes
0answers
6 views

How to display taxonomy term reference field as a rendered entity?

I have taxonomy term reference field which are displayed as checkbox. Each taxonomy term has two fields 1. description and other 2. price I want the description and price field to be displayed ...
1
vote
0answers
11 views

Content Type no showing fields

I have been trying to created a content type programmatically in Drupal 7. I notice that I should use the hook_node_info to generate the content type with the title and to add the body I should use ...
1
vote
1answer
5 views

How do I find out what controls access to a page?

I'm surprised by finding that I can't access [some-path] on my site, and I don't know what to do? Where do I begin searching? What is the fundamental most level to start from?
1
vote
0answers
10 views

Commerce Kickstart: How Do I Modify The Order Receipt Page To Add Order Date?

The receipt page that displays when one completes an order (or reviews in History) contains no order date (surprising). Where is the code that renders that page and how does one modify it to display ...
0
votes
0answers
7 views

Scheduler Module Deleting Node

Problem: I create a news story with a future publish date using the Scheduler Module and when that date / time hit, the node goes from unpublished to deleted. There is nothing in the log that shows ...
0
votes
0answers
12 views

/user/ page access denied [on hold]

Out of nowhere I cannot login via /user page anymore, now I have to go to /user/login to get to login form. And even after logging in (as admin user id 1) admin end all works, but if you go to /user/ ...
0
votes
0answers
7 views

How to get flag count for any time period

I have View which displays a list of nodes with counters (flags), but the counters for all the time. How to display a list of nodes with counters (flags), for example, over the last week or last ...
0
votes
0answers
8 views

Redirect to the form with field autopopulated with values retrieved from the node

I have a drupal custom module which creates a form in which a user can fill different fields and then, after submit, a custom node content is created and filled, where each content type field is ...
0
votes
2answers
18 views

Drupal 7 - load view programmatically

How do I load a view programmatically passing a language attribute? Tried with module_invoke and views_embed_view but none of them worked; Data is returned but not filtered by language; Please ...
1
vote
0answers
2 views

Commerce Customizable Products

I hope I could receive some help concerning Commerce Customizable Products. I am looking for a possibility to, when adding a product, selecting the options a customer could add on the 'add to card ...
1
vote
3answers
13 views

Is it possible to do a drush sql-sync of only certain tables?

I have 4 environments between my local, dev, staging, and production. A large amount of content is published to the staging environment on a daily basis, so that is the center of my workflow. Once ...
1
vote
1answer
16 views

Domain Access with URL Alias - same content, but with different automated aliases

I have a site running Domain Access with two domains - the primary domain and the sub-domain. Both domains share the same content in the database, but I would like the automated URL aliases for the ...

15 30 50 per page