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

front_page and search problem

I can't get search to work from front_page. Neither for logged in nor not logged in users. It is probably something simple I overlooked but what?

2 problems (MASS MAIL) and...

Hi,

I am running Drupal 4.7, I need a mass mail script to send out an announcement to all my member, I searched but havent found any for 4.7.

2ndly go here, http://www2.indiacompetitions.com:82/?q=user/1
I cant view the pic, how do i enable it?

thanks

bad page display after form action

Hello !

I'm using Drupal 4.7.0.

I have created two pages. They are identified by node/2 and node/3. I have created a block on the right sidebar. I have created two menu items whose parent is this block. Menus item 1 has a node/2 path and menu item 2 has node/3.

In the node/2 page, I entered PHP code which create page content using a
" with a select box having onchange="document.location.href='". $_SERVER['REQUEST_URI']."?id=... property.

Apache Directive for Active Directory Authentication

The Webserver Auth is an excellent tool for using an Active Directory server for single-sign on in drupal. Unfortunately, I've had limited success in setting up the webserver authentication.

There is a module (Apache 2.0, Apache 2.2) for authenticating against an LDAP server, but I haven't been able to correctly set up an Apache directive to completely authenticate against our Active Directory server. Microsoft seems to recommend Kerberos authentication - is that easier to setup than LDAP authentication?

Some nodes have discussed AD integration to some extent [1]. While this is more of an apache oriented question, I thought it would be useful for other drupal users to have an example of a working Apache AD lookup directive. I don't know too much about AD, I've just been playing off of examples I've found on the net.

The directive I'm using is able to query our AD server, and the AD server log indicates that a correct username/password were found in the server, but the Apache server returns an Error 401, Authentication Required (This server could not verify that you are authorized to access the URL) and the Apache error log states that "auth_ldap authenticate: user joeshmoe authentication failed; URI / [ldap_search_ext_s() for user failed][No Such Object]".

Why does Drupal not have profile search as standard?

For such a fantastic CMS system I find it crazy that the search is limited to simply page content and username. Why bother having profile fields that can be added if there is no functionality for other members to search and cross reference them?

In fact I would have thought having page / username / profile as optional selectable items to be included within the search indexing a very valuable and useful feature.

Is there a module available that fixes what I feel is a gaping hole in functionality :)

Count rows of a table in the database of drupal

Hello,
Do you know how I can count the number of rows in a table of the database of drupal? I try:

$query_rows="SELECT COUNT(*) FROM games";
$queryResult_rows = db_query($query_rows);
while ($links_rows = db_fetch_object($queryResult_rows)) {
$out.=t($links_rows->COUNT(*); //line 58
}

But this doesn't compile because: arse error: syntax error, unexpected '*', expecting ')' in /var/www/drupal-4.6.5/modules/id_games.module on line 58

If I try: t($links_rows->COUNT) it doesn't work fine.
how I can do that?

Pages

Subscribe with RSS Subscribe to RSS - Post installation