Skip to main content

Drupal Answers Weekly Newsletter - Wednesday, September 30, 2015

Drupal Answers Weekly Newsletter

Top new questions this week:

Redirect user to previous page after successful login

I have added flag links to content pages for anonymous user. When user clicks on that links he/she should redirect to user login page but after successful login he/she should redirect to last visited ...

flags  
asked by Vikram Singh 2 votes

How to add others libraries such as Zenpen to WYSIWYG profiles?

I would like to use an editor for Drupal like Zenpen. Is it possible to add that library (Zenpen) to WYSIWYG profiles?

7 ckeditor  
asked by Frouite 2 votes
answered by Queenvictoria 1 vote

Disable D8 cache for specific blocks

I would like to let pages continue to benefit from D8 caching mechanism for anonymous users except for a specific blocks which should update on every page refresh knowing that they are generated from ...

views blocks 8 caching anonymous-users  
asked by Amine 2 votes
answered by Berdir 1 vote

Using db_merge if key is ID type serial

I would like to know if there is any option for db_merge function to do UPSERT (update or insert) operation in table if key is "id" column of serial type (autoincrementing). I need to insert new row ...

db-api  
asked by Incredible 2 votes
answered by Mołot 0 votes

Redirect user page to user/edit and user/login

I want to do page redirect when user access /user page. When user anonymous user access the /user it should redirect to user/login page and when logged in user access the /user page it should redirect ...

menu user-profiles redirect  
asked by Harsha 2 votes
answered by zhilevan 3 votes

How can I return literal JSON from a node as a JSON object in views json?

I have a content type with a field called output. This field will contain JSON. I want to output this field as JSON using Views JSON (in Views Datasource). The problem I'm encountering is views ...

views modules services json  
asked by user3408649 2 votes
answered by cleaver 0 votes

How to skip specific tables with drush sql-dump?

I have a drush config file ~/.drush/drushrc.php: if (!isset($options['structure-tables']['common'])) { $options['structure-tables']['common'] = array( 'cache', 'cache_*', 'history', 'search_*', ...

drush backup  
asked by dark_kz 2 votes
answered by tenken 0 votes

Greatest hits from previous weeks:

Drupal SA-CORE-2014-005 - How to tell if my server / sites were compromised?

I just updated all my sites using the patch method of resolving the Drupal SA-CORE-2014-005 exploit. I just read reports that just yesterday there is someone from a Russian IP infiltrating drupal ...

7 security  
asked by duckx 30 votes
answered by JustinChev 1 vote

How to add Jquery plugin to Drupal?

Should I just paste the code in the main template file, or is there any other recommended way of attaching new Jquery plugins in Drupal 7?

javascript  
asked by Vafello 13 votes
answered by Alex 12 votes

Can you answer these?

Drupal View Show Webforms NOT Submitted By Logged In User

I'm hoping someone can help me out with this because I have been stuck on this for days... I have a bunch of webforms that each user needs to submit. I figured out how to show a view of the webforms ...

views users webform views-contextual-filters views-relationships  
asked by Chad 1 vote

hook_install_tasks() in `drush site-install`?

Does anyone know of a way to add install tasks to drush site-install? I have already added a hook_install_tasks() my custom installation profile, but that does not make it into drush when I run drush ...

drush  
asked by classic_mgbellaire 1 vote

How to perform COUNT aggregate function using hook_views_query_alter()?

I have fields post_date and nid in my view and I need to get count of nid upon group by post_date. Using hook_views_query_alter(), function custom_views_query_alter(&$view, &$query) { if ...

views hook-views-query-alter  
asked by siddhu151dj 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 ...