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?
A way to set the position of the block inside a post?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: A way to set the position of the block inside a post?
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Draw attention
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.
my fun blog - http://fazaza.com
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Draw attention
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/