Administrators Nabeel Posted April 12, 2010 Administrators Report Posted April 12, 2010 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) Quote
Administrators Nabeel Posted April 13, 2010 Author Administrators Report Posted April 13, 2010 Bumping my own topic Quote
Tom Posted April 13, 2010 Report Posted April 13, 2010 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. Quote
Administrators Nabeel Posted April 13, 2010 Author Administrators Report Posted April 13, 2010 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? Quote
Tom Posted April 13, 2010 Report Posted April 13, 2010 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) Quote
Administrators Nabeel Posted April 13, 2010 Author Administrators Report Posted April 13, 2010 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. Quote
skymx Posted April 26, 2010 Report Posted April 26, 2010 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.