Closed (works as designed)
Project:
Community Accounting
Version:
6.x-1.3
Component:
Display
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2010 at 10:52 UTC
Updated:
4 Mar 2011 at 20:07 UTC
Hi, I'm working on a new website www.justxchange.org and using mutual_credit
I'm trying to set up a view of user balances as a block. I set up a view on Balances. There are no filters defined, so I had to use an argument (uid, defaulting to logged in user). That works, but I can't rewrite the field output. If I check "Rewrite the output of this field", the results are ignored. If I exclude from display, then use a Custom Field, the tokens in the custom field don't display. So it's possible to get a default display of the user's balances, but it's not possible to reformat the display using tokens?
Comments
Comment #1
slithy commentedNote: checking "output the field as a link" doesn't seem to work either.
Comment #2
slithy commentedIn another View, listing transactions this time, with custom text:
[quantity] hours from [payer_uid] to [payee_uid]
The [payer_uid] and [payee_uid] tokens work, but [quantity] displays nothing.
Comment #3
matslats commentedInteresting thanks for the report
Try basing your view on 'users' instead of balances. That was my approach.
I don't know why the tokens wouldn't work, I'll look it into it presently
Sorry for the delay
Comment #4
matslats commentedNot sure what to do about this.
The module provides theming for the 'quantity' views field which is great for views when you just want the field by itself.
But when you need the quantity as a token, the normal field theming isn't used, worse still, it returns blank.
For now I suggest you design around it, and I'll attempt to re-address this in version 2. It's clearly not as good as it could be.
Comment #5
matslats commented