flattesterik
Posts: 10
|
| Posted: 03/09/2009, 3:18 AM |
|
hi,
we use includable pages for header/footer on all our codecharge-pages. an average page looks like this:
{header}
some record/grid etc
{footer}
on any html-action in the grid/record on the page, codecharge adds html-tags at the top of the page. so the page looks like this:
<html>
<head></head>
{header}
etc etc
those self-added tags from CC are a pain in the ass as they make the page look crap in IE and of course they result in invalid html as we have those tags already in the {header}.
is there any way to disable the automatically generation of those tags??
|
 |
 |
Gena
Posts: 591
|
| Posted: 03/09/2009, 4:01 AM |
|
use includable page
_________________
Gena |
 |
 |
flattesterik
Posts: 10
|
| Posted: 03/09/2009, 4:15 AM |
|
? and what do you mean with that exactly? we do use includable pages for header/footer
|
 |
 |
Gena
Posts: 591
|
| Posted: 03/09/2009, 4:25 AM |
|
what is grid/record ? is this also include page?
i don't understand where codecharge adds html-tags? on the normal page? but why you don't need it? If it is normal HTML page this should contains something like this
<html>
<head>
<title>title</title>
</head>
<body>
</body>
</html>
and you can add your includable pages
<html>
<head>
<title>title</title>
</head>
<body>
{header}
some record/grid etc
{footer}
</body>
</html>
if you really don't need some code - delete it after you finish with record/grid...
_________________
Gena |
 |
 |
flattesterik
Posts: 10
|
| Posted: 03/09/2009, 4:44 AM |
|
we don't need those tags because those tags are already in our includable header-page.
what you get, is this example:
<html>
<head></head>
<body>
{header} ( <-- which includes the html-tags already, giving double html-tags)
Quote :if you really don't need some code - delete it after you finish with record/grid...
true, but it's very easy to forget this when you're modifying older pages. that's why i want to know if it's possible to not have those tags generated
|
 |
 |
Gena
Posts: 591
|
| Posted: 03/09/2009, 4:53 AM |
|
yes, I understand
BTW you need to deside what way to use.
My personal opinion is:
EVERY normal HTML page should follows html rules so it should has tags like
<html>
<head></head>
<body>
etc
evething else can be moved into Includabe pages.
_________________
Gena |
 |
 |
datadoit
|
| Posted: 03/09/2009, 4:58 AM |
|
Unfortunately the solution is as Gena suggests. Your design method
needs to change to solve this permanently.
|
|
|
 |
flattesterik
Posts: 10
|
| Posted: 03/09/2009, 5:35 AM |
|
EVERY normal HTML page has html-tags according to html-rules, coming from the includable {header}-page.
it's not an option to have those tags on an includable page for maintenance reasons (we maintain css, js, meta tags on the header, and on the header only, it's undoable to have to maintain that on every page )
but still, no solution ??
|
 |
 |
Gena
Posts: 591
|
| Posted: 03/09/2009, 5:49 AM |
|
no
_________________
Gena |
 |
 |
Oper
Posts: 1195
|
| Posted: 03/09/2009, 9:38 AM |
|
Quote flattesterik:
EVERY normal HTML page has html-tags according to html-rules, coming from the includable {header}-page.
it's not an option to have those tags on an includable page for maintenance reasons (we maintain css, js, meta tags on the header, and on the header only, it's undoable to have to maintain that on every page  )
but still, no solution  ??
Use Dinamyc META_TAGS and Includable Options for js and CSS.
That what i do.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |