Skip to main content

Drupal Answers Weekly Newsletter - Wednesday, December 30, 2015

Drupal Answers Weekly Newsletter

Top new questions this week:

Is there a good reason to prefer one method of installing over another?

Starting to play around with drupal 8. My first method of installing was installing drush8 (as mentioned in https://www.drupal.org/documentation/install/download): Get drush8: composer require ...

drush 8 installation composer  
asked by User 6 votes
answered by 4k4 0 votes

Display particular Image Style for image based on Role of User?

Using ImageCache Actions there are 2 different Image Styles - e.g. S1 and S2. What needs to happen: User A has Role Y and when s/he views a node/user profile should always be presented with S1 ...

7 images roles image-styles  
asked by penname 4 votes
answered by Nikhil Banait 0 votes

Have a Rules condition that will take the current time minus last comment posted time

Overall goal: If a node has not been commented on in a given time frame, send an email. How it could possibly be done: Have Rules look at the last time a comment was posted when cron runs. Then ...

7 rules comments  
asked by KyleRiggen 3 votes
answered by No Sssweat 2 votes

How programatically choose between multiple shipping methods commerce_shipping?

I'm using Commerce Shipping Postal Code Weight to configure weight based shipping very happily. However, I have cases where I need to use flat rate shipping for certain items. The issue is that I ...

drupal-commerce rules  
asked by nizz0k 3 votes
answered by nizz0k 2 votes

How to change taxonomy term path for table and grid view

I am using taxonomy term module. I have categories vocabulary and in term so many categories and I have created the view using taxonomy term. With two page first is in table format and another is ...

views taxonomy path-aliases pathauto  
asked by Ankit Gupta 3 votes
answered by No Sssweat 2 votes

Views, how to show x-items from each tag?

I wan't to create an view that show MAX:10 items of tags (football,basketball,tenis etc...) I want the view to show 3 items for each tag [football_article_1] [football_article_2] ...

views taxonomy  
asked by George J 3 votes
answered by argiepiano 3 votes

Translate a block configuration's form

How can i translate a block configuration's form made programmatically ? I'm using I18n for translations and here's the code of the block : function MY_MODULE_block_configure($delta='') { $form = ...

blocks translation  
asked by IsmaH 3 votes

Greatest hits from previous weeks:

"OR" condition in db_select in drupal 7

I am studying the new database layer, and I am glad it is changed to an OOP layer. I need to implement a query with db_select(). I found I can add a WHERE statement with $query->condition(), but by ...

7 database  
asked by zhilevan 36 votes
answered by zhilevan 13 votes

How to validate and submit a form using AJAX?

I've created a webform using the Form API. I'm using the #AJAX field option to add AJAX validation to each field. Is it possible to validate and submit the form using AJAX without reloading the page. ...

7 forms ajax  
asked by Camsoft 8 votes
answered by rocketeerbkw 3 votes

Can you answer these?

Redirect loop only hompage when redirect from http to https

I am trying to use Varnish + Pound, when using https everything is OK except only hompage has redirect loop. The others page are OK. Here is my rewrite rule in .htaccess file. Please help me with ...

redirect  
asked by Hoang Gia 1 vote

How to access phone contacts from PhoneGap in DrupalGap?

I'm really new to DrupalGap and PhoneGap. I have a question, how can we access the phone contacts in DrupalGap? I want to list the mobile numbers and other contact details in the application. Then ...

drupalgap phonegap  
asked by San 1 vote

Customizable combo select multiple and autocomplete

My client wants an input element for a custom form to behave like this: Dropdown checkbox multiple Autosuggest field So if we have a list of countries (Spain, UK, USA), it can display all the ...

7 dropdown checkbox autosuggest  
asked by Cesar 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

Comments

Popular posts from this blog

Drupal Answers Weekly Newsletter - Wednesday, December 31, 2014

Top new questions this week: Can I delete old hook_update_N functions? Suppose you have a custom module, and you have hook_update_N() implementations in your .install file. If you have old update functions, and all updates have run in all sites that the module is ... node-update hook-update-n   asked by AyeshK ...

[New post] 8th Class Result 2014 PEC Hafizabad Board

Muhammad Waqas posted: "PEC Hafizabad Board 8th Class Result 2014 expected date is 28th March, 2014 by PEC. Punjab Examination Commission (PEC) will announce 8th class result for Hafizabad Board soon and all the students of Hafizabad Board who are extremely waiting for the resul" New post on Jobs in Pakistan 8th Class Result 2014 PEC Hafizabad Board by Muhammad Waqas ...

[New post] 1st Year (11th Class) Result 2014 BISE Rawalpindi Board

Xaib Aslam posted: "BISERWP board Inter part 1 result expected on 10th October 2014 according our source. students of Rawalpindi board desperately waiting for 11th class result. 1st they upload the 12th class result and after some time they ready for showing the 1st year fin" New post on Jobs in Pakistan 1st Year (11th Class) Result 2014 BISE Rawalpindi Board by Xaib Aslam ...