In my blog I want the opening page to have different layout than other
parts of my blog.
I've managed to do the following :
<b:section class='main' id='main' showaddelement='yes'>
<b:widget id='Text1' locked='true' title='LayoutChooser' type='Text'>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'> <!-- if URL is
to homepage -->
Opening page layout - only one image. Don't want to display
any posts or pages.
<b:else/> <!-- else URL is NOT to homepage -->
inner Pages layout ... Here I want to add the Blog Gadget, and
display posts or pages accordingly.
</b:if></b:includable>
</b:widget>
</b:section>
B-U-T the problem is that when I insert the <b:widget id='Blog1'
locked='true' title='Blog Entries' type='Blog'> (and everything
underneath it) inside the else part (which is inside a widget
already), I get this annoying error The widget with id Blog1 is not
within a section (actual parent element is: b:if.) Every widget should
be in a section.
What can I do to solve this? Very frustrating!
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
No comments:
Post a Comment