This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Tables/Calculations - Macros(? I think...)

I posted in wrong section before, sorry...I believe this is the more appropriate place.

I want to be able to have users to my site be able to copy/paste text that looks like this:
18/06/2006 Green Apple name1 2,534 AB
18/06/2006 Florida Ripe Orange name2 2,410 AB
18/06/2006 Blueberry name30 1,200 AB
18/06/2006 Green Apple name1 2,534 AB

Problems with location module and CiviCRM 1.4

Does anybody have the 4.7 or CVS version of the location module working with CiviCRM 1.4? If so could somebody explain how to get it working properly. I followed the location readme instructions for setting up the address fields in CiviCRM, but when creating or editing users through drupal, a record gets inserted into the location table but the address information never gets populated.

Bilingual site with i18n step by step, please

Hi there,

I've been trying to setup bilingual site (Lithuanian/English) for quite a long time, but no luck still.
I need Lithuanian to be default language, accessible under mysite.lt/ with Lithuanian menu. English content along with menu should reside under mysite.lt/en/. I know it's easy. But maybe I'm not smart enough to catch that. :)

Thanks for any help in advance.

path_access problem

path_access is installed and enabled on my site, yet it doesn't show up in any site menus, and there is nothing at the admin/access/path url. I was unable to find any documentation for this module. Does anybody know what the issue could be, or where I can find documentation for the module?

Book review module seems installed properly, but does not show up in modules listing.

I have followed the instrucitons with the module faithfully.
The three tables for the module are in the database (I checked with phpmyadmin).
The module files are in a subdirectory of the modules directory called "bookreview" (I even tried moving them to the modules dir, with no effect).
The permissions of the bookreview module files are the same as the permissions of other module files.
I'm using drupal 4.6, with the version of the module for 4.6.

I can't think of what else to try. The module simply refuses to show up...

Help needed upgrading to forms_api 4.7

function taxonomy_defaults_settings() {
  drupal_set_title("Default Terms");
  $types = node_list();
  foreach ((array)$types as $type) {
    $table[$type][] = array('data'=>"<strong>".node_invoke($type, 'node_name')."</strong>", 'style'=>'padding:5px;border:2px solid #CCC');
    unset($output);
    unset($subtable);
    $typevocabs = taxonomy_get_vocabularies($type);
    foreach ((array)taxonomy_get_vocabularies() as $vid => $vocab) {
      // is this vocab an active vocab for this node-type?
      $activevocab = (key_exists($vid, $typevocabs)) ? TRUE : FALSE ;
      $subtable[$vocab->vid][1] = form_checkbox($activevocab ? 'active&nbsp;' : '<i>active</i>&nbsp;', 'taxdef_'.$type.'_'.$vocab->vid.'_active', 1, variable_get('taxdef_'.$type.'_'.$vocab->vid.'_active', FALSE));
      $subtable[$vocab->vid][2] = taxonomy_form($vocab->vid, variable_get('taxdef_'.$type.'_'.$vocab->vid, 0), NULL, 'taxdef_'.$type.'_'.$vocab->vid);
    }
    $output .= theme('table', '', $subtable);
    $table[$type][] = array('data'=>$output, 'style'=>'padding:5px;border:2px solid #CCC');
  }
  $output = theme('table', array('content type', 'vocabularies and terms'), $table);
  return $output;
}

I can't believe that I can't upgrade this myself... No matter what I do to it I get one error or another. PLEASE HELP?!!!

I'm starting to think that maybe taxonomy doesn't work like it did in 4.6?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions