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

easy way to get term id or vocabulary id for any given node?

there are a lot of useful functions included as part of the taxonomy module and the taxonomy_context module. these would allow me to gather and display some contextual information for any of my nodes. the problem is i haven't found a way to pass either the node's tid or vid as a parameter to these functions.

is there a way to get the current node's tid or vid? and once gathered, how would i pass that info to the function?

thanks a bunch for your help. this info will really help me jumpstart my first drupal site.

who is writing the accesslog

I need a special log for my site. The log should contain information about user login, node watched and search keywords. each row contains user ID, type (login/node/search),content(node ID/keyword) and time stamp. The log should be permanent for loging the site activities for months.
The access-log table is seemed a bit heavy for that task.
A. Where (what node or .inc file) and how should I log that information ?
B. is it safe to mess with the accesslog table or cat it make issues with other modules using it (who is using it anyway ?)

tnx.

civicrm 1.4 synching users to contacts non-recoverable db error

I am using two separate databases for drupal and civicrm. After I added users in civicrm I tried to synch the users from the two components I recieved the following DB error

"Sorry. A non-recoverable error has occurred.
Database Error Code: Table 'civicrm.users' doesn't exist, 1146"

It appears as through civicrm is assuming that I am using one database called 'civicrm' and that the tables are not prefixed with 'civicrm_' which they are by default. The table it is looking for is in my Drupal database, drupal.users.

moving 'Full Article' link within aggregator2 news feed items...

Im trying to move the "Full Article" link within aggregator2 nodes out of the traditional $links area, and would like to locate it elsewhere within the node, and use different styling (div tags). I've read, and implemented, the procedure to move the 'Read More' link within teasers to the location of your choice.

Is a similar solution available for what Im looking for?

Thanks,
-=Vince

Technology White Papers

Benchmarking page loading times.

Is this the way to test how long the server is taking to process a Drupal page... I've modified the file 'index.php' in the Drupal root. I was looking around for benchmarking tests for different modules but couldn't find any...

<?php
// $Id: index.php,v 1.82 2004-08-21 06:42:34 dries Exp $

/**
* @file
* The PHP page that serves all page requests on a Drupal installation.
*
* The routines here dispatch control to the appropriate handler, which then
* prints the appropriate page.
*/

//THIS CODE STARTS A TIMER. THIS TIMER IS USED TO CALCULATE HOW LONG THE SERVER TAKES
//TO PROCESS A PAGE.

$starttime = microtime();
$startarray = explode(" ", $starttime);
$starttime = $startarray[1] + $startarray[0];

//END OF TIMER START CODE...SEE BELOW FOR THE REST OF THE IMPLEMENTATION.

include_once 'includes/bootstrap.inc';
drupal_page_header();
include_once 'includes/common.inc';

fix_gpc_magic();

$status = menu_execute_active_handler();
switch ($status) {
case MENU_NOT_FOUND:
drupal_not_found();
break;
case MENU_ACCESS_DENIED:
drupal_access_denied();
break;
}

drupal_page_footer();

//STOP THE TIMER AND DISPLAY THE TOTAL TIME TO THE SCREEN (AT THE BOTTOM OF WEB PAGE).

$endtime = microtime();
$endarray = explode(" ", $endtime);
$endtime = $endarray[1] + $endarray[0];
$totaltime = $endtime - $starttime;
$totaltime = round($totaltime,5);

Problems with aggregator 2 install

I installed the aggregator2 module. Inserted the SQL tables, enabled the modules, and activated permissions.

First off, aggregator2 shows up as a menu item in both Administer and Administer>settings. Clicking on the one under administer just gives you a blank page. The one under settings just gives you two buttons, with a little bit of text showing.

Did I do something wrong? Is it a bum module?

Maybe I should try installing an older version?

Pages

Subscribe with RSS Subscribe to RSS - Post installation