Hi,
I built up a USER view with a 'all terms' field.
My problem : it shows "Array" instead of the actual term like "Man" or "Woman".
Any idea ?
Here is the View :
$view = new view;
$view->name = 'UserTitle';
$view->description = '';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'users';
$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', 'Paramètres par défaut', 'default');
$handler->override_option('fields', array(
'name' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'link_to_user' => 1,
'overwrite_anonymous' => 0,
'anonymous_text' => '',
'exclude' => 0,
'id' => 'name',
'table' => 'users',
'field' => 'name',
'relationship' => 'none',
),
'tid' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '[tid]',
'make_link' => 0,
'path' => 'users/[tid]',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'strip_tags' => 0,
'html' => 0,
),
'type' => 'separator',
'separator' => ', ',
'empty' => '',
'link_to_taxonomy' => 1,
'limit' => 1,
'vids' => array(
'5' => 5,
),
'exclude' => 0,
'id' => 'tid',
'table' => 'term_user',
'field' => 'tid',
'relationship' => 'none',
),
));
$handler->override_option('access', array(
'type' => 'none',
));
$handler->override_option('cache', array(
'type' => 'none',
));
Comments
Comment #1
gregoiresan CreditAttribution: gregoiresan commentedAlhoa ?
Comment #2
joachim CreditAttribution: joachim commentedWorks fine for me. Check you're on the latest version, clear your caches, etc.
Comment #3
gregoiresan CreditAttribution: gregoiresan commentedI did that already but it is still not showing the taxonomy terms. Would it be related t another module ? like Hierarchichal select for example ?
Comment #4
joachim CreditAttribution: joachim commentedShouldn't think so, as those wouldn't change the stored data. Did you clear your *views* cache? That one is easily missed.
Comment #5
gregoiresan CreditAttribution: gregoiresan commentedI've just done it. It doesn't make any change.... Anything related to the installation ? You know I had a conflict between two modules because of Profile Privacy if I remember it well. I had to uninstall it. Actually, I have uninstall many profile modules. I start to feel that I should use content profile, even if I find it heavy to use.
Thanx for your help anyway... I start to become crazy with this /-(
Comment #6
gregoiresan CreditAttribution: gregoiresan commentedI have done a major update on my site.
I also separate my user taxonomy in 2 categories. My view is no showing a taxonomy with no children term.
The problem is solved.
Comment #7
gregoiresan CreditAttribution: gregoiresan commentedfixed
Comment #8
joachim CreditAttribution: joachim commentedIt sounds like the update fixed it. Good to hear; setting final status to something more fitting.
Comment #9
gregoiresan CreditAttribution: gregoiresan commentedI am not sure about the update of the module itself. I was wondering if it was from another module's issue or because of Taxonomy depth (if the taxonomy was "saved lineage" with hierarchichal select with a 3 children depth and lot of taxonomy terms for examble). now I cannot check which one of the issues it was.