Skip to content

Instantly share code, notes, and snippets.

@sagotsky
Created January 9, 2014 20:50
Show Gist options
  • Select an option

  • Save sagotsky/8341729 to your computer and use it in GitHub Desktop.

Select an option

Save sagotsky/8341729 to your computer and use it in GitHub Desktop.
SV list grid planning

Options for how to select:

(these are context dependent - not all content has a grid)

Context dependent selects

Mode: list => Display: [ title, teaser, full ] grid => Display: [ profile, title ]

or

Merged select

Display: [ title, teaser, full, profile grid, title grid ]

or

Independent options

List/grid and display are separate. You can make a grid of full biblio nodes if you want your site to look like a stupid.

--

Which option we use should probably depend on how many grid modes will be made available. I don't see the point in making grid a separate dropdown if news and people each have a single grid option - in that case they should be tacked on to the display mode.

Independent options seems like a good way to get ugly sites. It was listed for completeness's sake, not because it's a good option.

The context dependent select would need some javascript to juggle which options were available at which time. It would also need to know which view modes were grid and which weren't. Could a "grid" in the view mode title be enough?

--

File grids

  • Image (different sizes?)
  • Video
  • HTML? (HTML fragments are used for other videos)
  • Sound (I foresee people embedding soundcloud in an iframe if it lets them use a grid of html)

Node grids

  • News
  • People
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment