Drupal Answers Weekly Newsletter
Drupal Answers Weekly Newsletter

Top new questions this week:

Is there a standard Drupal way to link to 3rd party configuration forms?

I am writing a custom module. On my module's configuration form I would like to provide links to relevant modules' configuration forms; e.g. the cron configuration form. Is there a standard Drupal …

forms navigation-links  
asked by Colin 6 votes
answered by Ayesh K 4 votes

Lime for Drupal 8?

Now that Drupal 8 is going to be based mostly on Symfony, is the TDD/unit-testing going to change too? For Symfony, Lime is the preferred testing-suite. Is that true for Drupal8?

8 symfony  
asked by berkes 5 votes
answered by chx 2 votes

What's the difference between !, %, and @ in replacement tokens?

I'm using the Message module on Drupal 7. For Replacement tokens, the help text says: A comma-separated list of replacement tokens, e.g. %title or !url, of which the message text makes use of. …

tokens  
asked by Patrick Kenny 5 votes
answered by Clive 6 votes

Letting anonymous users vote in a poll when using Varnish

I have a poll on my front page that I want users to be able to vote on, but anonymous users always just see the results and are never able to vote. I've been trying just about everything I can think …

caching varnish  
asked by Jason 3 votes

Unable to send email using "SMTP Authentication Support" module

I was working on a project where i used "SMTP Authentication Support" module to send emails. The authentications i provided were my personal gmail account details, It was working fine. Now when i am …

email  
asked by Syed Hashim 3 votes
answered by Prerit Mohan 1 vote

Conflict with db_set_active and variable_get

I am running a drupal multi-site system, with shared code and seperated DB. Each individual multi-site represents one continent and can have different language versions. What i want: I am working on …

multilingual db-api multi-site persistent-variables  
asked by larrydahooster 3 votes
answered by Beebee 4 votes

Session breaks Entity API

Whenever I try to use $_SESSION or variable_set it breaks the Entity API. It says "Fatal error: Call to undefined function entity_get_info() in …

7 entity-api  
asked by Firenter 3 votes
answered by Clive 1 vote

Greatest hits from previous weeks:

How do I display an external database data?

UPDATE: Jedihe was kind enough to put a video of how to do this: blip.tv/file/5151641 I'm trying to do something that I thought was simple, but I am having a lot of problems figuring out how to do …

views database external-data hook-views-data  
asked by Lostsoul 14 votes
answered by Jedihe 10 votes

Form Api File upload

I have the following code in my form. $form['new']['upload'] = array( '#type' => 'file', '#title' => t(''), '#size' => 40, ); On the submission handler, it returns the file name but …

7 form-api file-field  
asked by Lucy 4 votes
answered by zroger 6 votes

Can you answer these?

Are form data cached?

Is form date cached? I have an interesting bug on my site. There is a form for logged in users and it is used very frequently. Sometimes, after long time usage, some data doesn't change when it should …

forms form-api caching  
asked by gregab 2 votes

Using Feeds to import multiple languages

I've already imported a data set of about 1500 articles, all in English. I have another set of the data with matching nodeids but in different languages. Can I import a second file into Drupal 7 and …

feeds import localization  
asked by eternus 1 vote

autocomplete instant results in select options

I am trying to have my select options filled with autocomplete results. I have two fields, a textfield and a select(box). Autocomplete is working on my textfield. The thing that I am trying to get …

7 autocomplete  
asked by user1973842 1 vote
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3