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

Forum Container

Hi,
where can I find (which column/table in database) information telling that this term is forum container?
I know that in forum.module there is:

$containers = variable_get('forum_containers', array());

but I thought variable_get function is responsible to read sites/default/settings.php

i'm trying to convert e107 forum to drupal forum.

best regards

Views Module

Hi All,

Am having a few issues with the views module, my understanding of it. I know this is me not understanding the module full so forgive this if it is really stupid and simple.

I have a view which lists the category (taxonomy term) for nodes. This works fine, showing all of the terms required. When I click on a term, a page then appears showing all of the nodes and teasers for that term. What I want is a page that just lists the node titles that correspond to that term. Any help would be very much appreaciated.

Cheers,
Nick

CCK and Views

Hi All,

Firstly well done on a fantastic CMS and modules.

I have been developing a site where I need to a couple of custom content types, for which I have used CCK. One of the fields specifies a category(s) that the node falls into. I then want to use the views module to display a list of the categories which will then link to another page (views) which shows all of the entries in that category. However, I cannot figure out how to get the category field (check boxes) to be a link using the views module.

select list with ability to add new items

Hi,
I want users to have a select list in which they can add a new value if it is not already there. For profiles this is done in the profile.module, but what about the rest of the system? Where is the input type/validation etc handled globally?

How do I override a form validate?

I'm trying to alter the Drupal contact form. I've changed some info, and removed the subject box.

function phptemplate_contact_mail_page($form) {

$form['contact_information']['#value'] = 'My fancy new message.';
#unset($form['subject']);

$output = drupal_render($form);
return $output;

}

The trouble is, I get an error that there is no subject, when the form is validated. How can I override this validation for the $form['subject'] ?

Hierarchical nodes: possible?

Hi,
I was hoping to use Drupal to have hierarchical user data, so that it can have other nodes associated to it. Is it possible to do this in Drupal?

e.g A user creates node_A, and then creates node_B1, node_B2 which are associated with node_A. Also, node_A has limits on what types of nodes can be attached to it, and how many of each.

Is this going to be really hard in Drupal? Drupal seems to be completely flat. Does anyone know of any examples of node types that have sub nodes and restricted sub node specifactions (both type and number)

Pages

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