winph wrote:so whats the difference between layout and context?
You will need to have patience until we have better documentation for this, but in general:
layout
layout refers to settings for ALL modules (context, gallery,folders) in a page layout. Here you can for example decide what modules to display in what order (
layout: items:gallery,context), or set a style that applies for ALL modules (
layout: text-center).
context
context is a specific module in your page, which by default contains title, description and content. By default, it will display before the gallery and/or folders module. The context module can also include other page items, like date and preview.
I can't really explain in detail right now, but generally it is achieved by using the
Foundation Grid to split the context+gallery into two columns 8/4(12). Then inside the gallery, using a basic 2-grid layout. Here are the essential settings from that page:
context: left-column large-4 large-push-8 columns
gallery: right-column large-8 large-pull-4 columns grid:2,2,1,30
Here is the exact copy from that page, with a few other unrelated settings:
context: left-column large-4 large-push-8 columns text-center large-text-left
gallery: right-column large-8 large-pull-4 columns grid:2,2,1,30 assets:albums/portraits crop:1,1 caption:title,date caption-top-left x-frame-medium-up
Sorry, I will need to document this better later ...