> 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?
Keven
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 5:47 PM
To: [email protected]
Subject: Re: lenya basics
On 5/1/06, Keven Ages <[EMAIL PROTECTED]> wrote:
> I'm trying to keep my header graphics out of view of the user in Lenya
when
> they are in 'edit' mode.
>
> I'm new to Lenya and XSLT and can't seem to find any info on this on
Lenya's
> site or the net.
>
> Basically what I'm trying to do is have the header graphic update
itself
> depending on the page it's on (ie, about us header graphic would
appear on
> the about us page) w/o the image showing up in edit mode, so that the
user
> does not change or mess with it at all.
>
> Any help would be much appreciated - if there is any more info I can
give to
> assist - please let me know.
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.
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
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]