Closed (fixed)
Project:
LeagueSite
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2010 at 06:20 UTC
Updated:
3 Aug 2010 at 15:50 UTC
Hi Alun,
I have created a fixtures view which shows all matches and if there are any results, also the results.
However there is a problem here... if the result is 0-0 or 0-5 it doesn't show the zero because i hide the field when it's empty. How can i do this differently to make sure that a match without result shows just "-" and a match that is 0-0 shows 0-0.
Or does any other user who created such a page know how to fix this?
grtz Tim
Comments
Comment #1
emnzava commentedDear Tim,
I hope now you dont have this problem anymore.
Comment #2
timbraeckman commentedYes i still have that problem. Don't know how to fix it...
Comment #3
emnzava commentedthe way i see it, since i pull node title from leaguesite_match content type, i don't have that problem.
I just edit how results are displayed here: http://www.example.com/admin/settings/matches
Do you output each field (home team, homescore....) separately?
Regards.
Comment #4
timbraeckman commentedNo i get every field seperatly so i can add the logo's too. It's much nicer that way!
Comment #5
Alun commentedThis is a weird problem, something to do with Views perhaps, as the values are clearly stored in the database, but they are loaded in as empty. I need to see how Views handles integers to see if this can be fixed easily.
Comment #6
timbraeckman commentedOk great thanks! Hope you can find it soon :-)
Comment #7
Alun commentedHere you go, its a Views issue, but if you dig around, there are some patches that might work for you, at least temporarily..
http://drupal.org/node/546586
http://drupal.org/node/559102
I'll mark this issue as fixed, as it isn't a problem on my end. If there are any issues you see, let me know.
Thanks
Comment #8
timbraeckman commentedHey Alun,
I tried those patches but still the same problem :-( You have any idea how i can fix this?
Tim
Comment #9
Alun commentedTim,
I assume you have the problem because you are displaying fixtures and results in the same view?
You could always use Panels to display the two types of match differently, place them on top of each other so they look like the same view.
Does that make sense?
Comment #10
timbraeckman commentedYeah it makes sense but it should be mixed. Not on top of each other :-(
Did you check out my site? Than you can see what i want to create.
Comment #11
Alun commentedYeah, I saw your site, which is arranging the matches in date order. This is ideal for using two views, because results will always be the most recent.
Put the results on the first view, and the fixtures on the second view, underneath.
To the user, they would just appear as a list, with no gap inbetween.
It should work!
Comment #12
timbraeckman commentedOh yeah of course i understand what you mean!
But i won't need panels for that. I can do an attachment for that! :-)
Thanks for this great respons!
grtz Tim