homepage Welcome to WebmasterWorld Guest from 54.166.159.110
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
editable regions in <head>
head tag, editable region, .dwt
toby_c500

5+ Year Member



 
Msg#: 3547815 posted 3:53 pm on Jan 14, 2008 (gmt 0)

hi guys. I hope you can help me.

I have been searching for an answer to this one. It seems to be a common problem. So far I have no been able to find the solution.

How do you add an editable region to the <head> tag in a .dwt?

I am using the adobe developers tool kit in dreamweaver CS3. It is asking for an editable region in the head to place scripts.

Any ideas?

Thanks for helping me out.
Toby

 

BeeDeeDubbleU

WebmasterWorld Senior Member beedeedubbleu us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3547815 posted 4:40 pm on Jan 14, 2008 (gmt 0)

I haven't used CS3 but I would assume that this hasn't changed. When using DW templates I always make the meta content editable with the <head> section. You can do this in code view.

<head>
...
...
...
<!-- TemplateBeginEditable name="whatever" -->
<title>Your Page Title</title>
<meta name="Description" content="Your description"/>
<!-- TemplateEndEditable -->
...
...
...
</head>

Does this help?

Quadrille

WebmasterWorld Senior Member quadrille us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3547815 posted 1:03 am on Jan 16, 2008 (gmt 0)

My DW comes up with:

<head>
<!-- #BeginEditable "metatags" -->
<title>jnydnnysmy</title>
<meta name="description" content="sjjtjjsj">
<meta name="keywords" content="jtjtjjs">
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" ...
<link rel="shortcut icon" ...
....
....
</head>

See which works for you.

I select a bit of text in wysiwyg, go to modify > templates > new editable region, and call it 'metatags', then go to code view and transplant it manually to the <HEAD>, and insert the stuff that needs to be unique per page (title / meta kw / meta desc).

Works for me!

[edited by: Quadrille at 1:04 am (utc) on Jan. 16, 2008]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved