Plugin Problem: Include entry data/templates/block

Creating and modifying plugins.
Post Reply
DortoH
Regular
Posts: 82
Joined: Fri Feb 25, 2005 2:00 am

Plugin Problem: Include entry data/templates/block

Post by DortoH »

I understand the plugin is "beta-ish" so I am posting this somewhat weird behaviour. I have created a block to insert ads at the end of the exteneded entry.

When I use the template it works properly.

http://thelazyadmin.com/images/right.jpg

However when I use the block it puts the ad under its own heading.

http://thelazyadmin.com/images/wrong.jpg

Now my question is what am I doing wrong ;)
Rod
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Plugin Problem: Include entry data/templates/block

Post by garvinhicking »

This is intentional behaviour - if you attach entry blocks, it is displayed within an entry.

If you use automatically placed blocks, they are formatted like entries. You can change that behaviour via the *.tpl files frmo the plugin though!

Best 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/
Post Reply