Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
12-06-2006, 10:34 AM #1
- Join Date
- Oct 2004
- Thanked 0 Times in 0 Posts
How do I remove Template Tags from HTML?
I have attempted building a site using Templates in Dreamweaver MX2004.
Created a number of Editable Regions within this template.
Saved each new completed content page as a html page.
What I have noticed is that I am now unable to change any meta tags in my html pages.
I have clicked on Modify - Remove Template Markup in the Template page.
It has not cleared the Editable Region in the html pages.
One particular region that I need to change info on each html page is my links under heading
Other Article Header goes Here.
How do I remove all regions in my html page without having to do this through the Template - /BusCoach.dwt?
Would be so pleased if you could help.
12-06-2006, 03:52 PM #2
- Join Date
- Jun 2005
- Near Chicago, IL, USA
- Thanked 32 Times in 31 Posts
Do it outside dreamweaver. Notepad, etc.
That said, once you do that, you defeat the purpose of templates, as they will no longer update those pages correctly. Once you remove ANY template markup, you're done using the templates for that page.
Why don't you just make the meta tags an editable region?
If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit http://www.kaelisspace.com/