[development] Theming a table around form elements
Henrique Recidive
recidive at gmail.com
Fri Apr 30 05:00:42 UTC 2010
Hello,
I think you will probably get better help if you ask this in the 'themes' list.
See this page for info about Drupal mailing lists:
http://drupal.org/mailing-lists
Henrique
2010/4/29 E.J. Zufelt <lists at zufelt.ca>:
> Good evening,
> Using D6 Core, and ideally no contrib modules, I need to theme a table
> around two sets of checkboxes, each set of checkboxes has the same number of
> checkboxes. The table should be built like:
> col1: first checkbox from checkboxes1
> col2: title of first checkbox from checkboxes1
> col3: first checkbox from checkboxes2
> .. and so on for each table row.
> My current thinking is to create a custom element type for the table, and to
> make the two checkboxes form elements children of the table element. Within
> the theme function for the table I will then render the checkboxes and build
> an array of table rows to pass to theme_table().
> Would love any thoughts / recommendations.
> Thanks,
> Everett Zufelt
> http://zufelt.ca
> Follow me on Twitter
> http://twitter.com/ezufelt
>
> View my LinkedIn Profile
> http://www.linkedin.com/in/ezufelt
>
>
>
More information about the development
mailing list