Hi,
When I create a blog page on the make template I miss the sections to use in the blog page.
See screenshot.
Please let me know.
Regards,
Ed Boon
visioned.net
No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.
Hi,
In node.tpl.php or file node override, we must use <?php print render($content); ?> to have all sections of awecontent or you can add <?php print render($content['builder']); ?> for backend (drag drop sections) <?php print render($content['awe_content']); ?> to display when viewing node.
Please update file sites/all/themes/md_make/templates/node/blog/node--blog.tpl.php with code at http://codepaste.net/q4bkfa.
- Changing code file node--blog.tpl.php can not make all pages fullwidth.
- Also, you need to know about class container of bootraps:
+ this class will set displaying content with a certain size and centered: http://getbootstrap.com/css/
+ if this class does not exit, all content will display fullwidth.
- About file template related to class container:
+ please take a look at file page--xxx.tpl.php, example: file page--node--type--page.tpl.php template for content type page using awecontent.
lines from 164 to166
and lines from 208 to 210
this code section help you check if a page uses awecontent. If it does not use awecontent so print div will contain class container. When using awecontent size of content will be determined by settings of sections.
So depend on which layout, you can customize your template to fit with it. Our Make theme also support some situation and display nicely. We can not find a perfect theme, of course.
On the other hand, awecontent help you build layout for page easier than using block and inserting block to region. Example: if you would like to display a block on the right of page, you only need to build page with awecontent and split section to 2 columns 8-4 then drag drop block to cloumn 4.