This is probably really simple but I can't seem to make an RSS feed in aggregator be the central content on a page. All I seem to be able to do is place it on the left ot right. Am I missing a trick?
I am quite new to Drupal but have installed a couple of site now and added the Audio module to each one.
Unfortunately on both of my sites the default player does not show up. Instead I get the 'save as' prompt in the browser window, rather than it using the built in flash player.
I have defined 3 roles - admin, tutor and student. I am also using og so that each student is in two og groups - a community group and their class group. I would like it so that when a student logs in he/she is directed to their class group homepage. I have installed login_destination and have written the following:
function login_destination_get_destination() {
global $user;
$path = 'blog/1'; // default login destination
$rid = 4; // 4 = student role number
$cgrp = 6; // 6 = community group id number
// Get the current student's class group id number
$result = db_query("SELECT g.nid FROM {og_uid} g INNER JOIN {users_roles} r ON g.uid=r.uid WHERE r.rid=$rid AND r.uid=$user->uid AND g.nid<>$cgrp");
if ($result) {
$node = db_fetch_object($result); // get group
$path = "node/$node->id"; // send student to the class group page
}
return url($_GET['q'], "destination=$path");
}
I'm using 4.7.3, local install with xampp (php4) on a pc. Ultimately, I would like the same behaviour when a student clicks on the site logo. Could anyone offer some hints as to why the above code is not working? Thanks in advance.
I've installed the Google Adsense module, and have put a block in, but just the placeholder and not the actual ads are showing up. I've entered in my pubisher id for Adsense for Content starting with pub-xxxxxxxxxxxxxxxxxx.