Hello again Listers!

Just to let you know that I have found a way to get a fragment of HTML into
all portal pages, and to put it there only if the user is logged in and has
appropriate security-constraints.

It involves creating a PSML file in the top-level portal directory. This
file has no realistic content, but it does have a title, and its
security-constraints are set to "users" (or anything other than
"public-view").

Then, I added a new section to the header.vm macro in my layout decoration
that looks for this PSML file title in the standard "pages" menu, writing
the required HTML fragment to the portal page if and only if this PSML file
is found.

Finally, I changed the includeTabNavigation macro to identify this same PSML
file and exclude it from the generated tab menu row.

Hey presto ... I've got what I want!

There may be a better way to do this, in which case let me know. For the
time being however, I am a happy man.

The other questions in my previous (very long) email are still active,
though, so please don't ignore them!

Cheers,
Mike

Mike Church
Software Engineering

QinetiQ
Bldg Lovell Rm 109
Malvern Technology Centre
St. Andrews Road, Malvern
Worcestershire, WR14 3PS
Tel: 
01684 896085 
Email: 
[EMAIL PROTECTED] 
Web: 
www.QinetiQ.com 
QinetiQ - The Global Defence and Security Experts. 


The Information contained in this E-Mail and any subsequent correspondence
is private and is intended solely for the intended recipient(s).
For those other than the recipient any disclosure, copying, distribution,
or any action taken or omitted to be taken in reliance on such information
is prohibited and may be unlawful.

Emails and other electronic communication with QinetiQ may be monitored.
Calls to QinetiQ may be recorded for quality control,
regulatory and monitoring purposes.

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

Reply via email to