[daisy] Side boxes : How do we remove the title ?
Mario Brackeva
Mario.Brackeva at persgroep.be
Tue May 20 14:18:09 CEST 2008
This is clear, but what file exactly needs the changes below?
Tx,
Mario.
-----Original Message-----
From: daisy-bounces at lists.cocoondev.org [mailto:daisy-bounces at lists.cocoondev.org] On Behalf Of Karel Vervaeke
Sent: dinsdag 20 mei 2008 12:09
To: Daisy: open source CMS - general mailinglist
Subject: Re: [daisy] Side boxes : How do we remove the title ?
You need to change the document styling of the sidebox documents in such a way that the header is not rendered when the document element has an @isIncluded=true attribute.
It should look something like this:
<xsl:template
match="/document[@isIncluded='true']/p:publisherResponse/d:document">
Here copy the d:document template from document-to-html.xsl, but omit the <h1> element.
</xsl:template>
If you want to keep the h1 tag when it is included in other locations, keep the h1 tag in your template add a css class to the h1 element and to the sidebar template, and style it as such:
.inSidebar h1.included { display: none }
HTH,
Karel
On Tue, 2008-05-20 at 15:14 +0530, ddas at lexmark.com wrote:
> I had successfully created sideboxes with the help of the
> documentation provided at 'http://cocoondev.org/wiki/g1/279-cd.html'.
> However, I would like to remove the page title/header from the
> sidebox. For that matter I would like to know the mechanism to remove
> the page title from a document.
>
> I believe I need to get the right XSL from the skin.
>
> Your kind help would be highly appreciated.
>
> Thanks
>
> - Dipankar Das
>
> _______________________________________________
> daisy community mailing list
> Professional Daisy support:
> http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
_______________________________________________
daisy community mailing list
Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
mail to: daisy at lists.cocoondev.org
list information: http://lists.cocoondev.org/mailman/listinfo/daisy
More information about the daisy
mailing list