Hello everybody,
i have a html design with tables , after converting this design to xhtml and css, what i suppose to do then to intergate it to cuyahoga ?
Please thread it step by step .
Thanks!
1. Create a directory under the /Templates directory
2. Add two subdirectories 'Css' and 'Images' to the newly created directory.
3. Save your html design as .ascx and add the following line on top of it:
<%@ Control Language="c#" AutoEventWireup="false" Inherits="Cuyahoga.Web.UI.BaseTemplate" %>
4. Put asp:placeholder controls in the places where you want dynamic content to appear.
5. Go to Manage templates in the admin and add the newly created template to the site, so you can select it when editing nodes.
6. Done.
This is rather quick and dirty but I think you might get the idea. Otherwise, take a good look at the other templates in the /Templates directory to see what's in there.
martijnbThis is rather quick and dirty but I think you might get the idea. Otherwise, take a good look at the other templates in the /Templates directory to see what's in there.
One problem is, that you cannot use the designer anymore. Is there a way to activate it again?
Thanks!
You mean the VS.NET designer? To be honest, I found it an advantage when VS.NET complained about not being able to show the designer. This also means that the designer won't mess with your carefully crafted template html :).
Since yesterday I am using VS.NET 2005 for Cuyahoga, and I noticed that the VS.NET Designer in this version seems to have much less problems than it had in 2003.
But you are right, the VS.NET Designer really is not the best HTML Editor to choose. :) I prefer (don't laugh) Dreamweaver or NVU.