Drupal Answers Weekly Newsletter
Drupal Answers Weekly Newsletter

Top new questions this week:

Is EntityFieldQuery really this inefficient?

I am an admitted newbie to the Entity API, but am trying to cure that. I'm working on a site that uses a number of content types with various fields attached to them; nothing fancy. So, when I want …

7 entities db-api entity-api  
asked by Jim Miller 7 votes
answered by kiamlaluno 5 votes

Flagging users as spam and giving a reason for doing so

I am creating a community site using Drupal7. The users of my site should be able to report other users as spam users. For this I am using the Flag module. I have created a flag called Report User for …

7 users flags spam  
asked by Shradha 4 votes
answered by kewal 4 votes

Migrate CSV source serial

I am using migrate to import Commerce Products from a CSV file. The CSV file doesn't have its own serial so I am using csvrownum but that obviously won't work if there are already products -- I will …

drupal-commerce migrate  
asked by chx 4 votes
answered by Damien Tournoud 0 votes

Make variables outside of node available to pathauto

I'm trying to port a website over to Drupal 7. The structure consists of locations which have an entity reference to a region which has an entity reference to a country: …

entity-reference pathauto url-rewrite  
asked by Chris Leather 4 votes
answered by greg_1_anderson 0 votes

webTestCase->drupalPost() or drupal_http_request()?

I'm writing a simpletest for a module that posts XML directly to a URL (it's on a closed system so there's no user or auth or anything at this point). I've manually tested getting the response code …

simpletest post  
asked by beth 4 votes
answered by kiamlaluno 1 vote

How setup year increment?

I use Date module in D7. And I create new field "decade" (field type is Date). Also in settings I add custom input format 'Y' (only years). There is increment for time (+/-30 minutes), but I need …

7 date  
asked by constcost 4 votes
answered by pico34 -1 votes

How were api.drupal.org and drupalcontrib.org built?

I have always found them useful and I may be looking to build something similar from another code base. I am guessing that there is something like a migrate from doxygen. But I would assume that …

migrate community-drupal-org documentation  
asked by Jeremy French 3 votes
answered by Damien Tournoud 2 votes

Greatest hits from previous weeks:

Views - Add a wrapper DIV around a Group

In Drupal 7, I have created a View that lists several fields. The fields are grouped by another field (the term ID of the field). The mark up looks like this: <h3>[Term 1]</h3> <div …

views  
asked by big_smile 2 votes
answered by Kristy Gislason 7 votes

Select fields from two tables using db_select()

I am using db_select() and I don't understand the syntax of the fields() method. I'm using a join() to join another table. So for tables t and n, I want to do something like SELECT t.tid, t.field1, …

database  
asked by user1359 3 votes
answered by Berdir 8 votes

Can you answer these?

How to make the translations for verification email template in drupal 7?

I used User verification module : http://drupal.org/project/user_verify for sending verification email to users and it worked perfectly. After that, i wanted to add the multilingual function for the …

7 email i18n  
asked by Stone Vo 1 vote

Add error message to commerce checkout form element

I created a simple module to add additional validations to the commerce checkout module checkout form but i don't know how to add an error message to the storage array so it can behave like any error …

7 form-api drupal-commerce  
asked by M.B.Asfoor 1 vote

Text Filter to replace links url with node title

Instead of using the standard "Convert URLs into links" text filter I would like to convert urls into links that use the node title of the link (if the link is a node). Is there a module that does …

links  
asked by MotoTribe 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. One Exchange Plaza, 26th Floor, NY NY 10006 <3