Solprovider,

This is exactly what I was looking for.  Perhaps Apache might think of
adding similar docs to their site.

Good job, thank you very much

Keven

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, May 02, 2006 3:49 PM
To: [email protected]
Subject: Re: lenya basics

On 5/2/06, Keven Ages <[EMAIL PROTECTED]> wrote:
> > Add the graphic from the XSL rather than the Document.  The
Document's
> > HTML is editable by the editors.  The XSL is only editable by
> > developers.
>
> That's exactly what I'm trying to do but can't find any info on how to
> set up the XSLT to pull the proper graphic depending on the page they
> are on.
>
> > In 1.2, you could have the graphic as an Asset attached to the
> > Document.  That allows a common name such as "header.gif" to be used
> > for all Documents.  We use that technique for adding background
> > graphics: "bg.gif" is used if it exists.  An example Asset would be
> > in: {pub}/resources/live/about/header.gif
>
> > Or have a special directory for "headers" that cannot be edited
using
> > the CMS GUI.
> > {pub}/headers/about/header.gif
> > Or for multiple languages:
> > {pub}/headers/about/header_en.gif
>
>
> I'd love to see an example of this on the Lenya site.  Anyone?

http://solprovider.com/lenya/variables
"Usage" has code examples for passing variables to XSL.
"Common" mentions "document-id", which is probably the variable you
need.

solprovider

---------------------------------------------------------------------
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