I am pretty new to CMS generally. I have created a website and I have the HTML and CSS for the same. I need to upload it to Umbraco. I have Umbraco installed and running. But I really don't know how to set up my site in the same. I couldn't understand much from the tutorials etc.
My requirement is simple,
1. I have a common header and footer for all pages.
2. A home page which has content that will be changed dynamically.
3. Inner pages with a common lh and normal text, heading etc.
4. A Page for login and registration form.
Can somebody please tell me how I can get these things done in Umbraco, step by step?
Can you please explain me how the above are related with each other and where should I have my HTML pasted and where should the asp content place holder should be present? I am not clear yet.
What if I want to use the navigation I have already created using script and CSS in the website?...how to include it in the template and give other users the option to add and edit it later?...
I have encountered another problem. I have created most of my website now. I tried to create a new template for few of my pages, but when I clicked 'create' it showed a server error and when I cancelled the process and went back, all of my previously created templates disappeared. The document type is also not working, it too shows server error page. I dont know what is the problem, now I am unable to create any template, even if I do so I am not able to see them under the template folder.
But my site is working fine, I am able to add content pages.
How to overcome this problem? Is there any way I can get back the templates?
Check the masterpages folder in the root of the site to verify that the files exist... if they do, open in a text editor and copy/paste into new templates.
Uploading my website in Umbraco
Hi All,
I am pretty new to CMS generally. I have created a website and I have the HTML and CSS for the same. I need to upload it to Umbraco. I have Umbraco installed and running. But I really don't know how to set up my site in the same. I couldn't understand much from the tutorials etc.
My requirement is simple,
1. I have a common header and footer for all pages.
2. A home page which has content that will be changed dynamically.
3. Inner pages with a common lh and normal text, heading etc.
4. A Page for login and registration form.
Can somebody please tell me how I can get these things done in Umbraco, step by step?
Appreciate your help.
Thank you,
Anthony.
Hi Daniel,
Thank you for the quick reply.
I created the templates accordingly, but I get a runtime error. I don't know why?
I'd check your templates.. if you moved them around any, make sure the placeholders are referenced properly and exist in the master template.
Copy/Paste one of your child templates so I can verify it's correct.
I have created the following template, doctype and content settings,
Template:
Master
- homepage
- textpage
- loginpage
Document Types:
Master
- homepage
- textpage
- loginpage
Content:
Home
- textpage
- loginpage
Can you please explain me how the above are related with each other and where should I have my HTML pasted and where should the asp content place holder should be present? I am not clear yet.
All that looks correct.
If you're familar with masterpages, then you can figure out the templates.
Primary html should be in the master template (<html><head><body>, etc) Also include header and footer in the body tags
Insert a 'body' ContentPlaceHolder.
In the subtemplates, place content fields (i.e. bodyText) inside the Content tags referencing the 'body' contentplaceholder in master template
Then be sure you have the templates selected on the Properties tab of the content nodes
Master Templates Sample:
Sub Templates Sample:
Awesome... Thank you so much I have got it working now...
How can make the content dynamic? i.e the navigation menu, certain part of a webpage etc.
That's awesome... glad to hear it.
Navigation is easy... just create a new xslt macro and use the navigation template.
Then place the macro in the master template where you want it to display.
The default navigation xslt will generate a standard ul and li tags fo your navigation.. you just need to style it with css.
I recommend you check out the Umbraco wiki for much more information.
http://our.umbraco.org/wiki
http://our.umbraco.org/wiki/reference/xslt/how-umbraco-uses-xslt
What if I want to use the navigation I have already created using script and CSS in the website?...how to include it in the template and give other users the option to add and edit it later?...
Hi,
I have encountered another problem. I have created most of my website now. I tried to create a new template for few of my pages, but when I clicked 'create' it showed a server error and when I cancelled the process and went back, all of my previously created templates disappeared. The document type is also not working, it too shows server error page. I dont know what is the problem, now I am unable to create any template, even if I do so I am not able to see them under the template folder.
But my site is working fine, I am able to add content pages.
How to overcome this problem? Is there any way I can get back the templates?
Appreciate your help.
Thank you,
Anthony.
Check the masterpages folder in the root of the site to verify that the files exist... if they do, open in a text editor and copy/paste into new templates.
Yes, the files do exist in the folder, but when I create new templates, I am not able to see them from login...
Yes, the files do exist in the root folder, but I could not see the new templates created when I view them from the login (i.e from the URL)...
is working on a reply...