How to go about building my site?

Hi,

I would like to create a forum like list of nodes. The parent nodes are projects and the child nodes are questions posted related to that project. I have node called post a question, when a user clicks this, it should have a dropdown list of all the project nodes or should be allowed to create a new project and post question under that? How can I go about it?

Thanks,
Ramya

Create SQL View?

Hi,

I need to use a SQL view for a custom module. I have successfully created a table using the module.install file and database API, but I'm having trouble figuring out how to send a sql script that generates the view straight to the database (no Drupal database API) from the 7.x install file.

It's probably obvious, but I'm not that experienced. The terms 'drupal' and 'views' obviously don't return relevant search results. Can someone point me in the right direction?

Thanks in advance.

Mpapet

Override taxonomy term view behavior

Hi,

I have a taxonomy with a number of articles under each term and I'd like to alter the behavior of taxonomy term pages (/taxonomy/term/%term_id).

I have overridden hook_taxonomy_term_view_alter in my module, hoping to get access to the array of nodes that is printed on the term page.

Can't add new $variable in template.php

I'm trying to add a new variable for use in my page.tpl.php. I've tried the following in my template.php:

<?php
function mythemename_preprocess_page(&$vars, $hook) {
$variables['new_entry'] = 'new variable';
}
...

and adding in the page.tpl.php:

<?php print $new_entry; ?>

...flush the cache and get a "Undefined variable: new_entry..."

Webform

Hello Drupal Community!

I have a highschool theater festival website and i need a form of registration for the festival. Already googled a little and saw the module Webform. Played with it a little, so far all good. Made the following fields:

Team name:
Name of the play:

Team leader

>Name:
>Highschool:
>Mail:
>Phone:

Link node field to external url

Hi there.

I have a view block on my drupal site that lists all nodes of a specified content type. The content type consists of only the title and an extra field which is an image file (icon). The view displays only the icon field and not the title.

Now I want to be able to link either the entire node or just the icon field to an external url. This is so I can have a row of icons that would link to things like facebook, twitter, webmail and various other external sites.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x