[opencms-dev] Inserting content from the HTML Gallery

Nicolas Delsaux nicolas.delsaux at online.fr
Tue Jun 10 17:03:01 CEST 2003

On Sat, 07 Jun 2003 01:56:13 +0200, Thomas März <thomasmaerz at gmx.de> 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:
> - Add a property "path_to_html" to the top folder
> with the value e. g.  "/en/include_html/".
> - Add a property "html_snippet" to the files you want the snippets to
> be included in resp. to a folder, so all the files beneath the folder
> inherit this property.

In do not understand the role of this html_snippet. can you be a little 
more precise ?
I understand well that the path_to_html gives access from the displaying 
page to the directory where the snippets are located, but I do not 
udnerstand what is this html_snippet. Is it the name of a particular file ? 
I do think so. In such a case, How could it be possible to display a 
catalog of the different snippets contained in the gallery directory ?
> Then modify your template:
> Best Regards,
> Thomas März

Nicolas Delsaux
"L'important n'est pas de se libérer du corps, mais de se libérer du 
mental. Ce n'est pas le corps qui nous empètre mais l' esprit."

More information about the opencms-dev mailing list