Having problems installing Drupal? See the Installation Guide for more information.

Understanding what Drupal is and how best to use it

Hi,

I just stumbled onto this site/software (thanks slashdot!) and am trying to get my head around what exactly Drupal is and how you can use it? Besides the textbook description I'm not sure about something:

-is it a portal?
-is it a cms system?
-is it knowledge base system?
-is it a wikki?
-is it a combination of any/all of the above or can become one?

Dark & Light rows?

Well, I did it! I have Drupal installed and configured (for the most part) on my site. PSYCHE!!!

I have a couple of minor issues, well, not issues, just little quirks I want to work out -- mainly with the layout in the forum area.

1-- I would like the fourum listing to have dark & light rows alternating like it does here on the forum & topics pages. I can't seem to figure that one out. Can someone tell me how to make the rows alternate dark & light. (I have dark & light defined and working on my "recent posts" page.)

installation/config ?

Hello,
I'm trying to install drupal (win2kserver/apache2.0/php4.2.1/mysql3.2)
i extracted it, created the database, created the user, modified the config.php) I can connect to the database, when i go to the link:
http://www2.thenelsonfamilyXXXXXXX.net:85/drupal/index.php
it brings up the first page A-OK at this point.

Help w/ Installation Please

Hi,

I have tried to install srupal 4.2.0 but I get this error whenm I first try and access the page.

Warning: mysql_connect(): Access denied for user: 'drupal@localhost' (Using password: YES) in /home/derek/www/drupal/includes/database.mysql.inc on line 12
Access denied for user: 'drupal@localhost' (Using password: YES)

Can someone please help me?

Thanks, th3gh05t

Quick reference to displaying blocks based on page or user or role

As a newbie to drupal, I found this info in various places on the forum, but here's a quick reference on how-to-do-it, rather than a philosophical discussion :)

RESTRICT A BLOCK TO ONLY THE FRONT PAGE

create the block as a PHP block with the following code:

if ($_GET["q"] == variable_get("site_frontpage", "node")) {
  return t("this block only appears on the front page");
}

RESTRICT A BLOCK TO ONLY A PARTICULAR ROLE

print_r($user) is a handy command to use if you want to see all the attributes besides role that you can use here.

Create the block as a PHP block with the following code:

global $user;

$role = $user->role;

if ($role == "full administrators") {
  return t("This content will appear to members of role: $role");
}

RESTRICT A BLOCK TO A PARTICULAR PAGE

Surf to the page, note the contents after the q= line

Create the block and save it

In the path for the block on the main block page, enter the path noted above with a leading slash.

For example, the news page would be: </import>

node 9 would be: </node/view/9>

You can use a regular expression here if you would like.






These all work fine in my 4.2 portal without clean URL's. Comments appreciated.

install database probs

WinXP
Apache
php 4.2.2
mysql
drupal 4.2.0
Foxserv install package

I can't get Drupal loaded when I go to http://localhost. Everything else (apache, php, mysql) seem to check out. Perhaps I have the drupal folder in the wrong place? I put it in the www folder in foxserv/mysql. So I have been tinkering with the conf.php to set the database url to the localhost url, but to no avail. HELP!
TIA,
Bob

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal