Posted by jjprusk on August 6, 2012 at 11:01pm
I am new to Omega and am using a subtheme for my new web site design. One thing that isn't obvious to me is how to control blog articles. Using the blog module, there is no way that I can see to place the body of the blog in a particular zone / region. Ideally (which may exist and I don't know about it...) I would place the blog article content in a region within a zone (probably in a context) and then I could add other blocks around the blog content, style it, etc.
Has anyone dealt with this requirement?
Comments
RE: Blogs in Omega
The blog post content will be in the "content" region by default. You would position that region in the Omega config area.
Zone vs. Region
I see the blog entry being placed in the "content zone" and then an "article" tag is created with the following classes: "node node-blog node-promoted node-published node-not-sticky author-joeapex odd clearfix".
I don't see where anything is put into the "content region" specifically as I would expect to see something like "
<
div id="region-content" class="grid-8 region region-content">", depending on how the region is defined.
When you say "be default" - is there a place to define the layout of the blog article pages?
RE: Zone vs. Region
i just looked on my only blog/Omega site and the structure is like the code below. If yours doesn't look like that, I'm not sure what to tell you. Obviously, as you are saying, the main things to look for are section-content, zone-content, and region-content.
<section id="section-content" class="section section-content"><div id="zone-content-wrapper" class="zone-wrapper zone-content-wrapper clearfix">
<div id="zone-content" class="zone zone-content clearfix container-12">
<div class="grid-12 region region-content" id="region-content">
<div class="region-inner region-content-inner">
<h1 class="title" id="page-title">Test of Blog Module</h1>
<div class="block block-system block-main block-system-main even block-without-title" id="block-system-main">
<div class="block-inner clearfix">
<div class="content clearfix">
<article about="/test-blog-module" typeof="sioc:Post sioct:BlogPost" class="node node-blog node-promoted node-published node-not-sticky odd clearfix" id="node-blog-91">
...
RE: Zone vs. Region
i just looked on my only blog/Omega site and the structure is like the code below. If yours doesn't look like that, I'm not sure what to tell you. Obviously, as you are saying, the main things to look for are section-content, zone-content, and region-content.
<section id="section-content" class="section section-content"><div id="zone-content-wrapper" class="zone-wrapper zone-content-wrapper clearfix">
<div id="zone-content" class="zone zone-content clearfix container-12">
<div class="grid-12 region region-content" id="region-content">
<div class="region-inner region-content-inner">
<h1 class="title" id="page-title">Test of Blog Module</h1>
<div class="block block-system block-main block-system-main even block-without-title" id="block-system-main">
<div class="block-inner clearfix">
<div class="content clearfix">
<article about="/test-blog-module" typeof="sioc:Post sioct:BlogPost" class="node node-blog node-promoted node-published node-not-sticky odd clearfix" id="node-blog-91">
...