DrupalBin
Submit Code
About
Recent Posts
Fix for Allow HTML in <i> node titles</i> for Drupal 6.x
Template Pre-proccessing
Testing Ubercart donation product
dave's menu screenshot
Code
Modify user profile page theme
Modify user profile page
Fix for Fix for Code
Fix for Code
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
test
theme
user
views
more tags
Home
views2
Weird Views2 sql for relationship
March 9, 2010 - 6:01pm — Anonymous
SELECT node.nid
AS
nid,
node.title
AS
node_title,
node_data_field_pubmed_id.field_pubmed_id_value
AS
node_data_field_pubmed_id_field_pubmed_id_value,
node.type
AS
node_type,
node.vid A
database.mysqli.inc
relationships
views2
Read more
Filter nodes by a taxonomy_content field with view argument accepting terms names and synonyms
July 22, 2009 - 5:07am —
mongolito404
/**
* The following code is used as validator for a view argument to filter nodes having the passed
* term as value for a taxonomy_content field.
taxonomy
validator
views
views2
Read more
Fix for Setting view title when using a custom validator for a taxonomy_content field
July 22, 2009 - 4:57am —
mongolito404
/**
* The previous code is the export of a view display which add a argument to filter nodes having a the passed term using name and synonyms
* as value for a taxonomy_content field.
taxonomy
validator
views
views2
Read more
Setting view title when using a custom validator for a taxonomy_content field
July 20, 2009 - 8:20am —
mongolito404
$handler
-
>
override_option
(
'arguments'
,
array
(
'field_category_value'
=
>
array
(
'default_action'
=
>
'not found'
,
'style_plugin'
=
>
'default_summary'
,
'style_options'
=
>
array
(
)
,
taxonomy
validator
views
views2
Read more
Code
May 1, 2009 - 11:55am — Anonymous
function
hook_views_data
(
)
{
/* first attempt */
$data
=
array
(
)
;
$data
[
'byline'
]
[
'group'
]
=
t
(
'Byline'
)
;
$data
[
'byline'
]
[
'join'
]
[
'node'
]
=
array
(
api
CCK
textfield
userreference
views2
Read more
Fix for theming rows in Views2
March 29, 2009 - 2:35am — Anonymous
<?php
// $Id: views-view-fields.tpl.php,v 1.6 2008/09/24 22:48:21 merlinofchaos Exp $
/**
* @file views-view-fields.tpl.php
* Default simple view template to all the fields as a row.
*
drupal
theming
views
views2
Read more
theming rows in Views2
March 29, 2009 - 2:32am — Anonymous
<?php
// $Id: views-view-fields.tpl.php,v 1.6 2008/09/24 22:48:21 merlinofchaos Exp $
/**
* @file views-view-fields.tpl.php
* Default simple view template to all the fields as a row.
*
drupal
theming
views
views2
Read more