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

How can I allow registered users to submit content(not only comments) only in one category?

How can I allow registered users to submit content(not only comments) only in one category?

taxonomy images instead of category names

Any ideas how can I easily print the recently updated 5 catories images inside a block? Just like plastic.com?

Help me please...

Hi there,

I have a site called www.newz.kralle.dk

iam posting some new news abt software and hardware... But when i post i want the latest post to be in the top. Right now its the alfabet A B C that its in the top.. If i post called AMD it will be in the top. but if i post a post called WIN it will be in the bottem.. iDont want my drupal to do that. Iwant to make it like the NEWST post have to be in the top.. Can anybody please help me

/Kralle

Similar nodes under nodes

i want to show similar node links under nodes, above comments in node pages...

similar.module lists the links in a block... and uses the codes below:


/**
* Implementation of hook_menu().
*/
function similar_menu() {
global $similar_node_title;
global $similar_node_body;
global $similar_node_nid;

if (arg(0) == 'node' && is_numeric(arg(1))) {
$node = node_load(array('nid' => arg(1)));
if ($node->nid) {
$similar_node_title = $node-> title;
$similar_node_body = $node-> body;
$similar_node_nid = $node-> nid;
}
}
}

/**
* Implementation of hook_block().
*
* This hook both declares to Drupal what blocks are provided by the module, and
* generates the contents of the blocks themselves.
*/
function similar_block($op = 'list', $delta = 0) {

global $similar_node_nid;

// The $op parameter determines what piece of information is being requested.
if ($op == 'list') {
// If $op is "list", we just need to return a list of block descriptions. This
// is used to provide a list of possible blocks to the administrator.
$blocks[0]['info'] = t('Similar Entries');
return $blocks;
}
else if ($op == 'view') {
// If $op is "view", then we need to generate the block for display purposes.
// The $delta parameter tells us which block is being requested.

if ($similar_node_nid > 0) {

Database is not closing sessions

I installed Drupal to run a resume website. It ran good for a few months but recently, however, my host disabled my database and the site is currently down. When I contacted them they said the following:

---------------------

Your database is not closing sessions, and cause high server load. This
violates the Terms of Service, greater 25% load for greater 90 seconds.

---------------------

How can this be the case? I hardly get any traffic at that site? Is this caused by Drupal? What is wrong?

I would highly appreciate help with this issue.

Roles and organic groups

Hi everyone,
Let's say that I have 1000 organic groups that users added and I want to appoint a different moderator to each one of them.
How can this be achieved? I can't, of course, define 1000 different roles: moderator_group_A_role, moderator_group_B_role etc.
Thanks,
-Shahar

Pages

Subscribe with RSS Subscribe to RSS - Post installation