DrupalBin
Submit Code
About
Recent Posts
Code
Fix for Fix for Code
Fix for Code
Code
Node type whitelist
an axe coach accessories
coach purses married
Fix for de las ghd alturas
de las ghd alturas
Code
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
taxonomy
test
theme
views
more tags
Home
field
Fix for Fix for Fix for Load array content into multi valued field
September 11, 2011 - 2:14pm — Anonymous
<?php
/**
* @file
* isbn2node module
*/
// Define the url's for fetching ISBN-data
define
(
'ISBN2NODE_ISBNDB_URL'
,
'http://isbndb.com/api/books.xml?access_key=%access_key&results=detail
array
CCK
field
multivalued field
Read more
Fix for Fix for Load array content into multi valued field
September 11, 2011 - 2:12pm — Anonymous
<?php
/**
* @file
* isbn2node module
*/
// Define the url's for fetching ISBN-data
define
(
'ISBN2NODE_ISBNDB_URL'
,
'http://isbndb.com/api/books.xml?access_key=%access_key&results=detail
array
CCK
field
multivalued field
Read more
Fix for Load array content into multi valued field
September 11, 2011 - 2:11pm — Anonymous
case
'isbn2node_author'
:
$authors_array
=
explode
(
','
,
$default_value
)
;
sort
(
$authors_array
)
;
$rows
=
0
;
for
(
$index
=
0
;
$index
<
co
array
CCK
field
multivalued field
Read more
Load array content into multi valued field
September 11, 2011 - 2:02pm — Anonymous
case
'isbn2node_author'
:
$authors_array
=
explode
(
','
,
$default_value
)
;
sort
(
$authors_array
)
;
$rows
=
0
;
for
(
$index
=
0
;
$index
<
co
array
CCK
field
multivalued field
Read more
Create a field
January 6, 2011 - 1:17pm — Anonymous
/* I know how to create field, eg. a taxonomy_term_reference */
$field
=
array
(
'field_name'
=
>
'field_'
.
CCK
drupal 7
field
field_create_field
Read more
Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends
January 16, 2010 - 12:01am — Anonymous
<?php
global
$user
;
$rtid
=
1
;
//Relationship type ID.
$max
=
5
;
//The amount of users to show on the block.
$user_rel
=
db_query
(
"
SELECT u.uid
FROM {users} u
LEFT JOIN {user_relationships}
display
field
FOAF
grid
profile
row
table
user
Read more
Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of frien
January 15, 2010 - 11:59pm — Anonymous
<?php
global
$user
;
$rtid
=
1
;
//Relationship type ID.
$max
=
5
;
//The amount of users to show on the block.
$user_rel
=
db_query
(
"
SELECT u.uid
FROM {users} u
LEFT JOIN {user_relationships}
display
field
FOAF
grid
profile
row
table
user
Read more
Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of friends code.
January 15, 2010 - 11:56pm — Anonymous
<?php
global
$user
;
$rtid
=
1
;
//Relationship type ID.
$max
=
5
;
//The amount of users to show on the block.
$user_rel
=
db_query
(
"
SELECT u.uid
FROM {users} u
LEFT JOIN {user_relationships}
display
field
FOAF
grid
profile
row
table
user
Read more
Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of friends code. Need u
January 15, 2010 - 11:38pm — Anonymous
<?php
global
$user
;
$rtid
=
1
;
//Relationship type ID.
$max
=
5
;
//The amount of users to show on the block.
$user_rel
=
db_query
(
"
SELECT u.uid
FROM {users} u
LEFT JOIN {user_relationships}
display
field
FOAF
grid
profile
row
table
user
Read more
1 attachment
Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Fix for Friends of friends code. Need up displa
January 15, 2010 - 11:36pm — Anonymous
<?php
global
$user
;
$rtid
=
1
;
//Relationship type ID.
$max
=
5
;
//The amount of users to show on the block.
$user_rel
=
db_query
(
"
SELECT u.uid
FROM {users} u
LEFT JOIN {user_relationships}
display
field
FOAF
grid
profile
row
table
user
Read more
1
2
3
4
next ›
last »