Changes/modification of bookreview module...

I am looking for a freelancer that can modify the bookreview module to suit my needs. I have tried to modify it myself but have gotten bogged down with other things.

Basically, I want to convert this module into a resturant review module in which people can rate/review both the place as well as the individual dishes/drinks that they have while there.

Thanks, and if you are interested please contact me via email (chamb1 at gmail dot com)

Jim

first list element themed differently

I want to obtain in a page a list of nodes like this...

**************************
******* first **************
**************************
______________________________________

------------- 2 ---------
----------- 3 -----------
------------ 4 ----------
------------ 5 ----------
---------- n ------------

the newest in the list is themed differently. Is there a way to obtain this without hard-coding modules and without using PHPsnippets? Better using theme-like solution!
Thanks!

Dynamic select forms

I am trying to figure out how it would be possible to dynamically update the contents of select boxes (the drop down menus). Basically what I want to do is change the items available in one select box based on what is selected in another. For example say I had two select box, one for country and one for state. To start the country list is populated and the state list is empty and based on what the user chooses from the country list, the state one is filled accordingly. I am trying to figure out how to do this using Drupal 4.7.0 beta 3.

New Forms in 4.7 and conversions

In 4.6 I have a view 'data' that the user fils in. in validate I check it and convert it to a new 'unix' format that 'unix' format is stored in the database.

After loading this unix format is used to build the view.

// simplified example
function clubmember_form(&$node, &$error) {
  $output .= form_textfield(t('Birthdate'), 'bdate', $node->bdate, 60, 255, t('The member\'s birthdate (dd-mm-yyyy).'));
return $output;
}

function clubmember_validate(&$node) {
  if (!$node->bdate && $node->birthdate)
  {    
	// make sure 'bdate' is set correct when form is created on edit
  	$node->bdate = format_date($node->birthdate, 'custom', CLUBMEMBER_DATE_FORMAT);
  }
  
  if ($node->bdate)
  {
    $date = $node->bdate;
    if ((_clubmember_parsedate($date) != -1) && (strtotime($date) != -1)) {
      $node->birthdate = strtotime($date);
    }
    else {
      form_set_error('bdate', t('You have to specify a valid date.'));
      return;
    }
  }
}

function theme_clubmember_view($node, $teaser) {
  $output .= '<br />';
  if($node->birthdate) {
    $output .= '<div class="birthdate"><strong>'.t('Birthday: ').'</strong>'.format_date($node->birthdate, 'custom', CLUBMEMBER_DATE_FORMAT).' <span class="hideprint">('._clubmember_calculate_age($node->birthdate).' '.t("year").')</span></div>';
  }
}

I have a problem now in 4.7

When creating a new node the hooks are called after clicking 'preview'

bug party tomorrow -- olympics awards?

Dear all,
the bugfix party is tomorrow,
http://drupal.org/node/44182
and everyone can come because there is a 4.7 installed at ww.drupaldemo.org, with many thanks to toma.

how to change font size and background color of a node with one mouse click?

in each and every node/article, there is a symbol telling the users that they can switch the font size(usually to large, mid, small) and also the background color(say wheat, ivory, blue, silver) of the current node/article they are reading simply by one click on the symbol itself.

is this possible? thanks.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x