DrupalBin
Submit Code
About
Recent Posts
Serializable closures
Closures in menu item arguments
dpr($content['field_headshot'])
Fix for Git push error
Проверка
Code
$item['title'] = $item['title'];
Loading specific field
expire give non-aliased paths
Fix for 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
drupal_execute
Fix for Fix for Creating imagefield content programatically
January 13, 2010 - 9:51am — Anonymous
function
sti_migrate_form_submit
(
$form
,
&
$form_state
)
{
$form_state
=
array
(
)
;
module_load_include
(
'inc'
,
'node'
,
'node.pages'
)
;
$node
=
array
(
'type'
=>
'tell_your_story'
)
;
$form_state
[
'va
CCK
drupal_execute
Read more
1 attachment
Fix for Creating imagefield content programatically
January 13, 2010 - 9:49am — Anonymous
function
sti_migrate_form_submit
(
$form
,
&
$form_state
)
{
$form_state
=
array
(
)
;
module_load_include
(
'inc'
,
'node'
,
'node.pages'
)
;
$node
=
array
(
'type'
=>
'tell_your_story'
)
;
$form_state
[
'va
CCK
drupal_execute
Read more
Fix for Drupal_execute example
October 8, 2009 - 5:18am — Anonymous
$node
=
array
(
'type'
=
>
'innovation'
)
;
$values
=
array
(
)
;
$values
[
'title'
]
=
$form_values
[
'title'
]
;
$values
[
'field_description'
]
=
array
(
0 =
>
array
(
'value'
=
>
$form_values
[
'descr
drupal_execute
Read more
Fix for Drupal_execute example
August 17, 2009 - 4:39pm — Anonymous
$node
=
array
(
'type'
=
>
'innovation'
)
;
$values
=
array
(
)
;
$values
[
'title'
]
=
$form_values
[
'title'
]
;
$values
[
'field_description'
]
=
array
(
0 =
>
array
(
'value'
=
>
$form_values
[
'descr
drupal_execute
Read more
Fix for drupal_execute
August 13, 2009 - 1:53pm — Anonymous
Thank you very much to my friend Mariano D
'Agostino of Cuenco Digital (http: // cuencodigital.com/) for having said the errors to me in the code, this one is the new code fixed that Marian gave me (th
drupal_execute
menu_edit_menu_submit
Read more
drupal_execute
August 13, 2009 - 10:24am — Anonymous
<?php
$menu_custom
=
array
(
'menu_name'
=
>
'menucustomtest'
,
'title'
=
>
'Menu Custom Test'
,
'description'
=
>
'Esta es una prueba de crear menus custom desde linea de programacion'
)
;
///////
drupal_execute
menu_edit_menu_submit
Read more
Fix for drupal_execute function for creating nodes
August 11, 2009 - 3:43pm — Anonymous
<?php
$node
=
array
(
'type'
=
>
'reservation'
)
;
$values
=
array
(
)
;
// Multivalue CCK fields are handled this way
$values
[
'title'
]
=
'New Test Reservation via drupal_execute'
;
$values
[
'
drupal_execute
Read more
drupal_execute function for creating nodes
August 11, 2009 - 3:35pm — Anonymous
<?php
$node
=
array
(
'type'
=
>
'reservation'
)
;
$values
=
array
(
)
;
// Multivalue CCK fields are handled this way
$values
[
'title'
]
=
'New Test Reservation via drupal_execute'
;
$values
[
'
drupal_execute
Read more
drupal_execute function for creating nodes
August 11, 2009 - 3:27pm — Anonymous
<?php
$node
=
array
(
'type'
=
>
'reservation'
)
;
$values
=
array
(
)
;
// Multivalue CCK fields are handled this way
$values
[
'title'
]
=
'New Test Reservation via drupal_execute'
;
$values
[
'
drupal_execute
Read more
Fix for Creating imagefield content programatically
August 1, 2009 - 2:55pm —
pacemkr
function
sti_migrate_form_submit
(
$form
,
&
$form_state
)
{
$form_state
=
array
(
)
;
module_load_include
(
'inc'
,
'node'
,
'node.pages'
)
;
module_load_include
(
'inc'
,
'filefield'
,
'field_file'
)
;
$n
CCK
drupal_execute
Read more
1
2
next ›
last »