HighDots Forums  

CSS/DW experts please, .dwt file is buggy

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS/DW experts please, .dwt file is buggy in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
UltraTch
 
Posts: n/a

Default CSS/DW experts please, .dwt file is buggy - 02-01-2005 , 07:21 AM






Welp, this is seriously bugging the heck out of me... I have recreated the
entire document, rewritten some of the CSS to make it flow simpler, and
minimized the size of the HTML file... Here is a track of my progress: I
create an entire new Site (folder) to store this new problem Start out with
plain html file, i frist save the doc as an html so i can link the CSS page
(wont let you witout it being saved) make the entire body an editable region
so i can save it as a template. So great, i have a CSS linked template. All is
well I start as a new child of the template and begin editing the editable
region (which was the problem before). I view the site, upload the site to test
it for sure, save file and exit file. I am still ALLOWED to edit the editable
region..... Everything works great!!! Thinking this solves the problem, i am
THRILLED.... but wait...i close the child, and add in the menu div just above
the 'beginning of the editable region' and just below the 'beginning of the
body tag'. I view this, looks good (the template file currently looks like
this) I now go back to my child after adding the simple menu DIV and try to
edit the EDITABLE region of the template... The problem begins... i am now not
allowed to edit anything within the editable region, or anywhere on the child
site. So...same ole problem, any new answers??? The files are here:
www.smlre.com/problem.html (child) www.smlre.com/new1.css (css)
www.smlre.com/newTemplate3.dwt (template file) All permissions are set to 555
I have also updated macromedia to the most current version. Please help, thank
you!! Tekture


Reply With Quote
  #2  
Old   
The Wandering Messiah
 
Posts: n/a

Default Re: CSS/DW experts please, .dwt file is buggy - 02-01-2005 , 07:28 AM






I believe your problem is where your CSS file is within your code.
Instead of:
<link href="../new1.css" rel="stylesheet" type="text/css">
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->

Try this:
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link href="../new1.css" rel="stylesheet" type="text/css">

Within your Template.
Hope it helps.


Reply With Quote
  #3  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: CSS/DW experts please, .dwt file is buggy - 02-01-2005 , 07:33 AM



It could not possibly make a difference.

--
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
==================

"The Wandering Messiah" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I believe your problem is where your CSS file is within your code.
Instead of:
link href="../new1.css" rel="stylesheet" type="text/css"
!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --

Try this:
!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --
link href="../new1.css" rel="stylesheet" type="text/css"

Within your Template.
Hope it helps.




Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: CSS/DW experts please, .dwt file is buggy - 02-01-2005 , 07:36 AM



The first link is NOT FOUND (404).

Please do me a favor. Produce a set of steps, starting with this linked
template page, that demonstrate the problem. I want to work along with you.
I now have your template page, and your CSS file. Your narrative not
completely clear to me, so just the steps, please!

--
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
==================

"UltraTch" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Welp, this is seriously bugging the heck out of me... I have recreated
the
entire document, rewritten some of the CSS to make it flow simpler, and
minimized the size of the HTML file... Here is a track of my progress: I
create an entire new Site (folder) to store this new problem Start out
with
plain html file, i frist save the doc as an html so i can link the CSS
page
(wont let you witout it being saved) make the entire body an editable
region
so i can save it as a template. So great, i have a CSS linked template.
All is
well I start as a new child of the template and begin editing the editable
region (which was the problem before). I view the site, upload the site to
test
it for sure, save file and exit file. I am still ALLOWED to edit the
editable
region..... Everything works great!!! Thinking this solves the problem, i
am
THRILLED.... but wait...i close the child, and add in the menu div just
above
the 'beginning of the editable region' and just below the 'beginning of
the
body tag'. I view this, looks good (the template file currently looks like
this) I now go back to my child after adding the simple menu DIV and try
to
edit the EDITABLE region of the template... The problem begins... i am
now not
allowed to edit anything within the editable region, or anywhere on the
child
site. So...same ole problem, any new answers??? The files are here:
www.smlre.com/problem.html (child) www.smlre.com/new1.css (css)
www.smlre.com/newTemplate3.dwt (template file) All permissions are set to
555
I have also updated macromedia to the most current version. Please help,
thank
you!! Tekture




Reply With Quote
  #5  
Old   
UltraTch
 
Posts: n/a

Default Re: CSS/DW experts please, .dwt file is buggy - 02-01-2005 , 07:49 AM



pardon my ignorance, but whats the difference?
Also, DW insterted this code whilst saving it as a template.

I will try this when i get home. Thanks for postin.

Any one else????

Reply With Quote
  #6  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: CSS/DW experts please, .dwt file is buggy - 02-01-2005 , 07:52 AM



What's the difference? What's the difference with what?

I can't follow your narrative. If you had a set of steps like this -

1. Spawn a child page from the template.
2. Change this - "aksjdlasjd" to this - "kdjflksdfj"
3. Save the child page

I could try to follow along with you. As it is right now, I see existing or
potential problems with the code on that template page.

--
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
==================

"UltraTch" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
pardon my ignorance, but whats the difference?
Also, DW insterted this code whilst saving it as a template.

I will try this when i get home. Thanks for postin.

Any one else????



Reply With Quote
  #7  
Old   
The Wandering Messiah
 
Posts: n/a

Default Re: CSS/DW experts please, .dwt file is buggy - 02-01-2005 , 07:53 AM



Sorry, but I don't think the positioning of your CSS file will change anything,
sorry for posting when I shouldn't have.
When I copy your source and paste it into a new html template page it displays
an error message saying to insert this:

<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->

Into the head of your document.
It then makes your region editable.
Other than that I don't understand why it's doing this to you.
Sorry again for rubbish posting, hope this helps you more than before.



Reply With Quote
  #8  
Old   
UltraTch
 
Posts: n/a

Default Re: CSS/DW experts please, .dwt file is buggy - 02-01-2005 , 10:43 AM



Sorry Murray, my 2nd post was to Messiah. the first link should be
www.smlre.com/problem.htm Ok here goes the step-by-step 1. First i created a
whole new site ( go to new site, everything on local) site name is 'new SMLRE'
2. file / new / html page 3. Save this file in my site as new1.html 4. link the
css page 5. add the editable region just inside the body tags 6. To make it
simple, i stopped here. Saved the template as newTemplate3.dwt and closed it.
7. File / new / Under site: 'new SMLRE', i choose template: newTemplate3.dwt 8.
I begin editing the editable region of the child. 9. I save the child, preview
it, upload it to server along with the css file. (ohh btw, i changed some of
the css file to run smoother, i think) 10. At this point, everything works
fine. 11. I open up the template file (newTemplate3.dwt) and edit something not
in and editable region (so that it carries over to the child) I add the menu,
ust above the editable region inside the body tags (the template currently
looks like this) 12. This works as well. The child is updated and it previews
fine. 13. The PROBLEM begins when i NOW try to edit anything on the child...
nothing at all is allowed to be edited... none of the editable regions. When i
do try to edit them, i get an error saying 'i am tring to change something that
has been locked by the template, changes will be discarded' PS: I am using
only the code editor and not the design view. PSS: i have successfully made a
template out of a normal tables designed page. Is it the CSS? SO... thats
where i am at... thanks for helping... Tekture


Reply With Quote
  #9  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: CSS/DW experts please, .dwt file is buggy - 02-01-2005 , 10:57 AM



Thank you for this.

What browser are you using to post this, please? I'm trying to understand
why your webforum posts are so garbled on the NNTP forum.

Is the link in this post (http://www.smlre.com/problem.htm) to the page that
you can now no longer edit?

When I take the code on that page, and open it in DMX2004, I have no problem
at all editing anything, but I don't see a menu on it, as you describe
below, so I am guessing that this page is the precursor to the problem.

Quote:
I add the menu,
Which menu?

--
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
==================

"UltraTch" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Sorry Murray, my 2nd post was to Messiah. the first link should be
www.smlre.com/problem.htm Ok here goes the step-by-step 1. First i
created a
whole new site ( go to new site, everything on local) site name is 'new
SMLRE'
2. file / new / html page 3. Save this file in my site as new1.html 4.
link the
css page 5. add the editable region just inside the body tags 6. To make
it
simple, i stopped here. Saved the template as newTemplate3.dwt and closed
it.
7. File / new / Under site: 'new SMLRE', i choose template:
newTemplate3.dwt 8.



Reply With Quote
  #10  
Old   
UltraTch
 
Posts: n/a

Default Re: CSS/DW experts please, .dwt file is buggy - 02-01-2005 , 02:06 PM



hrmm... www.smlre.com/problem.htm does load with a menu... not sure why you
cant see it? i cant believe this is such a problem... this is beating me to
death... should i reinstall DW? Have you gone through all the steps as i have?
make a new site in DW, import the dwt file into the template file, and the css
file in the main site folder.. follow my steps.. does it work for you!?!??!?
if yes, then there is something wrong with my enviornment... If no, then
there, is something wrong with the code... Can someone please get me this
information!? THANK!!! Tekture


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.