Using .install file with a feature

I have created a feature(user_password_policy) which sets configuration values for the password_policy module and the force_password_change module.  However, some settings are not picked up by strong arm so I need to make these changes with hook_update_N.  

Do I create an install file, user_password_policy.install?  If not, how can I do db updates in my feature?  

For the update function, do I call it 

function force_password_change_update_7100() {  In other words, do I reference the module I want to refer to in my feature?

Is it possible to change the background and text colour in the spotlight widget?

Hi guys,

using the spotlight widget, i was wondering if the text size, colour and the background colour could be updated via a setting or does it have to be changed in code.  It is currently defaulted to grey text with an off white background.

Hide block with a click

I have a Views block displaying a message.  I want to be able to hide the block with the click of a button once they have read the message etc.  Is there an easy way to do that?

Thanks for reading and any feedback.

Protected Node and Protected Pages Modules don't forward to specified nodes

I've been trying to add simple password protection to certain pages on our site.  The Protected Pages and Protected Node modules seem to work in similar ways, but when a correct password is entered, both just reopen the password page, instead of forwarding on to the protected node.  I'm confident that permissions are correctly configured.

Views filter to show nodes created since April 1 of the current year.

As per title, what do I fill in here to show only nodes that were published since April 1 of the current year.

https://imgur.com/DXHH8ol

Maximum function nesting level of '256' reached, Aborted

Why we get Fatal error: Maximum function nesting level of '256' reached, aborting! in bootsrap.inc

Does increasing max_input_var variable value cause this error?

We are not able to reproduce this error. No logs are logged in the system.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x