Access $form_state data in #pre_render / #post_render

Hi,
In my D6 module config form, built using system_settings_form(), I need to call other functions if certain config settings are changed. In my submit handler I can test if $form_state['values']['my_var'] is different from $form['my_var']['#default_value'] and this is working fine. However, when I call the external function, which uses variable_get() on the config items, the new values are not yet saved at this point.

How can I get link from view?

Hi.
I have view of 6 last news. Each of these 6 items has its title and short announce. I have themed these view as single div blocks and everything is ok, but I need to wrap each div with with link on each news, and I have no idea how to get link to material from each view item. To style my view I used Row style output of my view and I am working with $field variable. Thanks to all for interest to my topic.

SA-CONTRIB-2013-075 - Click2Sell - Multiple Vulnerabilities (XSS and CSRF)

  • Advisory ID: DRUPAL-SA-CONTRIB-2013-075
  • Project: Click2Sell Suite (third-party module)
  • Version: 6.x
  • Date: 2013-September-11
  • Security risk: Highly critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Scripting, Cross Site Request Forgery

SA-CONTRIB-2013-074 - MediaFront - Cross Site Scripting (XSS)

  • Advisory ID: DRUPAL-SA-CONTRIB-2013-074
  • Project: MediaFront (third-party module)
  • Version: 6.x, 7.x
  • Date: 2013-September-11
  • Security risk: Moderately critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Scripting

How to overwrite same lines getting printed in another files in drupal 6 custom module?

i have a custom module in drupal 6.It prints output in another file by appending the output at the end of that file ,when i am selecting my options in a drupal form,which has a dropdown also.When i am selecting the same dropdown option with the same set of options,it prints the same output in that file.I want to overwrite those similar lines in that file.How can i do it.Can you suggest the code changes ASAP.I have given my custom module code below.
Please help.

**roleuseradd.info**
name = Role add users
description = Allows roles to be added as users.
core = 6.x

; Information added by drupal.org packaging script on 2010-09-13
version = "6.x-1.1"
core = "6.x"
project = "roleuseradd"
datestamp = "1284408708"

***roleuseradd.module***
<?php
/*
* Implementation of hook_form_alter()
*/
function roleuseradd_form_alter(&$form, &$form_state, $form_id) {

if ($form_id == 'user_admin_new_role' || $form_id == 'user_admin_account'||$form_id == 'user_profile_form') {
$form['#submit'][] = 'roleuseradd_rid_submit';
}
}

function roleuseradd_rid_submit($form, &$form_state){
//print_r($form_state['values']);exit();
$role_name = $form_state['values']['name'];
db_set_active('mediawiki');
$sql="INSERT into wiki_user_groups(ug_group) VALUES ('$role_name')";
db_query($sql);
//Switch back to the default connection when finished.

Temporarily Disable Page

Hi everyone!

I would like to temporarily disable this Drupal-based site - that is, by displaying a splash page for all unauthenticated users. That way I can log in as an admin and browse the page normally.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x