Copy link to clipboard
Copied
I have a Problem with our Special HTML Merge Tags in Dreamweaver <!$MG_XXXXX>
When I use them, Dreamveaver show me Errors and I cant see the deveoleped page
Is there a Possibility to Change the Settings in Dreamweaver?
Here is an expamle:
<td width="35"><input type="button" title="Vorhergehendes Monat" value="<" class="button" onClick="window.open('<!$MG_BUT_PREVTMONTH>','mainunten')"
<!$MG_MONAT_DISABLE>></td>
Thank you for your answer
Copy link to clipboard
Copied
is this about custom element that you 've build ... ?
don't you get any error too about the input value ?
Copy link to clipboard
Copied
Hallo Birnou
it's an Element we use to create HTML Merge Templates
it has to start with "<!$MG_" than the Variable Name and close with ">"
This Elelements will be comletly changed through the Enterprise Server serving the DATA an producing correkt HTML Code afterwards
For Example:
<td width="35"><input type="button" title="Vorhergehendes Monat" value="<" class="button" onClick="window.open('<!$MG_BUT_PREVTMONTH>','mainunten')"
<!$MG_MONAT_DISABLE>></td>
will be changed to
<td width="35"><input type="button" title="Vorhergehendes Monat" value="<" class="button" onClick="..........." ','mainunten')"
disabled></td>
In former Dreamweaver Version we could change the Error behavior. Now I even could not see the Page in draft mode in Dreamweaver because of the Errors shown
Copy link to clipboard
Copied
well I might miss a point...
I've pasted some dummy code in DW and didn't get any error
can you send me code that demonstrate the error... please isolate just a snippet, don't send a full page
Copy link to clipboard
Copied
here is the code
============================================================
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Unbenanntes Dokument</title>
</head>
<body>
<p>to disable the Button in the Template we use <!$MG_MONAT_DISABLE> to fill with -> disabled</p>
<p>should show you an error in Dreamweaver</p>
<input type="button" title="Vorhergehendes Monat" value="Button" class="button" onClick="www.intrasoft.at" <!$MG_MONAT_DISABLE>>
<p>the result after HTML Merge</p>
<input type="button" title="Vorhergehendes Monat" value="Button" class="button" onClick="www.intrasoft.at" disabled>
</body>
</html>
==========================================================
Thank you for your help!!
Copy link to clipboard
Copied
Here you see the the yellow marked error
Copy link to clipboard
Copied
ok I better understand... thanks for the explanation...
its' the fact that your meta language use chevron to open close the tag and it is also use inside an existing html tag as an attribute...
what's about using html entities to border your meta-tags
Copy link to clipboard
Copied
we can't do anything other in our templates. Also the project is allready much to big to change all our tags
In Dreamweaver 3 we could change the behavior of the programm dont to show us an error in that case. Therfore I'm searching now.
How to change the behaviour of Dreamweaver to show us the Templates in correct form on screen whithout anny error
Copy link to clipboard
Copied
Either turn off code Linting in your Preferences (uncheck the box).
Or try editing the Linting rules for HTML
Copy link to clipboard
Copied
Thank you for your Feedback
but nothing is changing
Copy link to clipboard
Copied
I have already tried to change the Linking rules for HTML
but the rules dont like the "!$" character