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

How do I...

There seems to be a problem with the who is online module. The problem is, Its always showing as if there are 2 guests online but it only says one guest is online before I log in but there are no guests online only me! Can anyone help?

Disable Navigation for Anonymous users - show login box in its place

I like how http://www.threadwatch.org setup their user system...

Their login box is in the top right corner and when you login - the block is then replaced by the "Navigation" block - the block where the user's username is printed out and their relevant account settings links are displayed.

I tried to look at other solutions but they don't quite match the way the site above does it

Center site logo in all browsers

Hi all

I managed to make my site logo centered in firefox using

  <?php if ($logo) : ?>
  <table align="center"><tr><td><a href="/<?php print url() ?>" title="Index Page"><img src="/<?php print($logo) ?>" alt="$
  <?php endif; ?>

in my theme page.tpl.php file. Sadly, this trick doesnt work in ie :(

Any ideas? A simple < c e n t e r > tag doesnt work.

Thanks

Charly

Multisite again

Hello,

I've been searching and reading Posts regarding the Setup for a Multisite sometime now, but don't seem to understand the Basic principle of this whole thing.

I am currently running some sites on my shared hosting account. My aim is to administer these sites under one admin interface, e.g. with one codebase.

Currentlxy I am running these sites with phpwcms.

I've understood the following:

I install drupal on my Hosting account.
For every site I want to add, I put subfolder in the drupal/sites Folder.

example

drupal/sites/default
drupal/sites/anothersite.test
drupal/sites/anothersite_1.test

In the subfolders there has to be a unique settings.php for each site.

Now it gets complicated:

- do I have to set the base_url in the subfolder to
$base_url = 'http://anothersite.test';

- do I have to set the prefix like this:
$db_prefix = 'site_';
$db_prefix = 'site_1_'; etc.

- what address do I have to write in the Browser?
http://drupal.test/anothersite or
http://anothersite.test

- do I have set up vhosts in the apache config ( pretty hard on shared hosting account)

- do I have to use a .htaccess or symlinks? There's nothing in INSTALL.TXT about .htaccess or symlinks.

Please excuse the basic approach of these questions but I'm lost.
All the discussions surround about sub domains, but I don't want to use Sub domains.

Passing argument to a page node type

Hello everyone,

I am a new user of drupal.

Here is my case :

I have created a page node with php code. It connects to a database to retrieve data and display them. I would like to call this page with specific arguments so the script can display data that the user is looking for.
Question : how can I pass the arguments to this page. Is it possible throuhg the weblink (http://www.myweb.site/dev/?q=node/1[my arguments])
or does it exist another way ? or is it better to implement a module ?

drupal's crash

HI.

This is serious -
I can login as any user:

warning: array_keys(): The first argument should be an array in c:\domains\fatfish.co.il\wwwroot\headline\includes\menu.inc on line 916.

warning: Wrong parameter count for min() in c:\domains\fatfish.co.il\wwwroot\headline\includes\menu.inc on line 916.

warning: array_key_exists(): The second argument should be either an array or an object in c:\domains\fatfish.co.il\wwwroot\headline\includes\menu.inc on line 920.

any idea would be appreciated

Pages

Subscribe with RSS Subscribe to RSS - Post installation