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

OG: Hiding the river of news.

On my organic group home pages I want to have the welcome message, but hide the river of news.

I could set the OG homepage to a different content type, but I like the functionality of keeping Group as the standard homepage- I just don't want anything appearing under the welcome message (I prefer to hardcode content with links in the message).

I am guessing the answer is in the template.php.

I've read many a post on altering the "river of news" view- but I cannot find anything that simply hides it altogether.

Many thanks for any suggestions.

UIE Forum

Hi,

Is it possible to use the UIE Forum and Organic Groups with the Organic Groups Forum Module. This would be great for me because I wish to have forums and groups. Do you know something about the risc doing this ?

Problem with Sticky in Flexinode Sort

I am using the php array_multisort function to sort an array of flexinodes with sticky's at the top, then the first flexinode field below that, followed by the second flexinode field. Everything sorts fine, except the sticky's, which end up at the bottom.

The sticky's are returned at the top from the database query, but I don't think I giving the propert name for the sticky element to the array_multistort (currently I am referring to it as $row['sticky']). This appears to be where the problem is. What name would one use to access this element?

<?php
$list_length="10";
$term_id = "7";

$sql="SELECT n.nid FROM {node} n INNER JOIN {term_node} tn ON n.nid = tn.nid WHERE tn.tid = $term_id ORDER BY n.sticky DESC, n.title DESC";
$sql_count="SELECT COUNT(DISTINCT(tn.nid)) FROM {term_node} tn WHERE tn.tid = $term_id";

$result = pager_query($sql, $list_length,0,$sql_count);

$x=0;
while ($node = db_fetch_object($result)) {
$inarr[$x]=$node;
$x++;
}

foreach ($inarr as $key => $row) {
$stick[$key] = $row['sticky'];
$number[$key] = $row['flexinode_17'];
$part[$key] = $row['flexinode_18'];
}

array_multisort($stick, SORT_DESC, $number, SORT_DESC, $part, SORT_DESC, $inarr, SORT_DESC);

for ($y=0;$y<$x;$y++) {
$outnode=$inarr[$y];
$output .= node_view(node_load(array('nid' => $outnode->nid)), 1);
}

Replication?

Hi.

I am having trouble with replicating the database, i keep getting errors, and the database seems to be at the correct position although the new material isn't showing.

this is my background:
I work at an IT-department for a ship-company which needs to have its intranet on the boats as well as in shore.

Nodeaccess - only view permissions given, but content editable also

I would like to add a public/private feature to my site so users can control access to content they create. I have been following the discussion threads for nodeaccess on Drupal and decided to download it, but I am having trouble configuring it properly. When one user creates content and grants another member of the site view privileges, that member is able to edit it and grant privileges as well. I have tried configuring the check marks differently and logging in with different users, but I am still having trouble. I am using the release dated February 1.

Relation between database and folders

Hi!
I am pretty new at Drupal and databases.
I wonder how the relation between the database and the folders are. Where are the data stored? In folders, and in that case, which of them? If I delete those folders, do I delete the database? Or does a database have to be deleted by a database manager like PHPMyAdmin? If all the data are in folders, how come I couldn't just transfer all the Drupal folders when transfering the site, not having to export the database?

Pages

Subscribe with RSS Subscribe to RSS - Post installation