All Questions

0
votes
0answers
6 views

How can I recover from a backup but include many changes from a dynamic site?

After the Drupageddon disaster, I've discovered that my backup plan is not sufficient. I have daily, weekly, monthly and yearly DB and file backups thanks to backup_migrate and backup_migrate_prune, ...
0
votes
0answers
4 views

Taxonomy view breaks when changing url

I have a taxonomy view that outputs to the a page example.com/food/toast that works correctly. It shows a list of nodes that have the term food within them. When I try to change the path to ...
0
votes
0answers
5 views

Anyone successful with installing devdesktop 2 on Windows 8.1?

I've used v1 desktop on my win 7 desktop quite well in the past. Now I want to setup a dev site on a new Win 8.1 laptop for someone. I keep getting permission errors, etc and cannot find any answers ...
3
votes
2answers
10 views

How can I lock out non-authenticated users from a whole taxonomy

I have a taxonomy hooking together different content types, everything is working as expected. However, I never want non-Admins to see the taxonomy pages, just names or other related fields in views ...
0
votes
0answers
10 views

Can't login with varnish enabled

I can't login from the front-end with varnish installed. Here's what I think it is issue sub vcl_recv { # Do not cache these paths. if (req.url ~ "^/status\.php$" || req.url ~ "^/admin$" || ...
0
votes
0answers
5 views

Ajax pager of views does not work when using in quicktabs

I have 2 views that are using pagers since they display lists of articles. Each view is within a tab of a quicktab. The views are set to use AJAX. Right now, I am able to move between the pages of ...
0
votes
0answers
10 views

Override the display of a default image - Drupal 7

I have a custom content type (my_content_type) with a an image field called featured_image. featured_image has a default value which is displayed when a specific image is not provided. For certain ...
0
votes
1answer
6 views

Dynamic Field Adition / Subtraction using FAPI

Goal Provide a user with a drop down menu defaulted to a value of none. Other options are the number 1 through 27. Based on the value select have drupal FAPI generate a fieldset that has anywhere from ...
0
votes
1answer
10 views

How do I set a range of views results?

I have 2 views in a page. The first view displays 3 articles and the second view displays a list of all the articles. The problem is that I get duplicated articles in the second view since it is ...
0
votes
0answers
6 views

Media module browser iframe opens with wrong domain

I have a site that is accessible from a subdomain and www. and when accessing from the subdomain the media module's file browser for file uploads/library opens using the wrong domain and so it fails ...
0
votes
0answers
10 views

How to make new post show instantly in a View Display for the author who created it?

I have this Views Display (profile page) that shows the author's content. However for some reason whenever an author post a content, it does not show instantly in his Profile Views. Yet when you check ...
1
vote
3answers
12 views

How do I create a content type that has another content type embedded inside of it?

I'm building a content type for a journal-type product. In each journal there are a number journal articles that vary from journal to journal, which have their own unique fields (like author, date, ...
0
votes
0answers
7 views

Node - Refererence Syntax for 'All Users'

I am building a SEO Function in Drupal 7 which is located in the template.php file. Currently, I require the syntax to reference all users in the conditional statement I have coded. Please provide ...
1
vote
1answer
23 views

How to show all template suggestions for a page without using Devel Themer?

For some reason the Theme developer module doesn't work on my site (whenever i activate it and navigate on my site it just shows a white page with written "Jump to main content"), but all I want to ...
0
votes
0answers
6 views

Drupal 7 GetLocations field geocoding off?

I am using this: https://www.drupal.org/project/getlocations The problem is, when I add a geolocations field to a content type, and type in, for example: Boulders Beach, Kleintuin Road, Cape Town, ...
0
votes
1answer
12 views

How to sql-sync database between two remotes which share the same host?

I've two remotes: @source and @destination. I'm trying to transfer the database from dev to test environment by using sql-sync: $ drush -vy sql-sync @source @destination But at the end drush ...
0
votes
0answers
10 views

How to block IP/user of failed login when user account is not active?

There are several topic for this issues and lot of module out there to control this scenario but my concern is only about non-authenticated user who are registered but not verified their email. By ...
-1
votes
0answers
17 views

how best store audio files using drupal 8 and export them using web service?

I would need advice on conception of a audio files database on drupal 8 available on a mobile client using web services. So far I have successfully created a RESTFUL export view containing json ...
0
votes
0answers
12 views

Why is drush accessing ssh differently?

When I log in with ssh things work differently then when I use drush remotely though ssh or when I log-in with "drush @remote ssh". Why is this? For instance, when I log-in with ssh the .profile is ...
0
votes
1answer
13 views

SQL command to remove hypens from data value

A commerce site that I am working on has products titles and skus in the format of DS-PC-CDJ2000. The client wants the each hyphen removing and replacing with a space; DS PC CDJ2000 There are ...
1
vote
1answer
11 views

How can I translate string templates in Metatag module?

I use Metatag module. How can I set different string templates for each site language? Or translate these templates.
1
vote
1answer
13 views

Form AJAX - Update button value via Ajax

I have a custom form in Drupal that ties into Entity-generating code. In essence, there's a button which should return an ideal Entity state (determined in a method that returns true or false). The ...
0
votes
0answers
12 views

Recently added localized taxonomy terms not appearing in secondary language

I'm running a multilingual site in two languages: English (default) and French. I have a Vocabulary with the Translation Mode set to Localize. Everything was working fine until I added some new terms ...
0
votes
0answers
6 views

Clean URLs with mutlisite only with suffixes (sub folders)

I have a multisite install with drupal 7.32. This is only operating off sub folders and not sub domains. Clean urls works as expected on the default site. The .htaccess files is untouched. I've ...
0
votes
0answers
13 views

ReCreated a Content Type but it does displayed

I seem to have run in to a problem when re-creating a Content Type, I had a Content Type called Gallery on my drupal 7.32 site, I then deleted it, but then wanted to create it again. When I re-created ...
0
votes
0answers
10 views

Send reminder to referenced users day before event date in cck date field

I have a node type called event. An event has a "Event Date" date field, and a "Staff" user reference field. I need to send a reminder emails to all referenced users, 1 day before the event date to ...
0
votes
2answers
21 views

How to redirect /user to /user/UID, for logged in users?

I run a social movement community site, which features links to the '/user' page, which either shows people the login/registration page, or shows them their user account if they're logged in. If ...
2
votes
2answers
37 views

Can't log in to Drupal websites after upgrading to OSX Yosemite

I have just upgraded my local machine to OSX Yosemite which has changed my Apache version from 2.2 to 2.4 and my PHP version from 5.4 to 5.5. When I visit both example.dev/user and ...
0
votes
1answer
13 views

Classify content in Views based on distinct values

Is there any elegant way to classify content in view, so that content with same value of some field gets the same value from some predefined list? For example: I have nodes with entity reference ...
0
votes
2answers
18 views

Is there a tpl.php file generated by Drupal 7 for custom content types

I seem to remember it being mentioned somewhere in the past that when you create a new content type in Drupal 7 that there is a corresponding node--[content-type].tpl.php file created somewhere by ...
-2
votes
1answer
28 views

How to expand TB Megamenu in opposite direction so it won't go outside of the site?

I am using TB Mega Menu for my drop down menu that has three columns with width: 665px and height: 335px. I want to do something like this: There are total 8 menu tabs. When I click on first 6 menu ...
0
votes
0answers
16 views

How to alter the fields available for commerce backoffice Quick Edit?

I have added a "waiting time" field to the orders in Drupal Commerce, so that each order has a waiting time. I would like for the field to be available using the Quick Edit options of Commerce ...
0
votes
0answers
25 views

Why my query fails with 'Object of class stdClass could not be converted to string' error?

From a custom module I'm trying to retrieve some a value from the db like this: $registration_data = db_query('SELECT n.state FROM {registration} n WHERE n.user_uid = :uid AND n.entity_id = :eid', ...
0
votes
2answers
24 views

How to group content in view by taxonomy terms?

I have a content type called blogs and in which I referred a Taxonomy term which have three different terms in it. Now what I want to achieve is three blocks with two recent posts for each taxonomy ...
-2
votes
0answers
18 views

how to create depented states, cities for all countries in D7 [on hold]

please help anyone.. i am now creating simple web form for registration in drupal 7. in this form i am already create country, state, city drop down field. It works smoothly for default country. ...
1
vote
1answer
123 views

How do I know when a render array will be processed properly?

I'm still getting to grips with render arrays and there similarity to FAPI arrays is a point of confusion. I'm customizing a node form using hook_form_alter and I wanted to insert some custom markup ...
0
votes
1answer
28 views

Why after installing Drupal 8 all links to the front page generates 404 error? [on hold]

After installing Drupal 8 I get access to the front page but all links generate a 404 error. Why clicking on any links gives 404 error: http://localhost/drupal8/ while everything works fine with: ...
1
vote
1answer
34 views

Why my website is showing junk characters?

My Drupal 6 website is showing junk characters like: <�h�3�>�C�o�m�m�e�n�t�s�<�/�h�3�>� �<�t�a�b�l�e�>�<�t�r� �b�g�c�o�l�o�r�=�'�#�E�7�E�7�E�F�'�>�<�t�d�>�P�o�s�t�e�d� �O�n�:� ...
0
votes
1answer
31 views

How to remove the submit button on the form included by drupal_get_form?

I have a hook_field_widget_form where I call drupal_get_form multiple times. Here is my code: foreach ($suppliers AS $supplier_id => $supplier) { $delivery_information = ...
0
votes
0answers
8 views

Avoid using go_to() in the submit function but return to a fragment of the page [duplicate]

I have a e-commerce site whose landing page lists available products. Now you can mix and match any of them - Am using checkboxes to let the user interact with the products. At the end of the form I ...
0
votes
0answers
14 views

modify password_reset or request_new_password?

When building a mobile app, and using services3 and/or my custom module, I have a specific requirement: I want anonymous users to be able to receive their password, in plaintext, in their email, if ...
1
vote
1answer
27 views

4095 Selectors Limit on IE. How to split the Drupal 7 CSS compressed files?

Here is my problem. Using Sass (from Zen theme) and on top of that Brunch, our compressed css file has over 4095 Selectors and is then compressed by Drupal (and still has over 4095 selectors in one ...
0
votes
1answer
13 views

Call apachesolr_mark_entity without node_save

I need your advise. I have this code: $nid = 5; //example $engine = 'mustang'; $node = new stdClass(); $node->nid = $nid; // node id $node->type = 'car'; // aka content type ...
2
votes
1answer
39 views

How to add custom fields to menu items

I've been looking at using menu attributes module for Drupal 7 to add an extra field to the menu navigation system. However this adds a new attribute to the attribute array and thus prints it out in ...
1
vote
0answers
8 views

Drupal 7 - how to add custom field token to webform default value?

I want to add node-field data into the web from block via tokes as with Webform 7.x-4.1 this should work. But tokens from custom fields are not available in a webform(block) ? [node:title] and ...
0
votes
1answer
23 views

Why my theme suddenly gone blue after an update?

After updating the Bartik 960 template on Drupal the homepage highlight each of the blocks on the page in blue. It looks like it's gone into a debugging mode, but I'm not sure how to fix it.
0
votes
0answers
24 views

How to add node/add page into my view?

I am trying to build my own content administration page and I want to use default drupal node/add page (that one with list of content types available to user) inside view. So far I have made view ...
0
votes
1answer
17 views

PHP not executing in non-Drupal HTML files in web root [on hold]

Our site has a bunch of small HTML files that correspond to URLs used in print ads. For example, we put "oursite.com/thing1" in one ad, and "oursite.com/thing2" in another. These HTML files contain a ...
-1
votes
0answers
7 views

nested field ccollection on node makes form editing bad experience in terms of performance

I have 3 nested field collections in a node,performance is too bad for form editing, i want to improve node form performance ..please help me with some solutions
0
votes
0answers
8 views

Is it possible to use context filters for Entity Reference View Widget?

I have a Class Content Type which users pay for, I use Entity Reference to attach the users whose payment has been made, and I'd like to use Entity Reference Widget to add them easily just creating a ...

15 30 50 per page