I need to define a 10*10 grid of nodes. Each cell in the grid has to contain exactly one node.
A newly created node gets inserted into the next available cell and a new node can not be step to occupy an occupied cell.
That's the开发者_StackOverflow社区 scenario I am trying to accomplish but I need suggestions how I do it.
How are your nodes currently being displayed? What version of Drupal are you using?
If you are using Views 7.x-3.x, there's a style plugin called "Grid" bundled with the module. When editing your view, click on Format and select Grid. Click "Apply", and on the following page set the number of columns to 10.
Finally, you probably want to disable the Views pager, but limit the results to 100.
精彩评论