Page 1 of 1
A way to set the position of the block inside a post?
Posted: Thu Oct 23, 2008 11:21 pm
by shovals
I'm using the "Markup: Include entry data/templates/blocks" to enter HTML to my selected posts.
This works fine, but I still haven't figured out how I can control the position of the block inside the post.
Currently, I placed it always in the extended body, but it appears after my entry. I want it to appear before my enter so it will be the first thing visitors see.
Any way to do that? maybe a different plug-in?
Re: A way to set the position of the block inside a post?
Posted: Fri Oct 24, 2008 11:26 am
by garvinhicking
Hi!
What exactly is your goal, which kind of html do you include? Does it vary?
Maybe you don't need the plugin and could easier do that by editing your entries.tpl template.
You can also use the plugin and put [s9y-include-block:XXX] inside your entry at exactly the place you want it. If you use the attachment option, it is always placed at the end.
Regards,
Garvin
Draw attention
Posted: Fri Oct 24, 2008 1:34 pm
by shovals
The goal of my request is simple. For popular posts I want to place a commercial in the extended body. I want my visitors to first see the commercial and then the rest of the post.
Re: Draw attention
Posted: Fri Oct 24, 2008 2:22 pm
by garvinhicking
Hi!
Okay, if you only want that for some entries, I suggest to use the manual inclusion functionality.
You can enter [s9y-include-block:X] inside your entry at any place you like. X is the number of the block that contains your commercial HTML, so it refers to the ID of the block you inserted through the interface of the plugin by clicking on the "Template blocks" link in the admin backend.
Regards,
Garvin