Two ways to embed web content in Liferay themes
Op 01 juni 2011 door Kristof Verbraeken in categorie Liferay
Introduction Demo theme First way (complex) Second way (simple) Conclusion Downloads Introduction Sometimes a client needs to be able to modify web content that appears on multiple pages. In some occasions you just can’t put the web content in the right place using the “basic” WCM features like Layout Templates and/or Journal Templates. Consider things like a short introduction text in a header, a doormat, a footer, static navigation menu’s that rarely need to be updated, places for banners for temporary promotions and so on. What all these things have in common is that they don’t fit in the scope of Layout Templates or Journal Templates. You can’t reach the places I mentioned before with those facilities, because they mostly reside somewhere in the theme itself. In this blog post/tutorial I will demonstrate and explain 2 ways to embed web content in a Liferay theme — using a demo theme which you can download below! Demo theme Take a look at the screenshot below: The layout (theme) is made up out of four important areas: header: the area in the top of the layout; footer: the area in the bottom of the layout; sidebar: the area in the right center of the layout; content: the area i...
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: views/index.php
Line Number: 181