Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Jboog 8/30/2007 9:47 AM
Hi there,

first of all much respect to the ppz who made cuyahoga. I'm kind of a noob when it's coming to CMS. now my question. I'm making a website and now I want to have a custom template. The website is working in HTML, but how can I convert it to a working CMS. I have seen something which has to do with ASP placeholders and all that kind of stuff.

Can someone plz help me or post a good tutorial?

Thanks in advance,

Jerom Bogers
# Efie 8/30/2007 10:38 AM
To start, I suggest you make a copy of an existing template (in the templates folder of the web project) and play around a little bit (e.g. paste your html in the template). There is not a lot of knowledge of ASP.Net required when it comes to customizing a template.

The placeholders will contain your content in the site, you can add as much of them as you want.

There is a small document here: http://www.cuyahoga-project.org/home/developers/customization.aspx
# Jboog 8/30/2007 1:03 PM
well, thanks for the link, but i need a more specified tut. I'm gonna install a clean cuyahoga and replace things one by one to see where my fault is.

greetz,

Jboog
# Efie 8/30/2007 3:01 PM
Jboogwell, thanks for the link, but i need a more specified tut.

I can imagine that :). As far as I know there's not an advanced tutorial or something like that. Just play around, and create a topic when you're having a specific issue...
# Jboog 8/31/2007 8:49 AM
I'm a lot further now. I need to customize the menu and the text isn't displayed well. I also want a hidden symbol to login. But that won't be hard. I already found something on the site to customize menu's.

Jboog
# Jboog 9/3/2007 9:03 AM
The only thing I need to do now is making buttons for the menu in stead of the text links. Anyone knows how I can do that? I already have the images for the buttons. Do I need to do anything in the Css or in the code?

Thx in advance,

Jboog
# Efie 9/3/2007 9:37 AM
I assume you mean, using images as link instead of hyperlinks? Or do you want to add a picture next to a hyperlink?
# Jboog 9/3/2007 9:40 AM
EfieI assume you mean, using images as link instead of hyperlinks? Or do you want to add a picture next to a hyperlink?

using images as a link in stead of an hyperlink.
# Efie 9/3/2007 9:58 AM
Than you need to know which image you want to use for a node in your site-hierarchy, maybe you can modify the menu-control you want to use en place img tags between the a tags, and give the image the name of the title of node (without spaces) or something like that.

This will mean that for every node you want to add to your site, you'll need a new image. I don't know why you need images as links? Is it because of a font you want to use or something else what can't be done without css?

In a CMS I should opt for using css, you can do a lot of styling and keep the site really flexible
# Jboog 9/3/2007 10:09 AM
The images are completely within the style of the website...

I know that I can keep the site flexible with Css but there ain't gonna be more menu items to be displayed.

you can check the site here: www.it-workz.info


and if it's possible I want the menu to be the way it is now.
# Efie 9/3/2007 10:41 AM

When the number of pages is fixed, you can build you own custom menu control (completely static in this case) and attach it to a template.

The easy way:
Just build a usercontrol with the static html and let the links refer to the friendly url's of the site, this means when you change the friendly url's you have to change your menu-control.

The hard way:
I think it can be done with css (you have to give the links css-classes and set a background-image for this classes, otherwise you don't know which picture to show with which menuitem), but it won't be really easy, you get some nested div's span's etc.
# Jboog 9/3/2007 10:45 AM
Thanks for the tips, I will try the easy way first ;)
# Jboog 9/4/2007 10:02 AM
well what I've done is putting the static HTML in the my .ascx file. After that I linked everything in a good order. The only problem I have now is that the pagetitles don't work. I've got a javasript but when i run that I see the pagetitle for like 1 second and than it changes to the title of the 'home' page.

# Efie 9/6/2007 9:35 AM
I don't think this should be done with javascript, normally the pagetitle will show the title of the node I think, why is this not working for you?
# Jboog 9/7/2007 3:06 PM
EfieI don't think this should be done with javascript, normally the pagetitle will show the title of the node I think, why is this not working for you?

I've made the javascript because some thing did'nt work in IE6 and Safari So just for the compatibality. But I'll remove the javascript and check it than.
# Jboog 9/12/2007 3:27 PM
finaly fixed the problem with some c# code...