Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# onlysanchari 2/11/2008 5:06 AM
Hi,
I am new in cuyahoga. I just want to add a new template
under new template. Ihave added a new folder "New".Under New there are css,imgaes & ascx.

But when i am going to add this template in the section"Add new template" after giving neme & base path the error is coming "The file '/Templates/New/' does not exist."

And Want to know how can i add new css???Bcpz a blank drpdwn is coming .There is no option add new my css.


Pls reply...it is urgent...

Thanks a lot in advance.

Regards,
# Efie 2/11/2008 9:33 AM
Did you enter /Templates/New/ in the textbox? You should create the folder 'New' under the Templates-folder in the Web-project and does the 'New' folder contain a .ascx file in the root of the folder?

When it can't find your template, it won't find your css...
# onlysanchari 2/12/2008 6:35 AM
Hi,
I have added the New Folder Under Templates ie Templates/New.
Under New ie New/Css & ascx.
When I am going to add new template i am giving
Name - New
Basepath - Templates/New
Template control- It is dropdwon.
Css - it is dropdown. so, how can i
add/bind my css & ascx in the drpdwn.



# onlysanchari 2/12/2008 6:36 AM
Where i will enter my css name & control name.
pls give me a solution . It is urgent.
Thanks in advance,
# XscorX 2/12/2008 3:06 PM
you need to have the following structure in the templets folder


+
|
|->[Css Folder]
| |
| |->css files
| |
|->ascx files

hope this helps
# coldsun 2/19/2008 9:09 AM (edited 2/19/2008 9:19 AM)
Hi all,
I want to create and add new template. I have 2 question:
Can we create a template files .aspx and use master page as Asp.Net instead .ascx?
Can we import direct some css file to template file?
Thanks,
Coldsun
# Efie 2/19/2008 9:28 AM
No, you need to create a .ascx template with about the same markup as an .aspx (body, form, etc.). In the .Net framework 1.1 there were no masterpages, so Cuyahoga uses it's own template-engine (it works kind of the same as masterpages though). When Cuyahoga was upgraded to version 2.0 of the framework there was no need to support masterpages instead of the own template-engine.

I don't know what you mean by importing directly some css?