[daisy] Side boxes : How do we remove the title ?
Mario Brackeva
Mario.Brackeva at persgroep.be
Tue May 20 15:36:19 CEST 2008
Indeed, silly question... Think before you ask
I put it in the file SideBox.xsl in the document-styling directory of our custom skin.
-----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 14:51
To: Daisy: open source CMS - general mailinglist
Subject: RE: [daisy] Side boxes : How do we remove the title ?
I can't give an answer on that, it depends on how you put things together and what your document model looks like.
Read this page:
http://cocoondev.org/daisydocs-2_2/374-cd/g1/26-cd.html
and then decide for yourself if you want to put it in document-to-html.xsl or only in specific document stylings.
HTH,
Karel
On Tue, 2008-05-20 at 14:18 +0200, Mario Brackeva wrote:
> 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
> _______________________________________________
> 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