Reviewed & tested by the community
Project:
Driven API
Version:
6.x-1.x-dev
Component:
Theming
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
5 Aug 2010 at 00:35 UTC
Updated:
11 Mar 2025 at 17:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
arhak commentedwould you propose a patch?
Comment #2
Anonymous (not verified) commentedHere is my attempt at a patch. (It's against CVS).
Basically, it adds a theme function between the $rows and the summary table. This allows other functions to register themselves as preprocess functions. And it makes it easier for themers to add functions or templates.
This shouldn't interfere with any existing code.
Comment #3
arhak commenteddid you test it?
'arguments' => array('variables' => array('rows' => array())),<<-- this looks like D7Comment #4
Anonymous (not verified) commentedI did test it. I agree it looks like D7, but I was following the form that you established in the existing D6 code. If you download the dev copy of D6, it has the same format for all the theme declarations. Maybe that is another patch that needs to be submitted if you want that to fit the standard D6 array format.
Comment #5
arhak commentedyes, it should work in D6 anyway
and you're right, I was using D7 params, but I was also using function
driven_diff_output($theme, $variables)as a D6 proxy...nevermind, your patch is valid
Comment #6
Anonymous (not verified) commentedGreat, thanks. Do you know when it will be available as part of a stable release? I need to re-architecture my module once this is available as part of a stable release.
Comment #7
arhak commentednot sure about when
I have 4 issues landed, perhaps soon
just curious: why would you have to "re-architecture" your module then?
Comment #8
Anonymous (not verified) commented"re-architecture" might have been a little exagerated. But basically I have to do a ton of hacks deep into the theme system to be able to grab $rows before it is output. My module needs to grab $rows and could do it with far fewer hacks if this theme function existed.
Thanks. I'll keep an eye out for it to be committed. Thanks.
Comment #9
eiland commentedis this basically the same issue as #1472904: Altering the reply form??