Dear Jörn,

you shouldn't do that, or you will use all the lenya navigation handling. instead, what you do is override the stylesheets in the menu generation module to create custom code. only remove those parts that you don't use at all (for example, you might not want breadcrumbs or tabs at all).

What I did was to create a new publication and then override all the default page2xhtml.xsl stylesheet in the newly created publication. I removed all the xsl bits from the file leaving only <xsl:template match="cmsbody"> and <xsl:apply-templates> beneath that. After that I disabled the breadcumbs and tabs bits in sitemap.xmap. The problem is that in the authoring view, The page displays correctly. But when I try to view a live site, some parts of the menu appears. I was unable to get CSS styling to work correctly in both authoring and live too. I might have left out something but I have no idea what I left out. Any pointers?


Cheers,
        Jeremy Tan



On 31/07/2007, at 4:18 PM, Jörn Nettingsmeier wrote:

a very late reply...

Nunez Steve wrote:

Has anyone else used Lenya in a configuration where
the  entire page layout is controlled by CSS?

yes. i always do it that way. i can send you an example off-list if you want.

As a more practical question, how exactly can we
remove all of the default Lenya publication XSLT from
the pipeline, and implement only a single
transformation?

you shouldn't do that, or you will use all the lenya navigation handling. instead, what you do is override the stylesheets in the menu generation module to create custom code. only remove those parts that you don't use at all (for example, you might not want breadcrumbs or tabs at all).

regards,

jörn


--
Jörn Nettingsmeier

Kurt is up in heaven now.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to