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
validator
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