asynchronously load info to div (Ajax)

I'm having success updating divs asynchronously (love that word). The URLs are converted to javascript calls by javascript itself, so the page works fine with javascript turned off as well.

converting 4.6 database to 4.7

Has anyone managed to successfully upgrade a reasonably large database from 4.6 to 4.7 yet?

If so can you pass on some detailed tips?

Thanks in advance for your help!

profile_listing.php

At the moment I have

<div id="profile">
<div class="profile">...</div>
<div class="profile">...</div>
<div class="profile">...</div>
<div class="profile">...</div>
....
</div>

where <div class="profile">...</div> is generated by profile_listing.php.
so far so good...

How do I submit a bug with code in it?

Hi,

I'm trying to do a follow up for a bug I started, with some code from common.inc in the submission, to explain what I found and what I did, but I cannot submit this follow up because every time I try I have the error message :
Terminated request because of suspicious input data

Anybody's got an idea how I can submit this follow up?

Thanks

Need Help with Tables and 4.7 Forms API

Hi guys, I'm trying to update a site I manage to Drupal 4.7-beta4. I've made a few custom modules, one of which implemented a form mixed into a table. The old code looked like this:

$db_hours_query = db_query('...query...', $node_data->nid);
while ($db_hours = db_fetch_array($db_hours_query)) {
  $user_select[$db_hours['row_num']] = $db_hours['uid'];
  $service_hours[$db_hours['row_num']] = $db_hours['service_hours'];
  $fellowship_hours[$db_hours['row_num']] = $db_hours['fellow_hours'];
  $fundraiser_hours[$db_hours['row_num']] = $db_hours['fund_hours'];
  $ritual_req[$db_hours['row_num']] = $db_hours['ritual'];
}

In here a select field is generated, but I'm switching to a textfield with 4.7's autocomplete feature, so it's not really relevant.
<?php
$header = array(t('#'), t('Member'), t('Service Hrs'), t('Fellowship Hrs'), t('Fundraiser Hrs'), t('Ritual Req.'));
$rows = array();
for($i = 1; $i <= $total_slots; $i++) {
$rows[] = array(
'data' => array(
($error[$i] ? theme('image', 'misc/watchdog-error.png', t('error'), t('error')) : t($i)),
form_select('', 'user_select]['.$i, ($user_select[$i] != 'select' ? $user_select[$i] : 'Select a Member'), $user_options),
form_textfield('', 'service_hours]['.$i, (($service_hours[$i] && $user_select[$i] != 'select') ? $service_hours[$i] : ''), 5, 5),
form_textfield('', 'fellowship_hours]['.$i, (($fellowship_hours[$i] && $user_select[$i] != 'select') ? $fellowship_hours[$i] : ''), 5, 5),

SF Bay Area Drupal Developers Needed

We are a startup building an environment for interesting utilization of the next generation of digital content. Currently looking for several full-time or contract engineers proficient with Drupal to help with the development process. You can send send a resume, with portfolio of prior Drupal implementations, to: employment@tagrio.com or chat with us (Alan Kaiser or Kris Sunkara) at the Bay Area meet-up on February 16th.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x