How can i edit a php template in dreamweaver? It shows up with the little php script box and no images?

I can’t see the page, nor the colors, or anything just the script and a blank design view.

How do you edit php in dreamweaver? I donwloaded a script/template and can’t edit the colors nothing. :( help a noob please

2 Responses to “How can i edit a php template in dreamweaver? It shows up with the little php script box and no images?”

  • Bernz:

    To create a template in Dreamweaver, follow these steps:

    1- Create a simple PHP page: place your images, your tables, your layout…

    2- Add at least one editable region: Menu Insert -> Template Objects -> Editable Region. Whatever you write in this region will NOT be update once you update your template.

    3- Save your template: Menu File -> Save as Template. Your file will be saved in the "Templates" directory of you site with a .DWT extension.

    To apply your template to a page, create a new page (or open an existing one) then select menu Modify -> Template -> Apply Template to Page. Select your template and the editable region created in step #2 will be available for editing. You’ll be able to add PHP code in there if you wish.

    Good luck!

  • sosab:

    php in dreamweaver is just writing codes u cnt watch the template u should edit the template and run it on server to watch the effect

Leave a Reply