Event Wrapper and Todolist Plugin

Creating and modifying plugins.
Post Reply
Allstar
Regular
Posts: 9
Joined: Fri Jul 14, 2006 8:45 pm
Contact:

Event Wrapper and Todolist Plugin

Post by Allstar »

When using the event wrapper to display the Todolist / Project plugin the HTML is being rendered incorrectly.

The title (h3) tags are being placed inside the content <div> tags and not outside of them so when CSS is used to make the content div smaller in width than the title it can't so appears differently to the rest of them.

HTML Produced by Event Wrapper and Todolist Plugin
<div class="serendipitySideBarItem container_serendipity_plugin_eventwrapper">
<div class="serendipitySideBarContent">
<h3 class="serendipitySideBarTitle serendipity_event_percentagedone">Current Projects</h3>
<div class="serendipity_center">
--Colour Bars--
</div>
</div>
HTML produced by Language Chooser, Statistics, Linklist, Syndication etc etc
<div class="serendipitySideBarItem container_serendipity_plugin_multilingual">
<h3 class="serendipitySideBarTitle serendipity_plugin_multilingual">Choose Language</h3>
<div class="serendipitySideBarContent">
-- Language Chooser--
</div>
</div>
"The price of greatness is responsibility."
Sir Winston Churchill
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Event Wrapper and Todolist Plugin

Post by garvinhicking »

Hi!

Yes, this is sadly because of the technique the event wrapper uses. You will need to put extra CSS in to also cover the cases of the event wrapper...

HTH,
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