Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# hayz 11/28/2005 2:40 AM (edited 11/28/2005 5:44 AM)
I would like to use multiple templates with my site. For example i would use a different template for the landing page compaired with all the other sub pages which would have a simpler layout.

*Forget this i worked it out*
# martijnb 11/28/2005 9:42 AM
Great you worked this out.

If I may add: Templates in Cuyahoga not only represent a physical .ascx template control but they are a combination of a physical control and a css stylesheet.
From 0.9.1 it's possible to attach sections to a template where you can extend this concept even further. For instance, you can define two Cuyahoga templates with the same ascx control and stylesheet. Then, if you want some section (in this example, a login box) to appear only on some pages, just attach the section to one of the templates and use that template for pages where you want the login box to appear. Use the other template for the pages that don't need the login box.