Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2009 at 09:48 UTC
Updated:
11 Jul 2010 at 00:20 UTC
Hello,
The unformatted style allow to display views-row-even and views-row-odd classes. But is it possible to display the node tid as class?
Thanks
Comments
Comment #1
dawehnersry.
can you say what for a view you created?
is this a node or a term view?
export your view thx!
Comment #2
spasmody commentedso, it is simple. Here is an extract of the output of the view (I think I don't need to export it) :
and so on...
My goal is to display the taxonomy category of the node in addition to views-rows...
For example if the node is a 'cat1' node then display something like that :
or alternatively the tid of the node, in order to theme the rows according to taxonomy using css.
So I use unformatted style with fields row style.
I guess this feature is easy to obtain but I don't know what to write in the views-view-unformatted.tpl.php file.
Please help me. I really need it.
AV
Comment #3
dawehnerthis is preprocess script which does this:
it adds term-$tid to the class.
Comment #4
spasmody commentedWhere do you put the script exactly? For Drupal 6x a themeName_preprocess_hook has to be put in the theme's template.php file but it doesn't work. I actually use garland but I don't obtain the expected result. Is it the right hook? Why not a template_preprocess_hook?
Comment #5
spasmody commentedComment #6
dawehnerdid you just copied this code into your garland template.php?
then you have to remove clear theme registry cache and all will be fine.
Comment #7
spasmody commentedYes definitely, it is working fine!
Thank you dereine
Comment #8
spasmody commentedI spoke too quickly. There remains a persistence problem of the display of classes. When I save a classified node (with some taxonomy term), all the unclassified nodes (without term) take the term class. Then I have to republish them to override the display of the class. Do you understand? Is the category required?
Comment #9
spasmody commentedok the solution is simple :
Comment #10
edeation commentedThese scripts don't work. The idea of dereine is nice but there is still a problem with the adds of classes, I mean the function and the conditional structure are ok but there is probably something wrong with the code
because terms don't match with nodes taxonomy.
Any idea?
Comment #11
dawehnerdo you have a views of taxonomy terms?
i'm not really sure what you mean here
Comment #12
edeation commentedyes here is my view :
where taxonomy is off course enabled for my content type 'event' (in my case only one vocabulary is enabled).
The problem is that the tid classes don't match with the right taxonomy terms.
For instance I have 4 events respectively from tid 1, 2, 1, 2, then strangely I obtain term-1, term-1, term-2, term-1.
I don't understand why.
Comment #13
dawehneroh man can you answer what i asced?
Comment #14
edeation commentedyes here is my view (I don't know why the php tags don't work)
$view = new view;
$view->name = 'agenda2';
$view->description = 'Browse through nodes by year, month, day, or week. Date browser attachment adds back/next navigation to the top of the page.';
$view->tag = 'Agenda2';
$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(
'field_date_value' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'default',
'multiple' => array(
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
'group' => TRUE,
),
'repeat' => array(
'show_repeat_rule' => '',
),
'fromto' => array(
'fromto' => 'value',
),
'exclude' => 0,
'id' => 'field_date_value',
'table' => 'node_data_field_date',
'field' => 'field_date_value',
'relationship' => 'none',
),
'field_flyer_fid' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'vignette 100x100_linked',
'multiple' => array(
'group' => 1,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => 0,
),
'exclude' => 0,
'id' => 'field_flyer_fid',
'table' => 'node_data_field_flyer',
'field' => 'field_flyer_fid',
'relationship' => 'none',
),
'tid' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'imagecache_preset' => '',
'link_to_taxonomy' => 0,
'exclude' => 0,
'id' => 'tid',
'table' => 'term_image',
'field' => 'tid',
'relationship' => 'none',
),
'nothing_2' => array(
'label' => '',
'alter' => array(
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'exclude' => 0,
'id' => 'nothing_2',
'table' => 'views',
'field' => 'nothing',
'relationship' => 'none',
),
'title' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
),
'link_to_node' => 1,
'exclude' => 0,
'id' => 'title',
'table' => 'node',
'field' => 'title',
'relationship' => 'none',
),
'field_lieu_nid' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => 'agenda_lieu',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
),
'link_to_node' => 1,
'label_type' => 'none',
'format' => 'default',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 0,
'id' => 'field_lieu_nid',
'table' => 'node_data_field_lieu',
'field' => 'field_lieu_nid',
'relationship' => 'none',
),
'nothing_1' => array(
'label' => '',
'alter' => array(
'text' => '-',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
),
'exclude' => 0,
'id' => 'nothing_1',
'table' => 'views',
'field' => 'nothing',
'relationship' => 'none',
),
'field_artiste_dj_value' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'default',
'multiple' => array(
'group' => 1,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => 0,
),
'exclude' => 0,
'id' => 'field_artiste_dj_value',
'table' => 'node_data_field_artiste_dj',
'field' => 'field_artiste_dj_value',
'relationship' => 'none',
),
'nothing_6' => array(
'label' => '',
'alter' => array(
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'exclude' => 0,
'id' => 'nothing_6',
'table' => 'views',
'field' => 'nothing',
'relationship' => 'none',
),
'field_live_value' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'default',
'multiple' => array(
'group' => 1,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => 0,
),
'exclude' => 0,
'id' => 'field_live_value',
'table' => 'node_data_field_live',
'field' => 'field_live_value',
'relationship' => 'none',
),
'field_mc_value' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'default',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 0,
'id' => 'field_mc_value',
'table' => 'node_data_field_mc',
'field' => 'field_mc_value',
'relationship' => 'none',
),
'field_performers_value' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'plain',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 0,
'id' => 'field_performers_value',
'table' => 'node_data_field_performers',
'field' => 'field_performers_value',
'relationship' => 'none',
),
'field_artiste_vj_value' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'default',
'multiple' => array(
'group' => 1,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => 0,
),
'exclude' => 0,
'id' => 'field_artiste_vj_value',
'table' => 'node_data_field_artiste_vj',
'field' => 'field_artiste_vj_value',
'relationship' => 'none',
),
'addtocartlink' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'exclude' => 0,
'id' => 'addtocartlink',
'table' => 'uc_products',
'field' => 'addtocartlink',
'relationship' => 'none',
),
'view_node' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'text' => 'S\'inscrire',
'exclude' => 0,
'id' => 'view_node',
'table' => 'node',
'field' => 'view_node',
'relationship' => 'none',
),
'nothing' => array(
'label' => '',
'alter' => array(
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'exclude' => 0,
'id' => 'nothing',
'table' => 'views',
'field' => 'nothing',
'relationship' => 'none',
),
'field_horaire_value' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '| ',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
),
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'default',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 0,
'id' => 'field_horaire_value',
'table' => 'node_data_field_horaire',
'field' => 'field_horaire_value',
'relationship' => 'none',
),
'field_tarif_sur_place_value' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'alt' => '',
'prefix' => '| ',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'fr_0',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 0,
'id' => 'field_tarif_sur_place_value',
'table' => 'node_data_field_tarif_sur_place',
'field' => 'field_tarif_sur_place_value',
'relationship' => 'none',
),
'field_type_value' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => 'agenda_type',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'default',
'multiple' => array(
'group' => TRUE,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => FALSE,
),
'exclude' => 0,
'id' => 'field_type_value',
'table' => 'node_data_field_type',
'field' => 'field_type_value',
'relationship' => 'none',
),
'field_genre_value' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => 'agenda_genre',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '12',
'word_boundary' => 0,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'link_to_node' => 0,
'label_type' => 'none',
'format' => 'default',
'multiple' => array(
'group' => 1,
'multiple_number' => '',
'multiple_from' => '',
'multiple_reversed' => 0,
),
'exclude' => 0,
'id' => 'field_genre_value',
'table' => 'node_data_field_genre',
'field' => 'field_genre_value',
'relationship' => 'none',
),
));
$handler->override_option('sorts', array(
'field_date_value' => array(
'order' => 'ASC',
'delta' => -1,
'id' => 'field_date_value',
'table' => 'node_data_field_date',
'field' => 'field_date_value',
'override' => array(
'button' => 'Supplanter',
),
'relationship' => 'none',
),
));
$handler->override_option('arguments', array(
'date_argument' => array(
'default_action' => 'default',
'style_plugin' => 'default_summary',
'style_options' => array(),
'wildcard' => 'all',
'wildcard_substitution' => 'Tous / Toutes',
'title' => '',
'default_argument_type' => 'date',
'default_argument' => '',
'validate_type' => 'none',
'validate_fail' => 'not found',
'date_fields' => array(
'node_data_field_date.field_date_value' => 'node_data_field_date.field_date_value',
),
'year_range' => '-3:+3',
'date_method' => 'OR',
'granularity' => 'year',
'id' => 'date_argument',
'table' => 'node',
'field' => 'date_argument',
'override' => array(
'button' => 'Supplanter',
),
'relationship' => 'none',
'default_options_div_prefix' => '',
'default_argument_user' => 0,
'default_argument_fixed' => '',
'default_argument_php' => '',
'validate_argument_node_type' => array(
'event' => 'event',
'image' => 0,
'rotor_item' => 0,
'forum' => 0,
'flyer' => 0,
'lieu' => 0,
'organisateur' => 0,
'page' => 0,
'story' => 0,
'video' => 0,
),
'validate_argument_node_access' => 0,
'validate_argument_nid_type' => 'nid',
'validate_argument_vocabulary' => array(
'1' => 0,
'7' => 0,
'2' => 0,
'6' => 0,
'5' => 0,
'4' => 0,
'9' => 0,
'3' => 0,
),
'validate_argument_type' => 'tid',
'user_argument_type' => '',
'restrict_user_roles' => 0,
'user_roles' => array(),
'validate_argument_php' => '',
),
));
$handler->override_option('filters', array(
'type' => array(
'operator' => 'in',
'value' => array(
'product' => 'product',
'event' => 'event',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'type',
'table' => 'node',
'field' => 'type',
'override' => array(
'button' => 'Supplanter',
),
'relationship' => 'none',
),
'field_type_value' => array(
'operator' => 'or',
'value' => array(),
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 0,
'operator' => 'field_type_value_op',
'identifier' => 'field_type_value',
'label' => 'Type',
'optional' => 1,
'single' => 1,
'remember' => 0,
'reduce' => 0,
),
'id' => 'field_type_value',
'table' => 'node_data_field_type',
'field' => 'field_type_value',
'override' => array(
'button' => 'Supplanter',
),
'relationship' => 'none',
'reduce_duplicates' => 1,
),
'field_genre_value' => array(
'operator' => 'or',
'value' => array(),
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 0,
'operator' => 'field_genre_value_op',
'identifier' => 'field_genre_value',
'label' => 'Genre',
'optional' => 1,
'single' => 1,
'remember' => 0,
'reduce' => 0,
),
'id' => 'field_genre_value',
'table' => 'node_data_field_genre',
'field' => 'field_genre_value',
'override' => array(
'button' => 'Supplanter',
),
'relationship' => 'none',
'reduce_duplicates' => 1,
),
'field_lieu_nid' => array(
'operator' => 'or',
'value' => array(),
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 0,
'operator' => 'field_lieu_nid_op',
'identifier' => 'field_lieu_nid',
'label' => 'Lieu',
'optional' => 1,
'single' => 1,
'remember' => 0,
'reduce' => 0,
),
'id' => 'field_lieu_nid',
'table' => 'node_data_field_lieu',
'field' => 'field_lieu_nid',
'override' => array(
'button' => 'Supplanter',
),
'relationship' => 'none',
'reduce_duplicates' => 1,
),
'date_filter' => array(
'operator' => '=',
'value' => array(
'value' => NULL,
'min' => NULL,
'max' => NULL,
'default_date' => '2009',
'default_to_date' => '',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => 'date_filter_op',
'label' => 'Date',
'use_operator' => 0,
'identifier' => 'date_filter',
'optional' => 0,
'remember' => 0,
),
'date_fields' => array(
'node_data_field_date.field_date_value' => 'node_data_field_date.field_date_value',
),
'date_method' => 'OR',
'granularity' => 'day',
'form_type' => 'date_select',
'default_date' => '2009',
'default_to_date' => '',
'year_range' => '2009:2009',
'id' => 'date_filter',
'table' => 'comments',
'field' => 'date_filter',
'relationship' => 'none',
),
));
$handler->override_option('access', array(
'type' => 'none',
'role' => array(),
'perm' => '',
));
$handler->override_option('empty', 'La requête n\'a donné aucun résultat.');
$handler->override_option('empty_format', '1');
$handler->override_option('use_ajax', TRUE);
$handler->override_option('items_per_page', 15);
$handler->override_option('use_pager', '1');
$handler->override_option('style_options', array(
'grouping' => 'field_date_value',
));
$handler->override_option('row_options', array(
'inline' => array(
'field_flyer_fid' => 'field_flyer_fid',
'title' => 'title',
'field_lieu_nid' => 'field_lieu_nid',
'field_live_value' => 'field_live_value',
'field_mc_value' => 'field_mc_value',
'field_performers_value' => 'field_performers_value',
'field_artiste_vj_value' => 'field_artiste_vj_value',
'field_horaire_value' => 'field_horaire_value',
'field_tarif_sur_place_value' => 'field_tarif_sur_place_value',
'field_type_value' => 'field_type_value',
'field_genre_value' => 'field_genre_value',
),
'separator' => '',
));
where taxonomy is off course enabled for my content type 'event' (in my case only one vocabulary is enabled).
The problem is that the tid classes don't match with the right taxonomy terms.
For instance I have 4 events respectively from tid 1, 2, 1, 2, then strangely I obtain term-1, term-1, term-2, term-1.
I don't understand why.
Comment #15
dawehnerdo you want to do once
I think then you / or i :) can see the content, perhaps its then possible to help
Comment #16
spasmody commentedComment #17
edeation commentedok the problem is confirmed.
I get
while the view return
There is a critical problem regarding the second node. It is a bug of my view?
Comment #18
dawehnerPerhaps try out this.
Comment #19
edeation commentednow I obtain
it is incomprehensible
Comment #20
edeation commentedI totally rebuilded my view and I finally found the origin of problem. When I specify a field by which to group the records, the preprocess script doesn't work but if I leave blank to not group, the script works fine. I think the preprocess script is incompatible with grouping field option in views. It is a bit exasperating. Can I add something at the script to solve the problem?
Comment #21
edeation commentedComment #22
aren cambre commentedI don't understand why the solution is to modify the Drupal theme. Wouldn't the best solution be for Views to add a node's
term-$tids to the list of CSS classes for each row?Comment #23
dboulet commentedRegarding #20, the reason that the code doesn't work when using a grouping field is because it uses data from
$vars['view']->result, which contains the data for all results, and not just the results specific to that group. That means that, when using a grouping field, the data in the first row in the table no longer necessarily corresponds to the data in the first item in$vars['view']->result. I've submitted a patch that would allow a work around for this problem, see #536994: Store row data for future use in views table preprocess functions.Comment #24
aschiwi commented#22: do you have working code to do that?
#23: Looks like the patch has been committed, so I installed latest Views dev but I still get the wrong output for the term id. Too bad you can't output views fields in views-view-unformatted.tpl.php...
Comment #25
mattez commentedI wanted to simplify views list classes from something like this
to
I problem was I had views formatted as HTML list.
So if I want to override (simplify) classes in view I should do it in template_preprocess_views_view_unformatted like above.
BUT function for list is template_preprocess_views_view_list so a have to override it to.
My solution:
Comment #26
dawehnerSO this is fixed
Comment #27
aren cambre commentedI think these are all workarounds until #22 is satisfied.
Comment #28
merlinofchaos commentedNo, if you go down that road you're going to have to add anything anybody might want, ever, as a class. That is incredibly silly.
This has been marked a bug but I don't see what the bug being reported is. As far as I can tell, this is a support request and it's been answered.