By carl ditzler on
Suggestions for how Ourmedia has register / login at the top? And for it to appear only to those not logged in?
Thanks
Suggestions for how Ourmedia has register / login at the top? And for it to appear only to those not logged in?
Thanks
Comments
Custom login
OurMedia custom login, but apparently not working... also tried it with phptemplate, same result as the comment.
That's fairly easy, actually
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!
don't understand why if
don't understand why
if ($user->uid)isn't kicking in. Consistent with 4.6...user uid is Drupal API variable?
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!
oh ok... just needed to
oh ok... just needed to
global $user;assumed it was passed in template.Thanks!
Another site
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