Page flip module - would love your help

Hi,

I came across this website (see link below). Is there a similar module in Drupal that I could use? I love this page flip.

http://tdsimmobilier.com/?mandat=2828&gclid=CLbfveC4y6gCFYYOfAod1hwc6Q

(not advertising by the way - just clicked on this site whilst dreaming of living in France!)

If you know of a module which is something similar and compatible with Drupal 7 I would love to hear from you.

Thank you.

Kind regards

Pam

$form_state['values'] vs $form_state['input']

Hello,

What is exact difference between $form_state['values'] and $form_state['input']? I use form with theme to build table from select controls and check boxes. I don't get modified values in $form_state['values'] in *_submit function, but I can get them from $form_state['input'].

1. Can I use $form_state['input'] ?
2. What I'm doing wrong that $form_state['values'] is not filled with changed control values?

Here is my form and theme functions:

<?php
function tblfr_table($form, &$form_state) {

$objs = db_query("SELECT * FROM test_tables");
$cl = array('a' => 'A','b' => 'BB','c' => 'CCC','d' => 'DDDD','e' => 'EEEEE','f' => 'FFFFFF',);

$form['#tree'] = true;

foreach ($objs as $obj) {
$form['objs'][$obj->id] = array();
$form['objs'][$obj->id]['name'] = array('#markup' => check_plain($obj->name), );
$form['objs'][$obj->id]['combo'] = array('#value' => check_plain($obj->combo), '#type' => 'select', '#options' => $cl, );
$form['objs'][$obj->id]['bool'] = array('#value' => check_plain($obj->bool), '#type' => 'checkbox', );
}

$form['checkbox'] = array('#value' => TRUE, '#type' => 'checkbox', );
$form['submit'] = array('#type' => 'submit', '#value'=>t('Submit'), );
$form['cancel'] = array('#type' => 'markup', '#markup'=>l(t('Cancel'), 'ticker/TKM1T'), );

return $form;
}

function theme_tblfr_table($variables) {

Expanded book section in 'Navigation menu'

Hello

Is it possible to achieve this without adding links manually?

Regards

Q

Delete cookies after user logout

I can't delete cookies on hook_user_logout, what I'm doing wrong?

function pwi_user_logout($account)
{
  error_log('Desconectando usuario...');
  setcookie('cookie_name', '', 1);
}

The function is called when user logs out because I can see the message in php_error.log

Image upload errors

If I make a content type with an image field, whenever I upload an image, I get the following error:

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'node_form' was given in drupal_retrieve_form() (line 771 of /home/content/89/6787389/html/xisam/includes/form.inc).
Notice: Undefined index: #node in comment_form_node_form_alter() (line 1190 of /home/content/89/6787389/html/xisam/modules/comment/comment.module).
Notice: Trying to get property of non-object in comment_form_node_form_alter() (line 1207 of /home/content/89/6787389/html/xisam/modules/comment/comment.module).
Notice: Undefined index: #node in menu_form_node_form_alter() (line 594 of /home/content/89/6787389/html/xisam/modules/menu/menu.module).
Notice: Trying to get property of non-object in menu_form_node_form_alter() (line 594 of /home/content/89/6787389/html/xisam/modules/menu/menu.module).
Notice: Undefined index: #node in menu_form_node_form_alter() (line 600 of /home/content/89/6787389/html/xisam/modules/menu/menu.module).
Notice: Trying to get property of non-object in menu_form_node_form_alter() (line 600 of /home/content/89/6787389/html/xisam/modules/menu/menu.module).

printing custom user profile field .php

Hi all - quick question.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x