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
hook_views_data
hook_views_data data multiple nid in the same table
May 25, 2011 - 12:03am — Anonymous
/* field defs */
$data
[
'mytable'
]
[
'nid_1'
]
=
array
(
'title'
=
>
t
(
'Node Id 1'
)
,
'help'
=
>
t
(
'Nid of the xx node.'
)
,
// The help that appears on the UI,
// Information for displayi
hook_views_data
views
Read more
Re:
February 24, 2011 - 3:53pm — Anonymous
freelance writer
history
hook_views_data
views
Shows "array" in filter list group dropdown instead of budget partners group
May 20, 2010 - 6:01pm —
seanr
<?php
/**
* Implementation of hook_views_data().
*/
function
dped_browser_views_data
(
)
{
$data
=
array
(
)
;
/**
* Expose budget_partners table to views.
*/
$data
[
'budget_par
hook_views_data
Read more
Fix for history data for recently viewed nodes
May 16, 2010 - 7:45pm — Anonymous
<?php
// $Id$
/**
* Implementation of hook_views_handlers().
*/
function
mymodule_history_views_handlers
(
)
{
return
array
(
'info'
=
>
array
(
'path'
=
>
drupal_get_path
(
'module'
,
history
hook_views_data
views
Read more
history data for recently viewed nodes
January 25, 2010 - 8:15pm —
mikey_p
<?php
// $Id$
/**
* Implementation of hook_views_handlers().
*/
function
mymodule_history_views_handlers
(
)
{
return
array
(
'info'
=
>
array
(
'path'
=
>
drupal_get_path
(
'module'
,
history
hook_views_data
views
Read more