#626170: Not working with Views 6.2.7? was filed in the Views Tabs issue queue.

Due to the changes that were made for field rendering there seems to be an incompatibility of this module and current views. Once I changed my view to unformatted I was able to see data again, but using the views tabs style plugin shows no data.

I would like to know what changes were made so that this module could be updated to work with 2.7. Any help or direction would be appreciated, thanks.

Comments

merlinofchaos’s picture

Status: Active » Fixed

Field rendering was moved earlier in the process so that other parts of the style (in particular, grouping) could take advantage. Look through the release notes, there should be a link to the issue (and therefore the patch). You might also look through the views accordion queue which I know updated to this quickly, and you might be able to look at another module's patch to see what they changed.

jdwfly’s picture

Component: Documentation » Code
Status: Fixed » Active

Thanks for the help. It looks like all that Views Accordian did was copy the render function from views style plugin. I did the same, but there seems to be some problem with this line.

$output .= theme($this->theme_functions(), $this->view, $this->options, $rows, $title);

Everything up to this point has populated like it should, but this function does not return anything into output. Is this function even necessary to run or can I bypass it because it seems that the rows are already rendered appropriately. Also it seems like all of the other style plugins just call this and they use the theme function inherited from the class. Somehow this doesn't seem to work.

jdwfly’s picture

Status: Active » Fixed

Looks like I need to make a theme function for it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.