Good day.
I have a question on how to do this.
In a page view, i manage to display my field ie "Title", "Image" and "Description" on Tables, or HTML List, or Grid.
Ok. i dont know how to describe this but i try and hope with the image attached will be more clear to understand on what im try to explain.
the hard part is that i still cannot do is how i want to make an option to expose different display format. See the example image below, in the page view, there is a icon or button (or just text also can) so that user can choose display format for Grid and List.
If the user click on the icon Grid, the page view will be change like this(see below)
and also if possible how to create drop down menu for how many item to display on that page.
| Comment | File | Size | Author |
|---|---|---|---|
| display-format-grid.JPG | 24.72 KB | saiya | |
| display-format-list.JPG | 25.36 KB | saiya |
Comments
Comment #1
dawehnerhttp://drupal.org/project/views_modes is basically what you search.
Comment #2
saiya commentedthank you for the link.
after i install views_mode and the required module is purl. somehow my Views is not right.
when i wanted to add filter criteria and choose the field, and after i click Add and configure filter criteria, there is a white screen and a long text in one row at above of the screen written this
[ {"command":"settings", "settings":{"basePath":"\u002F", "pathPrefix":"", "ajaxPageState":{"theme":"seven", "theme_token":"7USPHajocQCz31Egs836_mC0SxNCcZHlVHvjGR9Ax74"}, "CTools":{"dependent":{"edit-options-value-value":{"values":{"edit-options-operator":[ "\u003C", "\u003C=", "=", "!=", "\u003E=", "\u003E", "regular_expression" ]}, ......... and its very long.
i think the views_mode module is still cannot be used because its still in dev.