drupal - Adding a panel to a theme region -
below theme layout :
what use panels module add 4 column block @ region labeled 'content'. have tried adding node content region , creating variant using panels module particular node. didn't work. tried switching selection rules "node:type" "front-page" still no luck this.
suggestions appreciated!!
i think misunderstanding use of panels module. panels makes panel pages, in place panes in whatever arrangement want. panel needs url control, , url can have variables in node id.
so, here walk through of how use panels in way think want selection rules mention: panel should have path assigned, "welcome" or "welcome/%nid" if have used %nid path, set context use argument node id.
you need selection rule if have more 1 variant, how panel selects 1 use. example, selection rule on varianta says use when %nid validates node of node:typea. selection rule on variantb ... etc.
in content section of panel control, upper left point, button or link says "show layout designer", click that. http://expressmagazine.net/sites/default/files/imagesarticle/panels_drupal_8.png let change how many rows , columns , regions have on panel. if recall correctly row can hold columns or regions, column can hold rows, , content in same region gets stacked vertically.
since panels layouts inside "content" of page, 3-segment header , 4-segment footer of theme stay. want 2 rows, 1 of 4 regions make columns in question, , 1 of single region hold full-width content. if have %nid setup, can use pieces of node (specific fields) in regions.
then in site information page set "welcome" homepage.
Comments
Post a Comment