This is my first installation of 1.11, and I'm adapting a template/structure that I've been using for years. I'm having a problem getting the second block of content to display. Here's what I have:
Code: Select all
<div class="content cf">
{content assign="maincontent"}
{content block="sidebar" label="Sidebar" assign=sidebar}
<div class="main">
{$maincontent}
</div>
<div class="sidebar">
{$sidebar}
</div>
</div>
In the backend, the page shows the second editor block just fine, and the information that I enter there is saved, it just won't display on the front end.
Is there a change in 1.11 that changes the syntax of this call? I've tried all combinations of quotes - single, double, none - and ended up with what's here based on the help for the tag.
And, I didn't do anything weird with the CSS:
Code: Select all
.content {
padding: 2em 1em;
}
.main {
width: 73%;
float: right;
}
.sidebar {width: 21%;}
Thanks!