[opencms-dev] Inserting content from the HTML Gallery

Nicholas Abboud nicholas.abboud at babelfish.com
Wed Jun 11 22:21:01 CEST 2003


At 08:35 AM 6/7/2003 +0200, you wrote:

>Nicholas Abboud <nicholas.abboud at babelfish.com> writes:
> > The HTML Gallery in OpenCms looks like a great way to keep the same
> > content on different parts of the site but only have to make the
> > change once. The problem I'm having with the HTML Gallery, though, is
> > that none of the content I add to the Gallery seems to be able to be
> > linked to any of the pages I create.
>
>Maybe you will find this workaround useful:
>  <snip>

Thanks, Thomas, that worked! It begs yet another question, though; is there 
a way that solution can be ported from the JSP template to the HTML page 
held within the template?

For example, let's say I have HTML Snippets 1a, 1b, 2a, and 2b. For Page 1 
I want Snippets 1a and 1b, and for Page 2 I want Snippets 2a and 2b. 
However, I'd like the same JSP template for both Pages 1 and 2. In this 
case, it would definitely be more useful to be able to link snippets to the 
pages rather than the templates.

I must add that I managed to figure out why the HTML Gallery insert wasn't 
working for me in the first place. It doesn't seem to like "special" 
characters in a snippet, so when I took those characters out and replaced 
them with their hexadecimal equivalents, the insert functionality worked.

Cheers,
Nick


Nicholas Abboud
Software Developer
E-mail: nicholas.abboud at babelfish.com
780-944-9964 Main
780-432-5700 Fax

The Babel Fish Corporation

This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure. If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------
Le présent message électronique (y compris les pièces qui y sont annexées,
le cas échéant) s'adresse au destinataire indiqué et peut contenir des
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le
destinataire de ce document, nous vous signalons qu'il est strictement
interdit de le diffuser, de le distribuer ou de le reproduire. Si ce
message vous a été transmis par erreur, veuillez en informer l'expéditeur
et le supprimer immédiatement.

www.babelfish.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20030611/601fb262/attachment.html>


More information about the opencms-dev mailing list