First, ley me tell you that from exploring Cuyahoga, this is one
cool application.
Second, it's
nearlyperfect right now, with the only thing that I'm missing right now is a good way to customize the whole outlook.
I want something that looks like this
http://www.ayende.com/Blog/
Basically, a headline with a photo, a main content and a sidebar.
I took a
very brief look at the aspx pages, but couldn't find how to do it properly.
What I want is a side bar that is shared by all the Cuyahoga nodes (except when I want to override it).
Is this possible? If it means writing code, that is not a problem, I just would need a few pointers.
Ayende RahienFirst, ley me tell you that from exploring Cuyahoga, this is one cool application.
Thanks!
Second, it's nearlyperfect right now, with the only thing that I'm missing right now is a good way to customize the whole outlook.
I want something that looks like this http://www.ayende.com/Blog/
Basically, a headline with a photo, a main content and a sidebar.
I took a very brief look at the aspx pages, but couldn't find how to do it properly.
What I want is a side bar that is shared by all the Cuyahoga nodes (except when I want to override it).
Is this possible? If it means writing code, that is not a problem, I just would need a few pointers.
Yes, it's not too difficult. Take a look at the controls in /Web/Templates. These are the templates that determine your site's look and feel (combined with a style sheet of course). In the templates you can define your own header, sidebar, etc.
In the template you can define content regions as ordinairy ASP.NET Placeholder controls at any position you want. One sidenote: the controls have to inherit a BaseTemplate code-behind class:
<%@ Control Language="c#" AutoEventWireup="false" Inherits="Cuyahoga.Web.UI.BaseTemplate" %>
For a start, you could make a copy of CuyahogaNew.ascx and start fiddling with that. You also have to add that copy to the available templates in the site administration. When you have nodes on your site where you don't want a sidebar, just define another template without that sidebar attach that one to the node.
Good luck!
I see, cool.
What do I need to do in order to have "design" time for the control in the admin interface?
Ayende RahienI see, cool.
What do I need to do in order to have "design" time for the control in the admin interface?
What dou you want do to? Change the look and feel for the admin interface or edit templates from the admin interface?
I want to have options avaliable in the admin interface to configure the module.
Ayende RahienI want to have options avaliable in the admin interface to configure the module.
The module or a template? I think I'm missing your point here.