erroe message

i try to create a module can add a new user in the data base .il can add that but he display this error message after adding the user:
Warning : mb_strlen() expects parameter 1 to be string, array given dans drupal_strlen() (ligne 441 dans /var/www/drupal/includes/unicode.inc).
i can't understand what does it mean this and how i can solve that?

How to show an image from a node in the template file [SOLVED]

Hi, I'm new to Drupal 7 and templates. I have a question regarding how to show an image taken from the content created by an administrator.

I have a content type that contains among other fields an image, field_image. This image I would like to show instead of the usual banner.

I have found the following to work by inserting it into the template.tpl file, but this cannot be the right way to do it (I presume):

Metaquotes display help

Hello.

i need to incorporate some php files into a drupal block to display forex quotes in real time.

i have the php files on the site main directory,

they gave me an example that it calls for the information to display by using ---<?include('quotes.php')?> ,, but i put this on the block , also enabled php filter and no luck,

please can someone help me here?

this is an example site, the scrolling info

http://www.gftforex.com/

Field Types API field documentation

Hello,

where can I find some documentation about what kind of field types are usable with the Field Types API?

There's hook_field_info but that doesn't define for example numeric types.

I'm going to use a numeric field in this case:

/**
* Returns a structured array defining the fields created by this content type.
*
* This is factored into this function so it can be used in both
* event_install() and event_uninstall().
*
* @return
* An associative array specifying the fields we wish to add to our
* new node type.
*
* @ingroup event
*/
function _event_installed_fields() {
$t = get_t();
return array(
'event_date' => array(
'field_name' => 'event_date',
'type' => 'text',
'cardinality' => 1,
'settings' => array(
'tz_handling' => 'date',
),
),
'event_location' => array(
'field_name' => 'event_location',
'cardinality' => 1,
'type' => 'text',
),
'event_image' => array(
'field_name' => 'event_image',
'type' => 'image',
'cardinality' => 1,
),
'event_number' => array(
'field_name' => 'event_number',
'type' => 'integer', // HOW CAN I USE A NUMERIC (or other) TYPE ?

Dropdown menu for content type?!

Hoping someone can help

Ok. Basically i'm not too sure how to go about this, but here's a brief explanation of what i'm trying to do:

Drupal 7 multisite on Drupal 6 core

Hello all, we have a huge website (for a University) based on Drupal 6.x with several multi-sites setup, e.g admin.university.edu. However we are wondering if it is possible to implement and run a Drupal 7.x sub site under the existing Drupal 6.x main site, That is, can a Drupal 7.x site be run as sub domain site under a primary domain that already has Drupal 6.x running. Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x