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
node form
Fix for Trying to put a node form in a ctools modal
December 25, 2011 - 5:18am — Anonymous
move
module_load_include
(
'inc'
,
'node'
,
'node.pages'
)
;
from somemodule_node_form
to somemodule_node_add_page
because during submitting, it need to load the node.pages.inc
ctools
modal
node form
Fix for Fix for Trying to put a node form in a ctools modal
September 19, 2011 - 9:06pm — Anonymous
/**
* Implementation of hook_menu().
*/
function
somemodule_menu
(
)
{
$items
=
array
(
)
;
$items
[
'initial-page'
]
=
array
(
'title'
=
>
t
(
'My title'
)
,
'page callback'
=
>
'somemodule_ini
ctools
modal
node form
ugg boots
ugg boots outlet
ugg boots sale
Read more
put a node form in a ctools modal (fixed)
August 26, 2011 - 5:33am — Anonymous
/**
* Implementation of hook_menu().
*/
function
somemodule_menu
(
)
{
$items
=
array
(
)
;
$items
[
'initial-page'
]
=
array
(
'title'
=
>
t
(
'My title'
)
,
'page callback'
=
>
'somemodule_ini
ctools
modal
node form
Read more
Fix for Trying to put a node form in a ctools modal
August 26, 2011 - 5:32am — Anonymous
/**
* Implementation of hook_menu().
*/
function
somemodule_menu
(
)
{
$items
=
array
(
)
;
$items
[
'initial-page'
]
=
array
(
'title'
=
>
t
(
'My title'
)
,
'page callback'
=
>
'somemodule_ini
ctools
modal
node form
Read more
Fix for Fix for Trying to put a node form in a ctools modal
June 14, 2011 - 4:06pm — Anonymous
/**
* Implementation of hook_menu().
*/
function
somemodule_menu
(
)
{
$items
=
array
(
)
;
$items
[
'initial-page'
]
=
array
(
'title'
=
>
t
(
'My title'
)
,
'page callback'
=
>
'somemodule_ini
ctools
modal
node form
Read more
Fix for Trying to put a node form in a ctools modal
June 14, 2011 - 4:02pm — Anonymous
/**
* Implementation of hook_menu().
*/
function
somemodule_menu
(
)
{
$items
=
array
(
)
;
$items
[
'initial-page'
]
=
array
(
'title'
=
>
t
(
'My title'
)
,
'page callback'
=
>
'somemodule_ini
ctools
modal
node form
Read more
Trying to put a node form in a ctools modal
December 20, 2010 - 9:33pm —
tic2000
/**
* Implementation of hook_menu().
*/
function
somemodule_menu
(
)
{
$items
=
array
(
)
;
$items
[
'initial-page'
]
=
array
(
'title'
=
>
t
(
'My title'
)
,
'page callback'
=
>
'somemodule_ini
ctools
modal
node form
Read more
Fix for Remove 'Vocabularies' fieldset
December 18, 2010 - 2:25pm — Anonymous
/**
* Implementation of hook_form_alter().
*/
function
mymodule_form_alter
(
&
$form
,
&
$form_state
,
$form_id
)
{
if
(
$form_id
==
'mobileapp_node_form'
)
{
// Remove 'Vocabularies' fieldset.
fieldset
node form
taxonomy
vocabularies
Read more
Fix for Remove 'Vocabularies' fieldset
October 5, 2010 - 1:05am — Anonymous
/**
* Implementation of hook_form_alter().
*/
function
mymodule_form_alter
(
&
$form
,
&
$form_state
,
$form_id
)
{
if
(
$form_id
==
'edit-title'
)
{
// Remove 'Vocabularies' fieldset.
$form
[
fieldset
node form
taxonomy
vocabularies
Read more
How to clone a CCK-heavy node form
September 18, 2010 - 12:56pm — Anonymous
function
myzipmodule_form_massupload
(
&
$form_state
=
array
(
)
)
{
$content_type
=
'picture'
;
$form_id
=
$content_type
.
CCK
form
node
node form
Read more
1
2
next ›
last »