0
votes
0answers
2 views

Creating a page per bundle

I am trying to create multiple bundles for a given entity. However, when I'm doing this, all of my manage field and manage displays are on the same page, and it doesn't appear like any of the other ...
0
votes
0answers
2 views

form_set_error() redirects to raw ajax response page

I have a page with a simple view. Above the view there is a menu link that when clicked loads a node form with a required file field. The form is fetched and loaded using ajax_commands into a div on ...
0
votes
0answers
4 views

Getting Started With Drupal (Beginner)

I was new to Drupal, am using bartik to create a social network site, please where can i get a themes for social network which themes should i start with as a intermediate Drupal user, and other ...
0
votes
1answer
12 views

Child content types

I need to create two content types (Call List and Call Announcements), in Call Announcements there are 5 fields, in Call List there are 12 fields but 5 of them are mutual with Call Announcements, I do ...
1
vote
1answer
20 views

What will happen to my existing panels if I reinstall the panels module?

The need is to reinstall panels because of some issues with it. However what will happen to the already existing panels if you reinstall or even remove panels entirely?
0
votes
0answers
10 views

Drupal 8 - Custom classes for menu links

How can I add custom classes for links into main menu in Drupal 8. This is template for my main menu called menu--main.html.twig {% import _self as menus %} {{ menus.menu_links(items, attributes, 0) ...
1
vote
1answer
14 views

what is the purpose of “_services_controller_execute_preserve_user_switch_anonymous”

I have been having a problem persisting the authenticated session after a successful registration using Services 7.x.3.11 in Drupal 7. I've sort of solved that issue by commenting out the call to ...
0
votes
1answer
18 views

Drupal 8 custom page template

Is there any way to make custom page.htm.twig template in Drupal 8? By default Drupal generates some suggestions but none if it is something like this page--node--content-type.html.twig..
-2
votes
0answers
14 views

htaccess 300 redirect to https with www

Recently I have enforced my all pages from http to https thanks to cloudflare ssl. However it's not 300 redirect exactly. It's redirecting to my main index page. How can I add 300 redirect with ...
1
vote
1answer
11 views

Associating comments with special pages/module output

I have what one could consider an "irregularity" in a Drupal module. I have this unique case (mostly due to vendor inconsistencies and ever-changing requirements) where when a user requests a certain ...
0
votes
1answer
19 views

How can I filter users within a user-configurable range in Views?

For example, consider a dating website. Each user has an Age stored in their profile. They also have a Max age and Min age, which are the maximum and minimum ages of people they hope to receive ...
0
votes
0answers
10 views

Lightshop module doesn't sends E-mail to some providers

I'm using the lightshop module, with Drupal 7.27 and BootstrapBarrio theme. The lightshop module allows the user to pick a node as if it were a commerce item, and through a Basket allows the user ...
0
votes
0answers
6 views

Drush sql-sync failing with Ubuntu 14.04

I'm having no luck with sql-sync, there's two seemingly unrelated errors it's throwing at me which I'll detail below. I've been successfully sql-sync'ing the same site to another server, so I'm ...
0
votes
0answers
10 views

How to style a programmatically created page with a template?

I'm struggling with understanding theming pages with templates. I'm stuck with creating a new template for a programmatically created page. I have a module that shows a download page for a file. The ...
1
vote
1answer
16 views

Creating an entity with an unlimited number of bundles

So I want to create an entity that can have as many user-created fieldable bundles as possible. My first thought was to look at the Profile2 module, however I notice that there appear to be two ...
1
vote
1answer
16 views

Opening a ctools modal on form submit

I have a custom profile form (part of a multi-step registration process) that requires a modal to be displayed once submitted. I am not clear on what the process is for this to happen, and the ...
0
votes
1answer
11 views

How to embed a view in hook_page_build()

I'm trying to render a view into a region in hook_page_build(). I'm using views_embed_view(), but I'm getting the errors: Warning: Invalid argument supplied for foreach() in element_children() ...
0
votes
1answer
21 views

Alter menu item markup in Drupal 8

I am trying to play around with Drupal 8 menu. How I understand now menu is a service, so how to alter menu output in Drupal 8? Is there any documentation? Because googling show no useful results. ...
0
votes
0answers
15 views

Form submit with radio in table has data in form_state['input'] and not in form_state['values']

While developing a form for Drupal 7, I need a few radio groups, placed inside a table (one radio group per table row). The radios are defined as '#type' => 'radio' (not radios) and grouped ...
0
votes
0answers
10 views

How to call JavaScript or JQuery scripts in Drupal 7 blocks

Since the Webcam module seems to have fallen into disrepair, I tried to create Blocks containing an <img> and a small <script to automatically reload it. An SO question gave me some hints how ...
0
votes
0answers
4 views

drupal_write_record in Drupal 6 Not working

When I run drupal_write_record, it always comes back false. I've debugged into the function and see that drupal_get_schema function, found inside drupal_write_record function, returns false. Further ...
0
votes
1answer
13 views

Custom preprocess_function does not fetch translated value of the content type

Drupal 7.34 core Using custom theme from Themebrain TB Sirate Multilingual setup works properly Content type has both English and Russian values English Language mode: When open/viewing a node, ...
0
votes
2answers
22 views

How to create a quote request form in Drupal 7

I'm building a Drupal site that uses nodes to display a number of high value products. There are no e-commerce features due to the high value of the products being offered for sale, but the client ...
-1
votes
1answer
16 views

Problem with custom scrollbar when it is called more than once on the same page

I making my custom module that works through Views and I have problem with one part of it. In one part, when I have longer text, custom scrollbar appears, and it works without any problems, but when I ...
0
votes
1answer
13 views

How to add another condition to a specific active facet?

I did try to add a condition using hook_views_pre_execute or hook_views_query_alter, but since Im usiong SearchAPI, theres is no point apparently in using these functions (no $query in ...
1
vote
1answer
32 views

Only display image field when administrator approves it

I'm building an advertising website using Drupal 7, in my case anyone can add an advertisement without any restriction, except that the images should be hidden first until the website admin approves ...
2
votes
1answer
22 views

New Drush install instructions use Composer for install, even on Drupal 7?

The current Github install instructions for drush (http://docs.drush.org/en/master/install/#git-clone-ie-manual-install) say as the last step: From Drush root, run Composer to fetch dependencies. ...
0
votes
0answers
11 views

commerce file module 2.x dowload limitation not working [on hold]

I am using the 2.x version of Commerce file Module The download count limitation function doesn't seem to be working when using Amazon S3 module to serve as the spot where my files are stored. As ...
0
votes
1answer
20 views

Exclude a block from the views result

I've created a views page named "Search" with a path of "product-page". Then I created a views block named "Sponsored Ads". With the "Search" page, I exposed some fields for the filtering, then ...
1
vote
0answers
13 views

How to get product attributes (weight, dimension.height..) in php

I am fairly new to drupal commerce and php so pardon the dumb newbie question. I downloaded commerce_order_ftp_export and after updating it to the devel version I was able to get it working. It ftps ...
0
votes
1answer
15 views

Loading a ctools modal on the home page

I have a front page that consists mostly of context rules to load various blocks, and for some users, a requirement to render a Ctools modal with a call to action. We aren't displaying much on the ...
0
votes
0answers
5 views

How to configure the Publication Date Module for 6x

I have a Drupal 6 site with a publishing workflow. I'm trying to set it up so that News articles have the Published date on them instead of the default, creation date. There's a Publication Module for ...
-2
votes
0answers
19 views

How can I import this website in Drupal [on hold]

I'm new to Drupal, but I have been programming in HTML,CSS and JavaScript for quit a while. currently i'm working on my website: NerdyFuture about technology,software and science. Its not complete ...
1
vote
0answers
8 views

simple SAML php Drupal Initial Load causes partial loading of $user variable

I have a very weird issue where the $user variable doesnt load fully during an initial login into the site. I am using simpleSAMLphp login module which routes me outside of the drupal site to ...
1
vote
0answers
6 views

In an Organic Groups group, what permissions should be required to create content?

If I create an Organic Groups group node, MyGroup (nid=1234), and a content type, "Posts", that is set up for use as group content, what should the necessary permissions be to allow, for example, an ...
3
votes
1answer
22 views

Image field - 'Number of values' is not showing up in admin form

Something's very wierd with my existing Drupal 7 setup (current Drupal version, set up in early 2013, custom Zen Subtheme). When I create a new Content Type with a new Field Type "Image" this 'Number ...
2
votes
1answer
29 views

Make a relationship to last element of a Field Collection

I have a View with a relationship to Field Collection (with unlimited cardinality). I need this relationship to connect only to the last element (having the largest delta). How can I do this?
0
votes
0answers
10 views

drupal site on ISPconfig

As newbie I'm stuck... Am having problem with a drupal 7 site that has been running a good three weeks since last change and month before that. Today when connecting to it the only thing I got in my ...
1
vote
0answers
16 views

What happened to my new Block Region?

I've added a "header" block-region to the theme I am using (I am using the Visia Theme) and I've done this like so: In my visia.info file: regions[header] = Header and in my page.tpl.php file: ...
-3
votes
0answers
20 views

A way to compare two hashed passwords for equality? [on hold]

In drupal: Is there a way to compare two hashed passwords from the users table for equality? I want to analyse the variety of user's passwords. But I guess it is difficult to accomplish because of ...
0
votes
1answer
17 views

Hide Certain Values from an Apache Solr Facet

I have some Apache Solr facet blocks i'd like to filter certain values from. For example if a facet contains the values: Filter by letter: - a (6) - b (4) - c (2) I want to hide the facet "c" ...
2
votes
1answer
19 views

Is it possible to install new module without ftp in drupal 6?

I don't have the cpanel password of my hosting, I want to install new module through website. It's easy in D7, how can I do it in D6. Note: if you suggest any module, I can't install that too ...
0
votes
0answers
16 views

How do you create a local menu like in Drupal 7 panels?

How would you go about creating a local menu in a page structure like panels enable you to in drupal 7? A menu that is only shown on certain URL's?
-2
votes
1answer
19 views

How to safely split a module into several PHP files? [on hold]

I have a working simple module that I created. It contains several forms. As it is too long, I split it into several PHP files and made an include ROOT_DRUPAL/sites/all/extra_folder/form1.php, ...
1
vote
0answers
37 views

Ctools Modal on input change - not submitting

I am trying to load a modal popup when selecting an item in a select list. I can get the modal to launch with the new form inside but pressing save button does not do anything. Looking at the logs, ...
1
vote
0answers
20 views

Blank row when adding field collection item

I have a Content Type with a Field Collection that can have multiple entries. Whenever i click on "insert new element" i get instead a blank row with a "delete" button but no fields to fill. (site is ...
1
vote
2answers
29 views

Views and Taxonomy Filtering

I have a question regarding filtering in Views. My setup: • I have a content-type, for example: Cars • I have a few different taxonomy term fields attached to that node, something like: Car brand, ...
0
votes
0answers
8 views

Calendar Views issue

I'm using Calendar module and I have trouble with calendars implemented by this module. I want to create a Drupal 7 Calendar View which uses two fields (date type) from the same Content Type. The ...
-2
votes
0answers
34 views

Clone field collection row value in form on add another item

I am new to this community and I hope I will be clear in my support request. I have a custom form that uses nested field collection items as follows: > form > form_field_a > ...
-3
votes
1answer
29 views

Fetch data from database and show in custom module's form [on hold]

I used the following code in my module to build a form : $form['promo_type'] = array( '#type' => 'select', '#title' => 'Promotion Type', '#options' => array(t('Digital Coupon')), ); ...

15 30 50 per page