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

Show only for anonymous users.

Hi,

I am curious what code I would need to show text to only anonymous users. The code will be put on a 'page' with php enabled and not a block.

I am trying to work off this snipet of code.

global $user;
if (!$user->uid) :  

This content will be visible only to anonymous users.

 else {
    return;
}
endif;

Any help appreciated.

Thanks,

Ivan
PHP novice

CCK and User Pictures, also PHP etc - how do I...

Hi,

How do I put User Pictures into a CCK Content Type?

I assume that it's a matter of creating some PHP code (which would be...please...) that calls a picture over, but I also can't see how to create fixed content within a text field - it seems that all text fields are designed to be empty and filled in by the user. I did this sort of thing a lot in Flexinode and I miss it in CCK.

OnMouseOver Event for Primary Links

Is there a way to add an onMouseOver event to the primary links?
Searched and could not find anything.

Thanks.

Call taxonomy term name into custom flexinode theme template?

I have a little thingy of code that says what I want it to do, but it doesn't do what it says...

From node-flexinode-2.tpl.php:

if ($taxonomy->term == '11') {<div>Dangit, this IS term 11!</div>};

I want it to check if this is tagged with a certain taxonomy term (in this case term number 11) and then display some text if it is. Shouldn't this work? What I get is nothing.

Server Transfer

I have transfered a website from one server to another. All seems well until you click any link on the page. What's wrong, and what do I need to do to fix this?

http://wideawakesradio.com/

simplenews, hotmail, IE, and accented characters do not mix well

Hi,

I am using simplenews to send a newsletter out. The newsletter is in French and I have noticed that when using Hotmail with Internet Explorer, the accented characters are completely messed up. It makes the text almost unreadable.

I type my newsletter on a Linux station and when I receive it, it looks fine. It looks fine on GMail and on Yahoo also. Hotmail and Firefox on Windows looks OK also. But IE and Hotmail is atrocious.

Has anyone else seen this? How have you fixed it?

Thanks,

L

Pages

Subscribe with RSS Subscribe to RSS - Post installation