Layout Template

Layout template is similar as Asp.NET master page. It is the page layout definition. Go to application --> Design --> Layout Template, and click "New" button to create a new layout template.

You can use standard HTML and CSS code to design layout template. The only thing matters for Kooboo is a position tag in the layout template.

For any position which might have components inserted into it later on, use below tag.




When you are creating a layout template, you will be able to see some sample code generated/


<html> <body>   

Position1



Position2


</body> </html>


You are also able to extend the function of layout template using full Asp.Net MVC.

Hide controls when a position has no content

You may want to define some "container" code around a position tag. You may also want to hide some html code when one position has no content.

In order to do this, the HTML code you want to hide must define an ID and add the runat="server" attribute.
any content inside this tag will be hidden when there is no content.

hiddenControls can has multiple value seperated by comma.