Transforming the displayed value of an integer field in CCK

Hi everyone !

I think this will look dumb or newbie... but I created a field (integer type) which could be any number (not null) to unlimited. I would like to make the content page to display 'Unlimited' when the user enter 0 in the field.

Can this be done directly into the field options ? What the cleanest way of doing it ?

Thanks in advance !

D7 not for shared hosting. (Solved + solution)

I've been trying to install Drupal 7 on a hosting account I've had for the past 5 years without any problems until now. The company is Ace-host.net

Drupal 7 gives errors about PDO and simply doesn't want to install. The hosting company says PDO and other php extensions are precent but it still does not want to work. Does this mean you can only use D7 on a VPS or higher?

Solution in this comment below.

how to access user profile (custom fields) ?

Hi,

I add a new field, "field_home", from
Home » Administration » Configuration » People » Account settings
which will define user's HOME page.

I implement hook_user_login() and try to redirect user to it's home page.
However, I can't find any simple API which could be used
to access the custom field.

My question is, how can I access the value of 'field_home' ?

Thanks a lot.

Regards,
KC

I come from Joomla, bearing questions

Hello!

I've been building sites with Joomla for quite a while now, but for my next build I think it's time to give Drupal a try. I have a few questions first though, as I have an interesting project on my hands.

The website will be strongly connected to Social Networking platforms, Facebook, Twitter, foursquare, flikr, vimeo, youtube.

It's probably best if I give an example or two of the features.

1. Is it possible to link a Facebook album to the website, so that it displays in a gallery and the users are able to 'Like' and 'Tag'?

Taxonomy based menus

Hello!

Is there a way I can base menu on a term vocabulary? I have a content type with term reference and I want the correct submenu to be opened (based on referenced term) when I click on a specific node . Is it possible?

Using images in different sizes and croppings in different contexts

In Drupal 7. When I upload a file, I would like to just upload it. And after uploading I would like to be able to create different sizes and croppings, so I can use the same picture in different contexts. How can I accomplish that?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x