Drupal is up and running but how do I ...?

default forum module error

I just turned on the forum module and tried to click on the forum admin menu button and got this error

Fatal error: Call to undefined function: taxonomy_get_tree() in /home/biodiese/public_html/modules/forum.module on line 236

any clue whats happening, is the forum module corrupted? Am I missing a step?

KLemons

non-english content can't display , need manually switching

My site has English and Chinese contents
here is my demo site http://www.free4home.com/drupal

I switched to 'chinese traditional' , the primary links can change to chinese text
but when I clicked the chinese primary link it shown up english content , I have to click the 'chinese traditonal' link in order to shown up chinese content

are there something I was missed ??

Creating a shared account with locked password & email

On my new Drupal 4.7 site, I have several pages that I am protecting from viewing by anonymous users using the Simple Access module. I have the access on these pages set to authenticated users only.

I am only allowing user accounts to be created by the adminstrator (me). I have two user accounts for my site editors, and then I have created a single shared user account that I am going to allow anyone in a small group of trusted users to use.

Returning a Custom field in CCK

I have searched the forums, and have tried a few things but nothing seems to work.

How do I return a field in CCK? I created a custom field and need to use it in two areas, not just one. But I can't figure it out. I hope someone here knows :)

php code for using autocomplete with a CCK form

I am having a bit of trouble piecing these two parts of theming and autocomplete together.

I am implementing the theming of the actuall CCK for (part that user fills out - not the node output) by following the conversation in http://drupal.org/node/61481 which seems to work very well.

i am trying to integrate this feature with the built in autocomplete function in Drupal (following http://drupal.org/node/42552 )

I am trying to have auto complete work on a textfield 'field_school' and call the vocabulary from taxonomy 10. I am a bit confused as to how to mesh these two things together (i am trying this as a proof of concept really, i don't know php much at all)

so my question is where does the 'autocomplete' call go in the form field?

this is the code given in the cck autocomplete section,

<?php
        $form['taxonomy']['tags'][$vocabulary->vid] = array('#type' => 'textfield', '#default_value' => $typed_string, '#maxlength' => 100, '#autocomplete_path' => 'taxonomy/autocomplete/'. $vocabulary->vid, '#required' => $vocabulary->required, '#title' => $vocabulary->name, '#description' => t('A comma-separated list of terms describing this content (Example: funny, bungie jumping, "Company, Inc.").'));
?>

where do i fit that into my field call in the forms theme file?

<?php
 print_r(form_render($form['field_school']));
?>

Random Nodes with Views?

Servus, folks.

I want a floating block showing a random quote. I can't figure how to get a random selection from these CCK records called 'quotes' using the view.module... I found some notes that the former "random node" option was dropped in spring because of some new feature, but I couldn't find any further hint. The online help and some docs still say chosing "random node" should do the trick, but that's gone now.
So how do I select a random record from CCK using view?

TIA,

Norbert

Pages

Subscribe with RSS Subscribe to RSS - Post installation