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

how to create my home page and other pages as well as include graphics

hello to everyone, I am new to drupal being experimenting with it for a while. I have seen some really beautiful websites.
I need to create my website but i have not figured out how to create my home page or other ordinary pages.
Everything i try turns to look like a post instead of just a web.

Can anyone give me some tips on how to go about create the main pages in my site.
For eg. my home page, and how to get graphics included. Do i have to everything outside and then just import a folder into drupal and make a few configurations.

Make multiple joins between 3 MySQL tables

This query started initially with the adminblock module but also qualifies (I think) as a general support query.

What would like to do is figure out how to pull in data from three seperate MySQL tables that are related as shown below:

feedback.nid <---> node.nid / node.uid <---> users.uid <--->

The reason I want to do this is to display data from the feedback table, namely the contents of a field called "field_feedback_value" (yes, it's a CCK content type).

The way that I can see to do this would be to create a JOIN between the three tables. The code with which I originally began is, admittedly, from the adminblock module and looks like this.

      $result2 = db_query_range('SELECT n.nid, n.title, n.changed, u.name, u.uid 
        FROM {node} n 
        INNER JOIN {users} u ON n.uid = u.uid 
        WHERE n.moderate = 1 
        ORDER BY n.changed DESC', 0, $nlimit);
      $node_count = db_num_rows($result2);
      $node_count_display = $node_count > $nlimit ? ' ('. $node_count .')' : '';
      $items2 = array();
      while ($node = db_fetch_object($result2)) {
        $items2[] = 'Left by <b>' . check_plain($node->title) .'</b> on '. format_date($node->changed, 'short') .' - ' .' '. l(t('edit'), 'node/'. $node->nid .'/edit') .' | '. l(t('delete'), 'node/'. $node->nid .'/delete');
      }

I would like to show the contents of the "field_feedback_value" in with the others on that last line which I imagine to be pretty straightforward once I have the join sorted.

node_privacy_byrole edit permissions error

I am using Drupal 4.6 with the node_privacy_byrole module, and everything was working as it should have been.

I had a few user roles and some roles were allowed to edit certain nodes and some were not, which was great.

Drupal with Gallery2

I can't seem to get Drupal working with Gallery2...

procedure:
I installed drupal in webroot (see: http://edubricks.jksoft.nl/)
I installed gallery in webroot/drupal/gallery2 (http://edubricks.jksoft.nl/gallery2/)
I installed the module imageblock for gallery (is activated and shows up in the normal gallery)
I installed and activated the modules in drupal for gallery

Result:
Error: Unable to initialize embedded Gallery.

Search and custom module

Hi, i would create a custom module for insert my personal content.

How can i include the content of the sql table of my module in the search index? To make people that serches to output also results of content of my module

Thanks

changing user page title from user account to User account

Sorry, it doesn't seem like a big deal but it is really grating me. I'd like th chanage the title on domain.org/user from "user account" to "User account." Does anyone know where I can do this? I thought it would be this line $items[] = array('path' => 'user', 'title' => t('User account'), in the user module but that seems to ahve had no effect.

thanks

Pages

Subscribe with RSS Subscribe to RSS - Post installation