Suggestions for how Ourmedia has register / login at the top? And for it to appear only to those not logged in?
Thanks

Comments

carl ditzler’s picture

OurMedia custom login, but apparently not working... also tried it with phptemplate, same result as the comment.

Mahatma’s picture

It takes a little experience though. Do you want to make this modification to a Drupal theme? For your site? Or are you yust curious?
----------
LeBlank
http://drupal.cyberocity.com
It's what we've been looking for!

carl ditzler’s picture

don't understand why if ($user->uid) isn't kicking in. Consistent with 4.6...

Mahatma’s picture

This works in 4.5? yes? Not in 4.6 ... maybe user-uid is no longer the variable used, or the function is not including the array that holds this variable. I admit I didn't look too closely at the code but if user-uid is in the XZY array, you have to include XZY array inside your function to see the variable. You know like
function 99(
global XZY, etc;
if(XZY[0] )(
do dat;
)
)
In this case, is $user included inside function?
----------
LeBlank
http://drupal.cyberocity.com
It's what we've been looking for!

carl ditzler’s picture

oh ok... just needed to global $user; assumed it was passed in template.
Thanks!

kbahey’s picture

There was another site that did this.

It was a site about theatre in New York. It had a yellowish unique looking theme if I remember correctly. Can't remember its name, though it was showcased on Drupal.

--
Consulting: 2bits.com
Personal: Baheyeldin.com

--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba