I have fused view presented as a table. The columns of the parent view always show before the columns of the child view. Is there a way to change this behavior?
I have fused view presented as a table. The columns of the parent view always show before the columns of the child view. Is there a way to change this behavior?
Comments
Comment #1
Steve Dondley commentedOK, I was able to accomplish this by overriding the theme to the view in template.php:
To use this with any other view:
1. Be sure to change the _yourviewname in the function name to the name of your view.
2. Change the $desired_order array to reflect the order you want the fields to appear. So, if you have five fields and you want to make the first column last and the last column first, you would put:
$desired_order = (4, 1, 2, 3, 0);Comment #2
rgraves commentedI tried this and changed
yourviewnameto my view's name but this did not work. Do I need to change anything else (like theunionproud2part)?Comment #3
Steve Dondley commentedYes, change that to phptemplate if it's going in your template.php file.
Comment #4
rgraves commentedStill no luck with this. Here's what I've added:
My view's name is "resourcetypes_journals" and I've added it to the following file - /themes/garland/template.php. Right now I'm just using the garland theme so I presume that is the file I need to make the changes to.
Can anyone spot the problem?
Rob
Comment #5
Steve Dondley commentedPlease don't change the title of an issue.