DrupalBin
Submit Code
About
Recent Posts
Fix for Views cumulus: tag_cloud
Fix for Code
sjfgjgjfgidfgh
Code
Code
test.berniecram.com.alias.drushrc.php
Code
provision-deploy error
Create node programmatically with file
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
unzip
Fix for This code will extract files form a zip file uploaded via a specific FileField
May 31, 2010 - 2:02am — Anonymous
<?php
function
my_unzip_nodeapi
(
&
$node
,
$op
,
$a3
=
NULL
,
$a4
=
NULL
)
{
if
(
$node
-
>
type
==
'test'
)
{
dsm
(
$node
)
;
switch
(
$op
)
{
case
'update'
:
if
(
!
is_null
(
$node
-
>
field_zi
filefield
unzip
Read more
This code will extract files form a zip file uploaded via a specific FileField
May 31, 2010 - 1:38am — Anonymous
<?php
function
my_unzip_nodeapi
(
&
$node
,
$op
,
$a3
=
NULL
,
$a4
=
NULL
)
{
if
(
$node
-
>
type
==
'test'
)
{
dsm
(
$node
)
;
switch
(
$op
)
{
case
'update'
:
if
(
!
is_null
(
$node
-
>
field_zi
filefield
unzip
Read more