I'm trying to use the views module to setup a site. I've got a number of views working that I've created, but one of the pre-defined views is causing me problems.
The taxonomy_term view just won't seem to work for me. I've enabled it and added it to my 'existing views' and modified it to be a Table View. It's got it's fields defined. Those are the only modifications.
1) Check if the visitor is the person looking at that page, if so, do nothing and let the page load
2) If the user viewing the page is not the right uid redirect to a sub directory and pass the uid in a url var
This is my stab at it, can anyone check it and adjust to work correctly?
<?php
global $user;
if($user->$user)
{
else
drupal_goto('http://domain.com/subdir/index.cfm?uid=$user');
}
?>
That's my first message here. I discovered drupal and I got so excited to see such a cool CSM.
But I'm having a few problems to make it run. I created the tables correctly and I configured it to work with my PostgreSQL 7.4 server fine, but, after calling drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL) on index.php, it returns me a totally blank page. No errors, no special headers.