pommiegranit
Posts: 3
|
| Posted: 11/11/2006, 4:12 AM |
|
I am working on my first CCS project.
I have set up a header (and footer) as includeable files and put my HTML header information in the header to include on each page.
However, only the <link> tags get through the publishing process, the <html>, <head>, <meta> and <body> tags are all removed.
Is this correct behaviour? How do I get around this?
Thanks.
|
 |
 |
pommiegranit
Posts: 3
|
| Posted: 11/11/2006, 5:03 AM |
|
Other than editing the file after publishing in Dreamweaver, of course
|
 |
 |
Oper
Posts: 1195
|
| Posted: 11/11/2006, 8:45 AM |
|
Include files remove those Tags (you dont really needit as those are just Include process.
The main will have those tags so
http://www.GlobalDevelop.com
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
pommiegranit
Posts: 3
|
| Posted: 11/12/2006, 1:10 AM |
|
By "main" you mean the real pages?
I want the header in a single includeable file so if I want to add meta or a new javascript file or new CSS I can do so in one place - I don't want to have to change every page.
Or am I missing something?
BTW, editing the header / footer afterwards is no great hassle and it works!
|
 |
 |
WKempees
|
| Posted: 11/12/2006, 2:17 AM |
|
As your Header page is an INCLUDE page, and therefore will be included on/on
another page
you would want/need the <head> <html> to be removed.
these tags are present in the Header page only during Design time, to
faclitate CCS showing you what you are doing in Design mode.
Upon Publishing the tags get removed so that they will not conflict with the
"main" page. "main" being the page that the included page is included in/on.
This is on purpose behaviour and really needed!
You can however add labels to your header (like Metatags) that you can fill
from within the beforeshow of each Mainpage.
Hope this clarifies.
Walter
|
|
|
 |
|