• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

DW template issues

Guest
Jan 04, 2023 Jan 04, 2023

Copy link to clipboard

Copied

Seriously, what is going on with DW at the moment? This programe has gone to pot. What on earth is going on with their templates? I have created a template, then clicked File > New > Site Template, seleced the template I wanted, and all the editible regions have dissapeared, meaning that I can edit all the text which I place outside the editible regions in the first place.

 

In addition to this, despite placing a link to the CSS document in the header and outside of the editible regions, none of the CSS is updating in new documents. It says it does via the Log, but the CSS does not update.

 

Literally stumped, I have used DW for 5 years and I have never had these silly, silly, stupid, ridicilous issues before. 

 

Really don't need this. 

Views

381

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 05, 2023 Jan 05, 2023

To elaborate on my reply, if this is the template file

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
	<link rel="stylesheet" href="../styles.css">
</head>

<body>
<!-- TemplateBeginEditable name="content" -->
<h1>My Title</h1>
<!-- TemplateEndEditable -->
</body>
</html>

 

Then the child file will look like

 

...

Votes

Translate

Translate
Community Expert ,
Jan 04, 2023 Jan 04, 2023

Copy link to clipboard

Copied

You've given us nothing to go on. 

 

CSS works everytime for me.  But it must be a) editable, b) valid code and c) saved and populated to child pages.

 

Open your Template .dwt and show us your Editable region for the CSS.  If using an external CSS file, where does it reside in your site structure?

And is the code error-free? Refer to the online code validation service below.

https://jigsaw.w3.org/css-validator/

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 05, 2023 Jan 05, 2023

Copy link to clipboard

Copied

As an update DW has now decided to honor the non-editable regions so hopwfully it won't have another hissy fit in that department. However, I have attached a screenshot of the external link to my CSS file. 

It applies the CSS document when I create a new HTML document from my template but when I save it, then open it back up, the CSS is ignored. I have been using DW for about five years and I have never had this issue prior so unless DW has had a major update that I was unaware of - and update that requried an addition step in loading an external CSS document, or I'm slowly losing my faculties, I fail to see what I am doing wrong. 

 

The CSS file is in the <head> section of the HTML document, where I have always placed this nd where this is supposed to go. I have also moved this to immediately after the <head> tag, with the same result. 

 

Seriously

 

stylesheet_placement.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2023 Jan 05, 2023

Copy link to clipboard

Copied

I hope that you realise that we do not see or experience what you are talking about.

 

quote

As an update DW has now decided to honor the non-editable regions so hopwfully it won't have another hissy fit in that department.

 

Seriously

By @Deleted User

 

Dreamweaver does not decide anything, it does exactly what it is told to do. I have a faint suspicion that the instructions were not free of errors.

 

As far as the style sheet is concerned, if styling does not show up in your page, then I'll bet the link to the style sheet is incorrect. This is assuming that the style rules are free of errors.

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 05, 2023 Jan 05, 2023

Copy link to clipboard

Copied

In additon to this,

 

  • HTML documents which are attached to my template are now not updating whenever I make changes to my template outside the editible regions.
  • My CSS docment is still being ignored, I m not getting any styling when I open an HTML document that has been created from the template.
  • I have even created a new template, and created a new HTML document from that template, and the result is the same, meaning that it's nothing to do with my original template. 

 

There's something seriously wrong with DW at the moment, build 15593 v21.3

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2023 Jan 05, 2023

Copy link to clipboard

Copied

quote

 

There's something seriously wrong with DW at the moment


By @Deleted User

 

Probably

BenPleysier_0-1672915992532.png

 

Have a read of this https://helpx.adobe.com/dreamweaver/kb/paths-dreamweaver-templates.html

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 05, 2023 Jan 05, 2023

Copy link to clipboard

Copied

If you;re not going to help, then do us all a favour and [inflamatory and disrespectful language removed by moderator]

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2023 Jan 05, 2023

Copy link to clipboard

Copied

Have you read the help documentation?

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2023 Jan 05, 2023

Copy link to clipboard

Copied

quote

If you;re not going to help, then do us all a favour and piss off.


By @Deleted User

 

Honestly, there has not been a single question any of your rants, only statements.

 

Come with a real question and I will attempt to help you.

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 05, 2023 Jan 05, 2023

Copy link to clipboard

Copied

This is also a discussion board, not necessarily just a Q&A board

I brought an issue to this forum because there may be other people who have had the same or similar issues and those people might have found a solution which they could share. I have not ranted at all, but this is also a discussion board: someone brings an issue, and it's discussed by anyone who wants to take part. Simply asking "why does XYZ not work?" wouldnt have been helpful to anyone.

Thank you for the link you sent me as well, I should have propertly looked at your comment before replying.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 05, 2023 Jan 05, 2023

Copy link to clipboard

Copied

Sorry Ben, I didnt see the link you also posted. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2023 Jan 05, 2023

Copy link to clipboard

Copied

Seeing this code

BenPleysier_0-1672917201655.png

I am led to believe that `master-styling.css` is outside of the root of the site.

 

This should read <link rel="stylesheet" href="../master-styling.css"> if the style sheet is in the root directory.

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 05, 2023 Jan 05, 2023

Copy link to clipboard

Copied

LATEST

To elaborate on my reply, if this is the template file

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
	<link rel="stylesheet" href="../styles.css">
</head>

<body>
<!-- TemplateBeginEditable name="content" -->
<h1>My Title</h1>
<!-- TemplateEndEditable -->
</body>
</html>

 

Then the child file will look like

 

<!doctype html>
<html><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta charset="utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
	<link rel="stylesheet" href="styles.css">
</head>

<body>
<!-- InstanceBeginEditable name="content" -->
<h1>My Title</h1>
<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>

 

Notice the difference in the link to the style sheet. This was explained in the help document.

 

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines