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