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

Views 4.7 Error Messages

After installing the Views 4.7 module i get the following error message

Login verification returning PHP TRUE

I know just enough PHP to get myself into trouble, so I figured I should post this simple task that I can't quite get right, and hope for some kind, generous assistance...

I wish to display the navigation block only to users who are logged in. Normal users will use only primary nav, including one link to the login page. In admin/blocks/nav I have the option to show the navigation block "if the following PHP code returns TRUE," and I can't figure out how to create a functional bit of PHP here.

Tricky problem with themed profile pages

This one has me stumped. I am using template.php and user_profile.tpl.php in order to theme my profile pages.

In the user_profile.tpl.php file I am trying to display a menu only if the current user id matches the profile id. Or in other words, the menu would only be visable if you're looking at your own profile.

So I'm using the following if statement:

if ( $user->uid && (arg(1) == $user->uid)),

However, this statment always returns true, even with anonymous users.

container error

as I create the container it writes:
"user warning: Table 'kor.view_view' doesn't exist query: SELECT vid, description FROM view_view ORDER BY description in /www/.../includes/database.mysql.inc on line 120."

How to repair it?

Link to url outside /drupal without specifying http://hostname/

I've got a site that has 3+ directories in root.

/drupal
/wordpress
/photos

With drupal-4.6 I could setup a primary link, "/photos", and it would go to /photos. With 4.7, it now goes to /drupal/photos.

This site has many possible hostnames, is there a way to make a generic link like this in the menus? Or will I have to make symlinks for everything in / inside /drupal on the webserver?

Bug(s) in Access control

I think this may have been posted, but I am looking for easy workarounds.

If I only have on 'access user profiles', that category doesn't come up for authenticated users (ie what I call 'members'.

if I turn on admin user profiles, not only that comes up, edit profiles and the general admin screen.

Something's a bit screwy here.

Thanks.

Larry

Pages

Subscribe with RSS Subscribe to RSS - Post installation