By beauvafr on
Hi!
I have to customize the display of a content type. This content type items (multiple nodes) will be listed in a sortable table and a complex filter will be added in the same page for narrowing the results. There will be a lot of items in the table, and it may take a multiple page + a pagination to display everything.
Which way to go ?
1. Building the filfter and the table in two different views. Assembling the views in a page.
2. Theming the content-type.tpl.php page with php code
Thanks in advance for your help!
Comments
Are you trying to show a list
Are you trying to show a list of content (use views) or a single node? If the late case I wonder about "This content type items will be listed in a sortable table and a complex filter"
Hi, thank for replying! Yes,
Hi, thank for replying!
Yes, I want to show a list of content (multiple nodes).
The sortable table will have multiple columns, all sortable (probably using jquery) and on the same page there will be an user-side exposed filter box for filtering the results. Here is an example of what I mean (for the exposed filter only, not the result because mines will be showed in a table) :
Example of an exposed filter
Not the exact subject too by the way. ;)
The views module allows you
The views module allows you to present data in a variety of ways and can have exposed filters (filters the user may change) as well as user sort options.