Skip to main content

Drupal Answers Weekly Newsletter - Wednesday, December 31, 2014

Drupal Answers Weekly Newsletter

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 6 votes
answered by Nick Wilde 4 votes

SQLSTATE[42000]: Syntax error or access violation (db_insert Function)

I try to build new module in drupal 7 I try to insert some data in some where inside the code it was working in many functions but suddenly when I try to do the following ...

db-query sql  
asked by Mohammad Alabed 5 votes
answered by Clive 8 votes

Change user ID of existing users

When I check my users list via by ID, I get IDs like these: User: admin Id: 1 User: second user ID: 11 User: another user ID: 21 I want them to be consecutive numbers from 1 to N. What's my ...

7 users  
asked by Karmacoma 4 votes
answered by David Thomas 3 votes

Get title of page in Drupal 8

When I get the title on some pages, I get an empty title like Home. The code I am using in my subscriber is the following one. class HistorySubscriber implements EventSubscriberInterface { public ...

8 page-title  
asked by rpayanm 4 votes
answered by zhilevan 0 votes

Theme Hook Suggestion for Drupal 5

I wonder if any still remember how to override a particular node in Drupal 5 ? I have tried out several ways but didn't work. Couldn't find such info any more on google. node-13.tpl.php ...

theming 5  
asked by Adamtan 4 votes
answered by Clive 2 votes

Form_state empty after ajax callback

Im struggling with my form since yesterday ... I can't find a way to retrieve values from form_state in my form function. heres my different pieces of code : function mymodule_menu() { ...

form-api  
asked by msizec 2 votes
answered by msizec 1 vote

How to create a view displaying a list of users who have logged-in user's preferences

How does one create a view that filters users so as to display those with preferences of the logged-in user (the one viewing them)? I'm using Drupal 7.34, Views 3. E.g. A user selects a preference on ...

views-filters contextual  
asked by EpicNet 2 votes
answered by NishantP 1 vote

Greatest hits from previous weeks:

Removing main content block on frontpage

I'm new to Drupal 7 and I'm looking to replace the frontpage's default main content block with an equivalent block generated from Views (gaining more control over the block in doing so). I have ...

7 views blocks  
asked by irishbuzz 12 votes
answered by marcvangend 18 votes

How to edit <head> info in Drupal 7 themes?

In Drupal 6 the entire page data was stored in page.tpl.php. Now, with Drupal 7, only the content that appears in between <body> and </body>. So how do you edit the HEAD info? Is it still stored ...

7 themes  
asked by coderama 8 votes
answered by Haza 12 votes

Can you answer these?

How can I set a menu item to be displayed only on specific pages?

I want to display a menu item only on specific pages. How can I do this?

menu  
asked by Iulian Boiculese 1 vote

Making the calendar stay on a specified month

I am using the FullCalendar module for Drupal 7. I need to set the calendar to stay in a specific month and not change months according to the actual current month. Im assuming that as soon as it hits ...

7 fullcalendar  
asked by sandboxer 1 vote

Issue with "edit" links on Menu pages

I have an unusual bug i've encountered during development of a client site -- it appears that for all Editable menus, when I click on edit, the site loops me into a Redirect Loop, pointing to a menu ...

7 menu debugging  
asked by Cameron Kilgore 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

[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 ...