At first: You don't want to use that HTML. Using that table construct sucks. I instead would use something like:
Code: Select all
<div class="default">
<img src="PIC" class="pic" /><p>TXT</p>
</div>
That is much cleaner and leaner. In your CSS you would then have this:
Code: Select all
div.default {
width: 80%;
clear: both;
}
div.default img {
float: left;
}
div.default p {
margin: 1em;
}
And yes, you would use a plugin for that. Actually, you can use an existing plugin for that.
Install the serendipity_event_includeentry plugin ("Markup: Include entry data/templates/blocks") via spartacus or download it here:
http://cvs.sourceforge.net/viewcvs.py/p ... cludeentry).
The plugin can do much more than you might probably want, but you can configure it so that it doesn'T apply all the other goodies it has.
You then click on the "Static block" new menu item after having it installed. There you can create entry templates. You fill in your HTML code you want to have as default text for your new entry. Then you can start a new entry from this page if you choose the corresponding template.
That's more flexible and versatile, because you can use different templates to use depending on the article you want to write.
You could build your own plugin if you look at the code (if you know some PHP) which inserts your text hard-coded, if you still want to, though.
Have fun,
Garvin