Javier Martinez wrote:
Hi,

anybody knows how to share a content (eg. an image) between different pages. Exists any tag for doing that?

eg.: I want to use in all pages from my website the same right column with the same images but i don“t want to use frames, so I need to share the contents.

eg.: I want to put some images in my pages and I want to create a page as an "image gallery" with all images added on the site. So I need share the contents between different pages.


Use the <c:import> tag to import a galleryTemplate.jsp into your normal template, for example beneath columnRight in templateTwoColumns.

You have to sort out how you get to the content nodes containing your images. This depends on how you structure your gallery.

Then take a look at magnolia/templates/jsp/samples/paragraphs/textImage.jsp to see how you get images out of nodes.

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to