Questions tagged [7]

Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.

6,294 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
16 votes
0 answers
2k views

How do I setup Chained fast backend, Varnish, APCu and Redis cache bins in settings.php?

On a Debian Jessie server (Nginx, PHP 5.6, Zend Opcache), I installed Apcu, Redis, Varnish. I also installed APCu, Chained fast backend, Redis and Varnish modules. In order to make these caching ...
user avatar
  • 3,432
10 votes
0 answers
571 views

How do I go about migrating books using MIgrate_D2D?

I've had to rebuild my sites recently due to a hit on the Drupalgeddon bug I thought I closed. I've been trying to migrate everything in easily but it doesn't seem to want to for whatever reason. Now,...
user avatar
  • 375
10 votes
3 answers
2k views

LIKE clause not working in hook query alter

I'm trying to replace the default search with a LIKE clause in Drupal 7. I tried to alter the query according to Adding an OR condition to an existing query: function MYMODULE_query_node_access_alter(...
user avatar
  • 101
8 votes
2 answers
3k views

How do I enable the "print PDF" link on only a specific page?

I have enabled the print module and configured the basic page content type to show a PDF print link under the basic page settings. On the print module's Links settings page at admin/config/user-...
user avatar
8 votes
2 answers
2k views

How to setup event registration and paypal payment?

We have events and we take registrations for them. Entity Registration module is installed for that purpose and it's working great. Now, since those events are paid events, we want to implement PayPal ...
user avatar
  • 407
7 votes
1 answer
2k views

How to set up Authcache module with Varnish and ESI?

I am trying to set up Drupal 7 with Authcache beta 2 and Varnish 3.0 but I can't get the ESI blocks working. Varnish it self seems to work well. I am using the example.vcl from sites/all/modules/...
user avatar
  • 1,998
6 votes
1 answer
1k views

How to add multiple products to cart at the same time with attributes

I have different view blocks that display multiple products on the same page, each product has their own attributes such as product bundle and custom line item, these serves as an option set / ...
user avatar
  • 439
5 votes
1 answer
131 views

Programmatically Setting Content Ranking Factors For Drupal Search

I've added a dropdown to Drupal search page interface. I would like for users to be able to select this control to sort results according to Date or Keyword Relevance. I'm able to get the dropdown ...
user avatar
5 votes
1 answer
2k views

jquery date picker in views exposed filter changes the date values

I have a node type "tasks" and created a view so that current logged in user can see his/her assigned tasks. I have used a "time ago" formatter in the field "deadline" which shows the remaining time ...
user avatar
  • 51
5 votes
2 answers
2k views

Displaying the contents of a document file (doc, docx, etc.)

I'm looking for a way to display the contents of an uploaded document file such as a .docx file. In Drupal 6 I used the iPaper module which did the trick as all I needed was api code to connect ...
user avatar
  • 105
5 votes
1 answer
173 views

Grouped exposed filter is not available

I'm trying to create a filter within a view, which has multiple ranges; i.e. 0-99 100-399 400-699 700-1000 I have seen this before when you Add filter criteria, you can select grouped exposed ...
user avatar
  • 341
5 votes
3 answers
867 views

Why Content Path cannot be used to sort a view?

Using Views with Drupal 7, how can I use the content path to sort a result table? I have node title, created date and path as fields for a view. The first two fields have the checkbox to make them ...
user avatar
  • 391
5 votes
2 answers
1k views

Views not showing date field in proper time zone

I created a node type with a date field (from the date module). I list nodes of this type in a view. The problem I have is that the date values being shown by the view are in UTC (ie as they are ...
user avatar
  • 1,266
5 votes
2 answers
2k views

Passing dates or date ranges into a view as arguments

Drupal 7, Views and Date modules installed. I have a view on a content type with a date field (timestamp, but I can change it if necessary) When I use it in filter criteria, I have no problem to use ...
user avatar
5 votes
2 answers
4k views

How to translate taxonomy terms displayed via an exposed filter in views?

I'm using the Views, i18nviews, and Entity Translation modules. All of my terms have already been translated using Entity Translation. In views displays, the translated terms appear in the correct ...
user avatar
5 votes
1 answer
285 views

How to setup year increment?

I use Date module in D7, and I create new field "decade" (field type is Date). Also in the settings, I add a custom input format 'Y' (only years). There is increment for time (+/-30 minutes), but I ...
user avatar
5 votes
1 answer
563 views

Date Module / Date Repeat: Hourly or Minutely Recurrence?

I'm setting up a Drupal 7 based calendaring system ,and the Date module has been super amazing; it does pretty much everything I need out of the box. However, correct me if I'm wrong, but it doesn't ...
user avatar
  • 51
5 votes
3 answers
2k views

How to set a mini panel to display node fields?

I want to load node fields into a mini panel, but when I do what I think that I need to do, the mini panel (= MP) is invisible (because the fields aren't displayed, I guess). So far I have: Added ...
user avatar
4 votes
0 answers
153 views

How do I get a true panels page clone?

Any panels experts here? I want to clone a panels page with fieldable panels panes on it. I can use the clone option in the page manager. It creates a new page at a new url but the FPP are just ...
user avatar
4 votes
2 answers
129 views

Make node a revision of another node

I have migrated content from a non-Drupal system to a fresh Drupal site. Some of the content nodes however should in fact be revisions of another node, not a unique node of themselves. Is there any ...
user avatar
4 votes
0 answers
468 views

View exposed filter block no alter form with ajax

I am trying to filter out the no results items in my exposed filters. (I know i can use selective filters, but in this case i can't use them). So i alter the filters with form_alter, check which ...
user avatar
  • 333
4 votes
0 answers
836 views

Using multiple keys on multi row db_merge?

I am using db_merge (mysql) for getting jobs into my queues. I therefore have each task only once (the job is quite intensive and many things can trigger the task to be queued, so want to avoid ...
user avatar
  • 403
4 votes
2 answers
223 views

Unexplained change in module weight in registry table caused site error

EDIT: August 6, 2015 It turns out that this was actually caused by incomplete data of module_implements cached in the database by Drupal which caused a hook_init to not be called. We changed the ...
user avatar
  • 91
4 votes
1 answer
108 views

Routing to production and testing Drupal installations on shared hosting account

I am having issues with routing users to different domains on a shared hosting account. Each of these domains are separate Drupal installations with separate databases. site is intended to be the ...
user avatar
  • 119
4 votes
2 answers
2k views

Problem attaching files to nodes with Services

I'm trying to attach files (images) to nodes via Services 3 from an external app using JavaScript. From what I understand (and doing) is: 1) Create a node posting JSON to my endpoint domain.com/api/...
user avatar
  • 125
4 votes
1 answer
124 views

Why Can't Panels Select My Organic Groups?

I'm trying to create panels that are visible or show up on pages specific to certain groups. I'm using Organic Groups 7.x-2.7 on Drupal 7.34. So, our company's technicians would only see panels ...
user avatar
4 votes
0 answers
424 views

currency field and currency switch with currency module

I installed the Currency module expecting to setup a currency field and a currency switch. Like switching the language, I'd like to switch the currency (of a field). The currency should switch ...
user avatar
  • 449
4 votes
1 answer
675 views

Import a node with its path alias

I'm using ne-impot and ne-export with drush for importing and exporting nodes. When exporting, as part of the uuid module, the URL alias is included with the export. However, when importing a node, ...
user avatar
4 votes
3 answers
4k views

Node add form alter & submit custom field

I have a content type "event" with a field called "field_pricelist". It's a dropdown with no values, I add the values when I alter the form. The values come from a custom table (install / schema) in ...
user avatar
4 votes
1 answer
796 views

How to use url alias in views for taxonomy terms?

On a Drupal 7 site with pathauto installed I'm using a view to show all taxonomy terms of a given node. The terms are linked to the term's page. The problem is, that the path of those terms does not ...
user avatar
  • 1,998
4 votes
2 answers
4k views

Programmatically modifying global custom text field in view

I have a (Apache solr) view with a Global: Custom text field in addition to my normal fields. This field is meant to get value from a custom function/existing field/passing an existing field to a ...
user avatar
4 votes
2 answers
435 views

How to Auto Publish nodes based on set interval?

I have nodes being generated from a Feeds import on a periodic basis, however when they are imported I would like them to be queued to be published on an hourly basis (or x minutes) I have looked at ...
user avatar
  • 478
4 votes
1 answer
387 views

How to link a view to the current language with a no results fallback to the default language?

I've already figured out how to link views to content language by the Content: Language filter. I know that I can create a second view to use as the No Results fallback and use the Global: View area ...
user avatar
  • 141
4 votes
2 answers
3k views

Using Media, views, and colorbox to create a image gallery

Currently I am running in D7 with the following modules: Media 7.x-2.0 Views 7.x-3.7 Colorbox 7.x-2.4 I am trying to create an image gallery using these modules with the following steps. Please ...
user avatar
4 votes
2 answers
1k views

Display a grid view without border columns

I'm trying to display a specific number of products in a e-commerce drupal site in the front page. I would like to use a display as in my theme's demo : http://demo.morethanthemes.com/tophit/ I ...
user avatar
  • 151
4 votes
1 answer
1k views

Using a View in a tooltip for an image map hover link

I have a imagemap with various tags, it works well in my Drupal instance, I can click on the various areas to get to my pages. Now I want to hover one area and display a tooltip with information ...
user avatar
4 votes
1 answer
2k views

How to import nodes and their translations from a csv using Feeds?

Is there a way to provide the original and translated values of the title and the body in a csv for example, and the Feeds module to produce the translated nodes automatically (and synced with the ...
user avatar
  • 1,933
4 votes
3 answers
1k views

Get field_collection values in field template

I have installed field_collection and have a collection called field_contact, each entry of which has a field called field_contact_url I'm trying to customise the display of that field by overriding ...
user avatar
  • 203
4 votes
1 answer
692 views

Unlimited field collection pagination in node edit page

In my node I have a field collection which is set to unlimited. How to enable pagination for node edit page, where all items from that field collection are displayed? For display there are couple ...
user avatar
  • 153
4 votes
2 answers
830 views

Contextual filter with hierarchical taxonomy terms

Using contextual filters, I have created a view which shows a page of users at us/california, based on a taxonomy I have made of locations. This taxonomy is hierarchical, though, so when the user ...
user avatar
4 votes
1 answer
264 views

Is there existing integration between the Salesforce and Location modules?

I'm using the Salesforce module in Drupal 7 and am attempting to create a mapping to one of my content types that contains a Location module field. After looking at both modules, I don't see an ...
user avatar
  • 141
4 votes
3 answers
1k views

Different view page based on taxonomy depth?

I'm wondering if there is a way to show a different view (or view part) based on the current depth of the term level? Example I have a bunch of categories and subcategories. For the categories I want ...
user avatar
  • 1,244
4 votes
0 answers
481 views

Pulling WordPress Featured Images using Aggregator to Display Them

I'm using Drupal 7's Feed Aggregator to pull WordPress posts. I have a block with a view displaying these posts (3 of the most current rss feed items). My question is how can I pick-up WordPress's ...
user avatar
4 votes
2 answers
4k views

How to trigger a form and pass variables to $form_state with jQuery?

What is the way to trigger a Drupal form via JavaScript, and pass new values to $form_state while doing so? I have a main form, which has an element that triggers a jQuery UI dialog with a form in it. ...
user avatar
4 votes
1 answer
78 views

How to include any view into the same panel

To reduce duplicated panel pages for every view I want to display, I'd like to re-use the same panel (the same layout) for several views. The problem is that I can't find how to include ANY view in ...
user avatar
4 votes
2 answers
1k views

Upload file and fill in fields in one step; or trigger a rule when a file is uploaded

I want to make use of the Media module and the File entity module to upload files, in particular images, to my site without having to attach them to a node. Solely uploading images works like a charm, ...
user avatar
4 votes
3 answers
842 views

User contributed image gallery, per node

Working on a new Drupal 7 based site. Put together a few sites back in the 5 days, but lots has changed. I'm looking to allow users to upload images to a particular content type, and to show those ...
user avatar
  • 141
4 votes
1 answer
105 views

How to set up a question/assignment pool for a course website?

I have done quite a bit of Drupal work in the past, but am a bit stuck on this one. The basic idea is that the site will offer 1-on-1 tutoring to students. There will be there levels of users: ...
user avatar
  • 195
4 votes
2 answers
2k views

Load an AJAX submission enabled webform using another AJAX call

I am using Javascript/AJAX to call a path defined in a custom module which loads existing node content for display. i.e. you are at: /custom/path and it makes an AJAX request to /custom/content ...
user avatar
  • 41
4 votes
3 answers
2k views

Redirecting a registration link in logintoboggan

I've got a register link and a log in link that is augmented by logintoboggan. All I want to do is redirect the register link from the user account form page to a new page I've just made. It seems ...
user avatar

1
2 3 4 5
126