This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > July 2005 > problems with DW MX2004 template - can't use!
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
problems with DW MX2004 template - can't use!
|
|
| confused_canuck 2005-07-09, 4:21 am |
| Help!
I'm trying to set up a template and haven't had this particular problem.
here's part of the problematic code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<!-- InstanceBegin template="/Templates/bluerobottemplate.dwt"
codeOutsideHTMLIsLocked="false" -->
It's that last line that's screwing me up - I try deleting it, but it doesn't
When I try to apply the template (ie. saving it and then it getting applied to
the all the pages) it says I can't because "there's an error at line 5 of the
template - unbalanced Instance Begin tag". What's horrible is that now I'm
trying to edit the template to delete that line and anything else, but the
template won't let me because it's locked). I try going under 'Modify >
Template Properties' but it's grayed out. How the hell do I unlock it? I
tried taking the code from the template and pasting it into a new plain HTML
document but it won't let me paste all of it. Is this file cursed? Am I?
Help!:frown;
| |
| Murray *TMM* 2005-07-09, 7:19 pm |
| <?xml version="1.0" encoding="utf-8"?>
Remove this line from the page.
> It's that last line that's screwing me up - I try deleting it, but it
> doesn't
You cannot delete it.
This page is not a template page, by the way - it's a child page. Why not
start at the beginning, and show me the code on your template page (the one
called bluerobottemplate.dwt). Also tell me why you are using XHTML?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"confused_canuck" <webforumsuser@macromedia.com> wrote in message
news:danhno$9da$1@forums.macromedia.com...
> Help!
>
> I'm trying to set up a template and haven't had this particular problem.
> here's part of the problematic code:
>
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
> <!-- InstanceBegin template="/Templates/bluerobottemplate.dwt"
> codeOutsideHTMLIsLocked="false" -->
>
> It's that last line that's screwing me up - I try deleting it, but it
> doesn't
> When I try to apply the template (ie. saving it and then it getting
> applied to
> the all the pages) it says I can't because "there's an error at line 5 of
> the
> template - unbalanced Instance Begin tag". What's horrible is that now
> I'm
> trying to edit the template to delete that line and anything else, but the
> template won't let me because it's locked). I try going under 'Modify >
> Template Properties' but it's grayed out. How the hell do I unlock it? I
> tried taking the code from the template and pasting it into a new plain
> HTML
> document but it won't let me paste all of it. Is this file cursed? Am I?
>
> Help!:frown;
>
| |
| confused_canuck 2005-07-15, 8:35 am |
| Originally posted by: Newsgroup User
<?xml version="1.0" encoding="utf-8"?>
Remove this line from the page.
> It's that last line that's screwing me up - I try deleting it, but it
> doesn't
You cannot delete it.
This page is not a template page, by the way - it's a child page. Why not
start at the beginning, and show me the code on your template page (the one
called bluerobottemplate.dwt). Also tell me why you are using XHTML?
But I've saved it as a template and it applies like a template; I have no idea
how it someone got dependent on a previous template I created.
I'm using XHTML and have that first line of code re: XML because I'm trying to
create pages that will degrade gracefully.
Thanks for your help, btw :)
here's the code from the bluerobot template:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>template</title>
<!-- TemplateEndEditable -->
- I don't know what you're looking for in that file, but I can post the whole
file if necessary
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|