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
Fix for View of user posts
View
Fix
May 19, 2010 - 6:50pm — Anonymous
$view
=
new
view;
$view
-
>
name
=
'user_tracker'
;
$view
-
>
description
=
'Shows posts started by or participated in by a given user'
;
$view
-
>
tag
=
''
;
$view
-
>
view_php
=
''
;
$view
-
>
base_table
=
'node'
;
$view
-
>
is_cacheable
=
FALSE
;
$view
-
>
api_version
=
2
;
$view
-
>
disabled
=
FALSE
;
/* Edit this to true to make a default view disabled initially */
$handler
=
$view
-
>
new_display
(
'default'
,
'Defaults'
,
'default'
)
;
$handler
-
>
override_option
(
'fields'
,
array
(
'title'
=
>
array
(
'id'
=
>
'title'
,
'table'
=
>
'node'
,
'field'
=
>
'title'
,
'label'
=
>
'Title'
,
'link_to_node'
=
>
TRUE
,
)
,
'created'
=
>
array
(
'label'
=
>
'Created'
,
'alter'
=
>
array
(
'alter_text'
=
>
0
,
'text'
=
>
''
,
'make_link'
=
>
0
,
'path'
=
>
''
,
'link_class'
=
>
''
,
'alt'
=
>
''
,
'prefix'
=
>
''
,
'suffix'
=
>
''
,
'target'
=
>
''
,
'help'
=
>
''
,
'trim'
=
>
0
,
'max_length'
=
>
''
,
'word_boundary'
=
>
1
,
'ellipsis'
=
>
1
,
'html'
=
>
0
,
'strip_tags'
=
>
0
,
)
,
'empty'
=
>
''
,
'hide_empty'
=
>
0
,
'empty_zero'
=
>
0
,
'date_format'
=
>
'small'
,
'custom_date_format'
=
>
''
,
'exclude'
=
>
0
,
'id'
=
>
'created'
,
'table'
=
>
'node'
,
'field'
=
>
'created'
,
'relationship'
=
>
'none'
,
)
,
)
)
;
$handler
-
>
override_option
(
'sorts'
,
array
(
'last_comment_timestamp'
=
>
array
(
'id'
=
>
'last_comment_timestamp'
,
'table'
=
>
'node_comment_statistics'
,
'field'
=
>
'last_comment_timestamp'
,
'order'
=
>
'DESC'
,
)
,
)
)
;
$handler
-
>
override_option
(
'arguments'
,
array
(
'uid'
=
>
array
(
'default_action'
=
>
'default'
,
'style_plugin'
=
>
'default_summary'
,
'style_options'
=
>
array
(
)
,
'wildcard'
=
>
'all'
,
'wildcard_substitution'
=
>
'All'
,
'title'
=
>
''
,
'breadcrumb'
=
>
''
,
'default_argument_type'
=
>
'current_user'
,
'default_argument'
=
>
''
,
'validate_type'
=
>
'user'
,
'validate_fail'
=
>
'empty'
,
'break_phrase'
=
>
0
,
'not'
=
>
0
,
'me_alias'
=
>
1
,
'id'
=
>
'uid'
,
'table'
=
>
'users'
,
'field'
=
>
'uid'
,
'validate_user_argument_type'
=
>
'uid'
,
'validate_user_roles'
=
>
array
(
'2'
=
>
2
,
'5'
=
>
5
,
'16'
=
>
16
,
'15'
=
>
15
,
'7'
=
>
7
,
'10'
=
>
10
,
'14'
=
>
14
,
'9'
=
>
9
,
'3'
=
>
3
,
'4'
=
>
4
,
'6'
=
>
6
,
'17'
=
>
17
,
'18'
=
>
18
,
'22'
=
>
0
,
'21'
=
>
0
,
)
,
'relationship'
=
>
'none'
,
'default_options_div_prefix'
=
>
''
,
'default_argument_user'
=
>
0
,
'default_argument_fixed'
=
>
''
,
'default_argument_php'
=
>
''
,
'validate_argument_node_type'
=
>
array
(
'webform'
=
>
0
,
'blog'
=
>
0
,
'ad'
=
>
0
,
'audio'
=
>
0
,
'daily_container'
=
>
0
,
'image'
=
>
0
,
'product'
=
>
0
,
'forum'
=
>
0
,
'amazon_book'
=
>
0
,
'bible_verse'
=
>
0
,
'blogs_import'
=
>
0
,
'book'
=
>
0
,
'church'
=
>
0
,
'cityvision'
=
>
0
,
'consultant_listing'
=
>
0
,
'donations_discounts'
=
>
0
,
'event_cck'
=
>
0
,
'grants'
=
>
0
,
'image_import'
=
>
0
,
'internal_page'
=
>
0
,
'job'
=
>
0
,
'job_import'
=
>
0
,
'organization'
=
>
0
,
'page'
=
>
0
,
'podcast'
=
>
0
,
'quote'
=
>
0
,
'resume'
=
>
0
,
'techmission_page'
=
>
0
,
'twitter'
=
>
0
,
'twitter_import'
=
>
0
,
'uprofile'
=
>
0
,
'video_import'
=
>
0
,
'video_import_feed'
=
>
0
,
'volunteer_match'
=
>
0
,
'volunteer_opportunity'
=
>
0
,
'weblink_cck'
=
>
0
,
)
,
'validate_argument_node_access'
=
>
0
,
'validate_argument_nid_type'
=
>
'nid'
,
'validate_argument_vocabulary'
=
>
array
(
'280'
=
>
0
,
'54'
=
>
0
,
'265'
=
>
0
,
'36'
=
>
0
,
'286'
=
>
0
,
'331'
=
>
0
,
'10'
=
>
0
,
'8'
=
>
0
,
'288'
=
>
0
,
'15'
=
>
0
,
'258'
=
>
0
,
'259'
=
>
0
,
'330'
=
>
0
,
'11'
=
>
0
,
'261'
=
>
0
,
'272'
=
>
0
,
'271'
=
>
0
,
'19'
=
>
0
,
'281'
=
>
0
,
'4'
=
>
0
,
'337'
=
>
0
,
'35'
=
>
0
,
'26'
=
>
0
,
'266'
=
>
0
,
'269'
=
>
0
,
'30'
=
>
0
,
'48'
=
>
0
,
'263'
=
>
0
,
'13'
=
>
0
,
'5'
=
>
0
,
'42'
=
>
0
,
'285'
=
>
0
,
'267'
=
>
0
,
'340'
=
>
0
,
'338'
=
>
0
,
'339'
=
>
0
,
'3'
=
>
0
,
'336'
=
>
0
,
'268'
=
>
0
,
'34'
=
>
0
,
'287'
=
>
0
,
'40'
=
>
0
,
'41'
=
>
0
,
'279'
=
>
0
,
'273'
=
>
0
,
'38'
=
>
0
,
'32'
=
>
0
,
'6'
=
>
0
,
'31'
=
>
0
,
'12'
=
>
0
,
'52'
=
>
0
,
'24'
=
>
0
,
'23'
=
>
0
,
'37'
=
>
0
,
'25'
=
>
0
,
'22'
=
>
0
,
'17'
=
>
0
,
'20'
=
>
0
,
'21'
=
>
0
,
'335'
=
>
0
,
'51'
=
>
0
,
'47'
=
>
0
,
'262'
=
>
0
,
'33'
=
>
0
,
'46'
=
>
0
,
'332'
=
>
0
,
'18'
=
>
0
,
'264'
=
>
0
,
'28'
=
>
0
,
'9'
=
>
0
,
'284'
=
>
0
,
'53'
=
>
0
,
'289'
=
>
0
,
'328'
=
>
0
,
'290'
=
>
0
,
'291'
=
>
0
,
'292'
=
>
0
,
'293'
=
>
0
,
'294'
=
>
0
,
'295'
=
>
0
,
'296'
=
>
0
,
'329'
=
>
0
,
'297'
=
>
0
,
'298'
=
>
0
,
'299'
=
>
0
,
'300'
=
>
0
,
'301'
=
>
0
,
'302'
=
>
0
,
'303'
=
>
0
,
'304'
=
>
0
,
'305'
=
>
0
,
'306'
=
>
0
,
'307'
=
>
0
,
'308'
=
>
0
,
'309'
=
>
0
,
'310'
=
>
0
,
'311'
=
>
0
,
'312'
=
>
0
,
'313'
=
>
0
,
'314'
=
>
0
,
'315'
=
>
0
,
'316'
=
>
0
,
'317'
=
>
0
,
'318'
=
>
0
,
'319'
=
>
0
,
'320'
=
>
0
,
'321'
=
>
0
,
'322'
=
>
0
,
'323'
=
>
0
,
'324'
=
>
0
,
'325'
=
>
0
,
'326'
=
>
0
,
'327'
=
>
0
,
)
,
'validate_argument_type'
=
>
'tid'
,
'validate_argument_transform'
=
>
0
,
'validate_user_restrict_roles'
=
>
1
,
'validate_argument_php'
=
>
''
,
'me_redirect'
=
>
1
,
'me_validate_user_argument_type'
=
>
'uid'
,
'me_validate_user_roles'
=
>
array
(
'2'
=
>
0
,
'5'
=
>
0
,
'16'
=
>
0
,
'15'
=
>
0
,
'7'
=
>
0
,
'10'
=
>
0
,
'22'
=
>
0
,
'14'
=
>
0
,
'9'
=
>
0
,
'3'
=
>
0
,
'4'
=
>
0
,
'6'
=
>
0
,
'17'
=
>
0
,
'18'
=
>
0
,
'21'
=
>
0
,
)
,
'validate_argument_node_flag_name'
=
>
'*relationship*'
,
'validate_argument_node_flag_test'
=
>
'flaggable'
,
'validate_argument_node_flag_id_type'
=
>
'id'
,
'validate_argument_user_flag_name'
=
>
'*relationship*'
,
'validate_argument_user_flag_test'
=
>
'flaggable'
,
'validate_argument_user_flag_id_type'
=
>
'id'
,
'me_validate_user_restrict_roles'
=
>
0
,
'image_size'
=
>
array
(
'_original'
=
>
'_original'
,
'thumbnail'
=
>
'thumbnail'
,
'preview'
=
>
'preview'
,
)
,
'override'
=
>
array
(
'button'
=
>
'Override'
,
)
,
'default_argument_image_size'
=
>
'_original'
,
)
,
)
)
;
$handler
-
>
override_option
(
'filters'
,
array
(
'type'
=
>
array
(
'operator'
=
>
'in'
,
'value'
=
>
array
(
'blog'
=
>
'blog'
,
'audio'
=
>
'audio'
,
'image'
=
>
'image'
,
'weblink'
=
>
'weblink'
,
'product'
=
>
'product'
,
'forum'
=
>
'forum'
,
'amazon_book'
=
>
'amazon_book'
,
'book'
=
>
'book'
,
'cityvision'
=
>
'cityvision'
,
'consultant_listing'
=
>
'consultant_listing'
,
'donations_discounts'
=
>
'donations_discounts'
,
'event_cck'
=
>
'event_cck'
,
'grants'
=
>
'grants'
,
'job'
=
>
'job'
,
'organization'
=
>
'organization'
,
'page'
=
>
'page'
,
'resume'
=
>
'resume'
,
'video_import'
=
>
'video_import'
,
'volunteer_opportunity'
=
>
'volunteer_opportunity'
,
)
,
'group'
=
>
'0'
,
'exposed'
=
>
FALSE
,
'expose'
=
>
array
(
'operator'
=
>
FALSE
,
'label'
=
>
''
,
)
,
'id'
=
>
'type'
,
'table'
=
>
'node'
,
'field'
=
>
'type'
,
'relationship'
=
>
'none'
,
)
,
'moderate'
=
>
array
(
'operator'
=
>
'='
,
'value'
=
>
'0'
,
'group'
=
>
'0'
,
'exposed'
=
>
FALSE
,
'expose'
=
>
array
(
'operator'
=
>
FALSE
,
'label'
=
>
''
,
)
,
'id'
=
>
'moderate'
,
'table'
=
>
'node'
,
'field'
=
>
'moderate'
,
'relationship'
=
>
'none'
,
)
,
'status'
=
>
array
(
'operator'
=
>
'='
,
'value'
=
>
'1'
,
'group'
=
>
'0'
,
'exposed'
=
>
FALSE
,
'expose'
=
>
array
(
'operator'
=
>
FALSE
,
'label'
=
>
''
,
)
,
'id'
=
>
'status'
,
'table'
=
>
'node'
,
'field'
=
>
'status'
,
'relationship'
=
>
'none'
,
)
,
)
)
;
$handler
-
>
override_option
(
'access'
,
array
(
'type'
=
>
'role'
,
'role'
=
>
array
(
'2'
=
>
'2'
,
'5'
=
>
'5'
,
'7'
=
>
'7'
,
'3'
=
>
'3'
,
'4'
=
>
'4'
,
'6'
=
>
'6'
,
'8'
=
>
'8'
,
)
,
'perm'
=
>
''
,
)
)
;
$handler
-
>
override_option
(
'cache'
,
array
(
'type'
=
>
'time'
,
'results_lifespan'
=
>
'21600'
,
'output_lifespan'
=
>
'21600'
,
)
)
;
$handler
-
>
override_option
(
'title'
,
'User Contributions'
)
;
$handler
-
>
override_option
(
'header_format'
,
'1'
)
;
$handler
-
>
override_option
(
'footer_format'
,
'1'
)
;
$handler
-
>
override_option
(
'empty'
,
'No posts found.'
)
;
$handler
-
>
override_option
(
'empty_format'
,
'1'
)
;
$handler
-
>
override_option
(
'items_per_page'
,
'15'
)
;
$handler
-
>
override_option
(
'use_pager'
,
'0'
)
;
$handler
-
>
override_option
(
'use_more'
, 1
)
;
$handler
-
>
override_option
(
'use_more_always'
, 0
)
;
$handler
-
>
override_option
(
'style_plugin'
,
'table'
)
;
$handler
-
>
override_option
(
'style_options'
,
array
(
'columns'
=
>
array
(
)
,
'default'
=
>
''
,
'info'
=
>
array
(
)
,
'override'
=
>
FALSE
,
'order'
=
>
'asc'
,
)
)
;
$handler
=
$view
-
>
new_display
(
'page'
,
'Page'
,
'page_1'
)
;
$handler
-
>
override_option
(
'fields'
,
array
(
'title'
=
>
array
(
'id'
=
>
'title'
,
'table'
=
>
'node'
,
'field'
=
>
'title'
,
'label'
=
>
'Title'
,
'link_to_node'
=
>
TRUE
,
)
,
'created'
=
>
array
(
'label'
=
>
'Created'
,
'alter'
=
>
array
(
'alter_text'
=
>
0
,
'text'
=
>
''
,
'make_link'
=
>
0
,
'path'
=
>
''
,
'link_class'
=
>
''
,
'alt'
=
>
''
,
'prefix'
=
>
''
,
'suffix'
=
>
''
,
'target'
=
>
''
,
'help'
=
>
''
,
'trim'
=
>
0
,
'max_length'
=
>
''
,
'word_boundary'
=
>
1
,
'ellipsis'
=
>
1
,
'html'
=
>
0
,
'strip_tags'
=
>
0
,
)
,
'empty'
=
>
''
,
'hide_empty'
=
>
0
,
'empty_zero'
=
>
0
,
'date_format'
=
>
'small'
,
'custom_date_format'
=
>
''
,
'exclude'
=
>
0
,
'id'
=
>
'created'
,
'table'
=
>
'node'
,
'field'
=
>
'created'
,
'override'
=
>
array
(
'button'
=
>
'Use default'
,
)
,
'relationship'
=
>
'none'
,
)
,
'last_updated'
=
>
array
(
'label'
=
>
'Updated'
,
'alter'
=
>
array
(
'alter_text'
=
>
0
,
'text'
=
>
''
,
'make_link'
=
>
0
,
'path'
=
>
''
,
'link_class'
=
>
''
,
'alt'
=
>
''
,
'prefix'
=
>
''
,
'suffix'
=
>
''
,
'target'
=
>
''
,
'help'
=
>
''
,
'trim'
=
>
0
,
'max_length'
=
>
''
,
'word_boundary'
=
>
1
,
'ellipsis'
=
>
1
,
'html'
=
>
0
,
'strip_tags'
=
>
0
,
)
,
'empty'
=
>
''
,
'hide_empty'
=
>
0
,
'empty_zero'
=
>
0
,
'date_format'
=
>
'small'
,
'custom_date_format'
=
>
''
,
'exclude'
=
>
0
,
'id'
=
>
'last_updated'
,
'table'
=
>
'node_comment_statistics'
,
'field'
=
>
'last_updated'
,
'override'
=
>
array
(
'button'
=
>
'Use default'
,
)
,
'relationship'
=
>
'none'
,
)
,
)
)
;
$handler
-
>
override_option
(
'items_per_page'
, 50
)
;
$handler
-
>
override_option
(
'use_pager'
,
'mini'
)
;
$handler
-
>
override_option
(
'path'
,
'user/%/tracker'
)
;
$handler
-
>
override_option
(
'menu'
,
array
(
'type'
=
>
'none'
,
'title'
=
>
''
,
'description'
=
>
''
,
'weight'
=
>
0
,
'name'
=
>
'navigation'
,
)
)
;
$handler
-
>
override_option
(
'tab_options'
,
array
(
'type'
=
>
'none'
,
'title'
=
>
''
,
'description'
=
>
''
,
'weight'
=
>
0
,
'name'
=
>
'navigation'
,
)
)
;
user
views
Submit Fix
Summary:
Tags:
Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Show summary in full view
$view = new view; $view->name = 'user_tracker'; $view->description = 'Shows posts started by or participated in by a given user'; $view->tag = ''; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->override_option('fields', array( 'title' => array( 'id' => 'title', 'table' => 'node', 'field' => 'title', 'label' => 'Title', 'link_to_node' => TRUE, ), 'created' => array( 'label' => 'Created', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'date_format' => 'small', 'custom_date_format' => '', 'exclude' => 0, 'id' => 'created', 'table' => 'node', 'field' => 'created', 'relationship' => 'none', ), )); $handler->override_option('sorts', array( 'last_comment_timestamp' => array( 'id' => 'last_comment_timestamp', 'table' => 'node_comment_statistics', 'field' => 'last_comment_timestamp', 'order' => 'DESC', ), )); $handler->override_option('arguments', array( 'uid' => array( 'default_action' => 'default', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'breadcrumb' => '', 'default_argument_type' => 'current_user', 'default_argument' => '', 'validate_type' => 'user', 'validate_fail' => 'empty', 'break_phrase' => 0, 'not' => 0, 'me_alias' => 1, 'id' => 'uid', 'table' => 'users', 'field' => 'uid', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( '2' => 2, '5' => 5, '16' => 16, '15' => 15, '7' => 7, '10' => 10, '14' => 14, '9' => 9, '3' => 3, '4' => 4, '6' => 6, '17' => 17, '18' => 18, '22' => 0, '21' => 0, ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'webform' => 0, 'blog' => 0, 'ad' => 0, 'audio' => 0, 'daily_container' => 0, 'image' => 0, 'product' => 0, 'forum' => 0, 'amazon_book' => 0, 'bible_verse' => 0, 'blogs_import' => 0, 'book' => 0, 'church' => 0, 'cityvision' => 0, 'consultant_listing' => 0, 'donations_discounts' => 0, 'event_cck' => 0, 'grants' => 0, 'image_import' => 0, 'internal_page' => 0, 'job' => 0, 'job_import' => 0, 'organization' => 0, 'page' => 0, 'podcast' => 0, 'quote' => 0, 'resume' => 0, 'techmission_page' => 0, 'twitter' => 0, 'twitter_import' => 0, 'uprofile' => 0, 'video_import' => 0, 'video_import_feed' => 0, 'volunteer_match' => 0, 'volunteer_opportunity' => 0, 'weblink_cck' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '280' => 0, '54' => 0, '265' => 0, '36' => 0, '286' => 0, '331' => 0, '10' => 0, '8' => 0, '288' => 0, '15' => 0, '258' => 0, '259' => 0, '330' => 0, '11' => 0, '261' => 0, '272' => 0, '271' => 0, '19' => 0, '281' => 0, '4' => 0, '337' => 0, '35' => 0, '26' => 0, '266' => 0, '269' => 0, '30' => 0, '48' => 0, '263' => 0, '13' => 0, '5' => 0, '42' => 0, '285' => 0, '267' => 0, '340' => 0, '338' => 0, '339' => 0, '3' => 0, '336' => 0, '268' => 0, '34' => 0, '287' => 0, '40' => 0, '41' => 0, '279' => 0, '273' => 0, '38' => 0, '32' => 0, '6' => 0, '31' => 0, '12' => 0, '52' => 0, '24' => 0, '23' => 0, '37' => 0, '25' => 0, '22' => 0, '17' => 0, '20' => 0, '21' => 0, '335' => 0, '51' => 0, '47' => 0, '262' => 0, '33' => 0, '46' => 0, '332' => 0, '18' => 0, '264' => 0, '28' => 0, '9' => 0, '284' => 0, '53' => 0, '289' => 0, '328' => 0, '290' => 0, '291' => 0, '292' => 0, '293' => 0, '294' => 0, '295' => 0, '296' => 0, '329' => 0, '297' => 0, '298' => 0, '299' => 0, '300' => 0, '301' => 0, '302' => 0, '303' => 0, '304' => 0, '305' => 0, '306' => 0, '307' => 0, '308' => 0, '309' => 0, '310' => 0, '311' => 0, '312' => 0, '313' => 0, '314' => 0, '315' => 0, '316' => 0, '317' => 0, '318' => 0, '319' => 0, '320' => 0, '321' => 0, '322' => 0, '323' => 0, '324' => 0, '325' => 0, '326' => 0, '327' => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 1, 'validate_argument_php' => '', 'me_redirect' => 1, 'me_validate_user_argument_type' => 'uid', 'me_validate_user_roles' => array( '2' => 0, '5' => 0, '16' => 0, '15' => 0, '7' => 0, '10' => 0, '22' => 0, '14' => 0, '9' => 0, '3' => 0, '4' => 0, '6' => 0, '17' => 0, '18' => 0, '21' => 0, ), 'validate_argument_node_flag_name' => '*relationship*', 'validate_argument_node_flag_test' => 'flaggable', 'validate_argument_node_flag_id_type' => 'id', 'validate_argument_user_flag_name' => '*relationship*', 'validate_argument_user_flag_test' => 'flaggable', 'validate_argument_user_flag_id_type' => 'id', 'me_validate_user_restrict_roles' => 0, 'image_size' => array( '_original' => '_original', 'thumbnail' => 'thumbnail', 'preview' => 'preview', ), 'override' => array( 'button' => 'Override', ), 'default_argument_image_size' => '_original', ), )); $handler->override_option('filters', array( 'type' => array( 'operator' => 'in', 'value' => array( 'blog' => 'blog', 'audio' => 'audio', 'image' => 'image', 'weblink' => 'weblink', 'product' => 'product', 'forum' => 'forum', 'amazon_book' => 'amazon_book', 'book' => 'book', 'cityvision' => 'cityvision', 'consultant_listing' => 'consultant_listing', 'donations_discounts' => 'donations_discounts', 'event_cck' => 'event_cck', 'grants' => 'grants', 'job' => 'job', 'organization' => 'organization', 'page' => 'page', 'resume' => 'resume', 'video_import' => 'video_import', 'volunteer_opportunity' => 'volunteer_opportunity', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'moderate' => array( 'operator' => '=', 'value' => '0', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'moderate', 'table' => 'node', 'field' => 'moderate', 'relationship' => 'none', ), 'status' => array( 'operator' => '=', 'value' => '1', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status', 'table' => 'node', 'field' => 'status', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'role', 'role' => array( '2' => '2', '5' => '5', '7' => '7', '3' => '3', '4' => '4', '6' => '6', '8' => '8', ), 'perm' => '', )); $handler->override_option('cache', array( 'type' => 'time', 'results_lifespan' => '21600', 'output_lifespan' => '21600', )); $handler->override_option('title', 'User Contributions'); $handler->override_option('header_format', '1'); $handler->override_option('footer_format', '1'); $handler->override_option('empty', 'No posts found.'); $handler->override_option('empty_format', '1'); $handler->override_option('items_per_page', '15'); $handler->override_option('use_pager', '0'); $handler->override_option('use_more', 1); $handler->override_option('use_more_always', 0); $handler->override_option('style_plugin', 'table'); $handler->override_option('style_options', array( 'columns' => array(), 'default' => '', 'info' => array(), 'override' => FALSE, 'order' => 'asc', )); $handler = $view->new_display('page', 'Page', 'page_1'); $handler->override_option('fields', array( 'title' => array( 'id' => 'title', 'table' => 'node', 'field' => 'title', 'label' => 'Title', 'link_to_node' => TRUE, ), 'created' => array( 'label' => 'Created', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'date_format' => 'small', 'custom_date_format' => '', 'exclude' => 0, 'id' => 'created', 'table' => 'node', 'field' => 'created', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'last_updated' => array( 'label' => 'Updated', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'date_format' => 'small', 'custom_date_format' => '', 'exclude' => 0, 'id' => 'last_updated', 'table' => 'node_comment_statistics', 'field' => 'last_updated', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('items_per_page', 50); $handler->override_option('use_pager', 'mini'); $handler->override_option('path', 'user/%/tracker'); $handler->override_option('menu', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', ));
Syntax highlighting mode:
ActionScript
ColdFusion
Diff
Drupal 5
Drupal 6
HTML
INI
Javascript
MySQL
PHP
Python
robots.txt
SQL
Text
Select the syntax highlighting mode to use.
See Also:
Order
Title:
URL:
-1
0
1
Title:
URL:
-1
0
1
Any links you'd like to have associated with the post (Drupal.org issue, Wikipedia article, etc).
File attachments
Changes made to the attachments are not permanent until you save this post. The first "listed" file will be included in RSS feeds.
Attach new file:
The maximum upload size is
1 MB
. Only files with the following extensions may be uploaded:
jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp phps
.