Jump to content

Dreamweaver template


Nabeel

Recommended Posts

  • Administrators

Can someone send me a Dreamweaver template? I know they have some markup in it, with the content tags, etc. I'd like to either somehow have phpVMS parse it directly, or instructions on how to translate from that to phpVMS (which should be real simple with the layout.tpl format)

Link to comment
Share on other sites

Erm not really sure what you would use this for. All it does is defines editable regions for within dreamweaver, so once saved only specified parts can be changed. It works something like so:

</html><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>

<body>
</body>

And then obviously you would have your own code in the body and use the <!-- TemplateBeginEditable --> to specify areas for people to edit content.

Link to comment
Share on other sites

  • Administrators

Erm not really sure what you would use this for. All it does is defines editable regions for within dreamweaver, so once saved only specified parts can be changed. It works something like so:

</html><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>

<body>
</body>

And then obviously you would have your own code in the body and use the <!-- TemplateBeginEditable --> to specify areas for people to edit content.

What about the editable regions for content? You add those in, right?

Link to comment
Share on other sites

Yup it's all based around your own code.. so when making your template you specify regions you allow editing with the <!-- TemplateBeginEditable --><!-- TemplateEndEditable --> tags. The rest is then greyed out for the user. (Only when editing in dreamweaver obviously)

Link to comment
Share on other sites

  • Administrators

Yeah, I've used it before. Can you paste a basic template with the content editable regions, etc as well?

The use is for basically a quick tutorial in the docs from how to go from a template in Dreamweaver, to a phpVMS template, using the layout.tpl format.

Link to comment
Share on other sites

  • 2 weeks later...

Yeah, I've used it before. Can you paste a basic template with the content editable regions, etc as well?

The use is for basically a quick tutorial in the docs from how to go from a template in Dreamweaver, to a phpVMS template, using the layout.tpl format.

I managed to edit a dreamweaver template, The one with the nice drop-down navigation menu, called zoombablue (Free Dreamweaver Template)

since I was getting a little bored with those available so far for phpvms.

It is not very complex to figure it out, you can see it here...

The rest I added it to it, came from the net. Still needs a little refining, but it works!

http://skymex.eu5.org

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...