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

Help with if statement and alias paths

if (arg(0)=="alias"&&arg(1)=="alias1")
....

1/ How would i write the arg part if my path aliases were pathalias1.html and pathalias1/* ?
2/ Friendselectric uses a call to the variable style instead of directly writing the call to style.css. Where would i need to put this if statement (baring in mind i am using multisite and so other sites would need to be unaffected)

TIA

misc folder and admin/settings 406 error :(

misc folder and admin settings 406 error :( help me..

Logwatch over-reporting due to drupal chat http response

This is a new installation, and I'm helping out a friend in a pinch. I'm not drupal expert, but I can't find this one by searching, anywhere. I'm having trouble with chat in Drupal with respect to how it returns http response codes, and in turn, how that's handled by logwatch. This is a CentOS 4.2 server (similar to RHEL 4, release 2) running all standard packages. So that's php 4.3.9 and MySQL 4.1.12.

Here's the symptom. Basically, we get a daily logwatch report. Logwatch reads the logs and sends us anything it thinks is weird, along with some stuff that's just info. Since setting up chat in drupal, logwatch reports tons of these entries from the httpd logs:

A total of 11934 unidentified 'other' records logged
with response code(s)
GET /chatbox/text?nickname=jtrant&limit=30&lastrefresh=1142823531 HTTP/1.1 with response code(s) 2 200 responses
GET /chatbox/nicklist&forcerefresh=9317 HTTP/1.1 with response code(s) 2 200 responses
GET /chatbox/text?nickname=jtrant&limit=30&lastrefresh=1142787147 HTTP/1.1 with response code(s) 2 200 responses
GET /chatbox/nicklist&forcerefresh=2940 HTTP/1.1 with response code(s) 6 200 responses
GET /chatbox/nicklist&forcerefresh=6176 HTTP/1.1 with response code(s) 2 200 responses
GET /chatbox/text?nickname=jtrant&limit=30&lastrefresh=1142821774 HTTP/1.1 with response code(s) 2 200 responses
GET /chatbox/nicklist&forcerefresh=8505 HTTP/1.1 with response code(s) 2 200 responses

Using Taxonomy Navigation and Showing Relevant Content only in Terms

I am using the Taxonomy Menu module to supply my site with Navigation. I have everything set up properly using a few vocabularies with terms and sub-terms underneath them. When I post content to a certain sub-term it also publishes it on the parent vocabulary and parent term. Is there a way I can hide the content on the parent term and parent vocabulary so that only the sub-term will show that specific content?

Example:

Alumni Talk
- News
-- Making a Difference

Sharing users/passwords: a definite answer

Hello,

I manage the domain www.freesoftwaremagazine.com. We have about 13,000 registered users, and we are switching to Drupal.
We are also planning on starting another magazine.

We need to have the second magazine share the same users as the main magazine. By this, I mean login/pass
When a user registers for freesoftwaremagazine.com, s/he should also register for the other magazine, and vice-versa.

Email not sent when new users created by Administrator

I know this has been posted before, but I can't find a solution...
I don't let users register themselves, I register them myself as the Administrator.
Why isn't email being sent to them automagically with their login and password?
Ariel

Pages

Subscribe with RSS Subscribe to RSS - Post installation