Creating a custom block

"Mark Linsell" <mark-vsYRBIBp2rAWvp0qa7TZx073wzpk4OL60Fzj8UutsXo@public.gmane.org> Mon, 9 Jun 2003 10:54:59 +0100
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization Xaraya News Server
Message-ID <[email protected]>
I have been trying to create a new block template which has a background
image along with the header text.

So I copied block/default.xt and renamed it customleft.xt. I then changed
the div class as follows:

<xar:if id="title_condition" condition="!empty($title)">
<div class="xar-block-head">
<div class="custom-xar-block-title">#$title#</div>
</div>
</xar:if>
<div class="xar-block-body">
#$content#
</div>
<div class="xar-block-foot"></div>

And added the following into the style.css file:

.custom-xar-block-title {
font-weight: bold;
font-style: italic;
font-size: 11pt;
background-image: url(../images/customleftheader.gif);
background-position: center center;
background-repeat: repeat-y;
}

I then created a new base/text block instance using the "customleft"
template (does this need .xt on the end?). However nothing changes... any
ideas what I have done wrong?

Thanks,
Mark.