DrupalBin
Submit Code
About
Recent Posts
TwitterFeed for D4D review
text
rewrite
Module to overrule the save settings of the "new node" form
Code
apidoc
Empty DateTime Object
Fix for listcars_manufacturer.module
listcars_manufacturer.info
listcars_manufacturer.module
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
test
theme
user
views
more tags
Home
imagefield
Fix for Image to imagefield converter
March 19, 2010 - 9:39pm — Anonymous
php
/**
* @file
* Migrate all image.module nodes to imagefields in Drupal 6.
*
* PREREQUISITES
* -------------
* - You must create a single imagefield field to which all your images will be mig
CCK
image
imagefield
Read more
Fix for Image Field Import
December 15, 2009 - 3:55am — Anonymous
file_copy
(
$path
,
$dest
,
FILE_EXISTS_REPLACE
)
;
$node
-
>
field_foto
[
0
]
[
'list'
]
=
1
;
$node
-
>
field_foto
[
0
]
[
'data'
]
=
array
(
'description'
=
>
''
,
'alt'
=
>
''
,
'title'
=
>
''
)
;
$node
-
>
field_foto
[
imagefield
Read more
Fix for Image Field Import
December 10, 2009 - 10:09am — Anonymous
function
cp_field_file_save_file
(
$filepath
,
$validators
=
array
(
)
,
$dest
=
FALSE
,
$account
=
NULL
)
{
// Add in our check of the the file name length.
$validators
[
'file_validate_name_length'
]
=
imagefield
Read more
Fix for Fix for Image Field Import
December 10, 2009 - 7:36am — Anonymous
// get the field and its validators
$field
= content_fields
(
'field_bilder'
,
'INHALTSTYP'
)
;
$validators
= filefield_widget_upload_validators
(
$field
)
;
// make sure that the directory exists
imagefield
Read more
Fix for Fix for Image Field Import
December 10, 2009 - 7:35am — Anonymous
if
(
$row
[
'avatar'
]
)
{
$path
=
'files/old/joomla/images/comprofiler/'
.
imagefield
Read more
Fix for Image Field Import
December 10, 2009 - 7:33am — Anonymous
if
(
$row
[
'avatar'
]
)
{
$path
=
'files/old/joomla/images/comprofiler/'
.
imagefield
Read more
Fix for Image Field Import
December 10, 2009 - 7:19am — Anonymous
// get the field and its validators
$field
= content_fields
(
'field_bilder'
,
'modell'
)
;
$validators
= filefield_widget_upload_validators
(
$field
)
;
// make sure that the directory exists
imagefield
Read more
Image Field Import
December 10, 2009 - 7:17am — Anonymous
$scan
=
file_scan_directory
(
$full
,
'jpg|png|gif|JPG|PNG'
)
;
foreach
(
$scan
AS
$path
=
>
$image
)
{
$temp_image
= field_file_save_file
(
$path
,
$validators
,
$directory
)
;
$temp_image
[
'statu
imagefield
Read more
Fix for Imagefield widget includ error
November 16, 2009 - 6:46pm — Anonymous
/**
* Form for creating initial nodequeue
*/
function
create_feature_package_form
(
)
{
//dsm(module_invoke('imagefield', 'elements'));
module_load_include
(
'inc'
,
'imagefield'
,
'imagefield_
fapi
imagefield
Read more
Imagefield widget includ error
November 16, 2009 - 6:21pm — Anonymous
/**
* Form for creating initial nodequeue
*/
function
create_feature_package_form
(
)
{
//dsm(module_invoke('imagefield', 'elements'));
include_once
'../../contrib/filefield/filefield.module'
;
fapi
imagefield
Read more
1
2
3
next ›
last »