The dynamic content wasn't loading (except for the local tasks menu), but I fixed it by editing dynamicload_js(). Sorry I'm not very good at creating patches, so here's the code based on today's version of HEAD:

function dynamicload_js() {
  if (isset($_POST['href'])) {
    $response = module_invoke('pagearray', 'page', $_POST['href']);
    if ($response['status'] === FALSE) {
      switch ($response['value']) {
        case MENU_NOT_FOUND:
        case NULL:
          $result = array(
            'result' => FALSE,
            'message' => t('Item was not found.'),
          );
          break;
        case MENU_ACCESS_DENIED:
          $result = array(
            'result' => FALSE,
            'message' => t('Access denied.'),
          );
          break;
        case MENU_SITE_OFFLINE:
          $result = array(
            'result' => FALSE,
            'message' => t('Site offline.'),
          );
          break;
      }
    }
    else {
      $page = $response['page'];
      $extra = '<h1>'. $page['title'] .'</h1>';

      // Only add breadcrumbs, tabs, help, and status messages if we're not rendering into a block (e.g. if we're in the main content area).
      if (strpos($target, 'block-') === FALSE) {
        $extra = $page['breadcrumb'] . $extra;
        if ($tabs = theme('menu_local_tasks')) {
         $extra .= $tabs;
        }
        $extra .= $page['help'];
        $extra .= theme('status_messages');
      }
      $result = array(
        'result' => TRUE,
        'content' => $extra . $page['content'],
      );
    }
  }
  else {
    $result = array(
      'result' => FALSE,
      'message' => t('No request found.'),
    );
  }
  print drupal_to_js($result);
  exit();
}

I added $page = $response['page']; and changed
$response['content'] to $page['content']

Comments

jasonwhat’s picture

so do you have this working in 5.0 or 4.7 and with what theme? I don't see dyanmicload in the 5.0 download.

nedjo’s picture

Status: Needs review » Fixed

Thanks, applied.

I removed dynamicload from the 5.0 release because it's not ready yet for use. It's significantly improved in 5.0, but further theme support work is needed. I'm considering writing plugins for the module--for loading nodes (e.g., from 'read more' links), views, etc. But I'm more focused for the moment on the draft activeedit module.

Anonymous’s picture

Status: Fixed » Closed (fixed)