| Murray *TMM* 2005-12-13, 11:02 pm |
| > My guess is the template does not recognize the new page with the .php
> extension.
That's not correct. I frequently use the method your programmer is using,
i.e., spawn a single child, save it with a bunch of different names, and
then go back and add unique content. It works fine.
> When looking at DreamWeaver it appears that one can choose to create PHP
> templates and they are different from regular .htm templates.
Only in name. There are no other differences.
> How do I convert the .dwt template pages to .php
> templates?
You could do this two ways -
1. Do nothing. Spawn a child page, add the PHP markup to it, and save it
with a PHP extension.
2. Use DW's file manager to change the name of the template from "foo.dwt"
to "foo.dwt.php", so that this change is managed in all of the child pages
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"breesha" <webforumsuser@macromedia.com> wrote in message
news:dnmcb1$d5e$1@forums.macromedia.com...
> How do I create a .php template from an .dwt template and how do I
> recreate the
> .htm pages that were originally created using the .dwt template so they
> will
> update properly using .php?
>
> I created a site using DreamWeaver and am now working with a programmer
> who is
> implementing the PHP and MySql. All the files I had created are .htm
> extensions
> and the templates are .dwt.
>
> The problem I am seeing is that the templates are not updating the new PHP
> pages. I believe this is because the programmer is simply duplicating the
> page
> that was made from the .dwt template and changing the extension from .htm
> to
> .php. My guess is the template does not recognize the new page with the
> .php
> extension.
>
> When looking at DreamWeaver it appears that one can choose to create PHP
> templates and they are different from regular .htm templates. I want all
> pages
> to update using the templates. How do I convert the .dwt template pages to
> .php
> templates? I will also need the .htm pages that were originally created
> from
> the .dwt templates to be converted to .php pages connected to the
> templates.
>
> I did my best to explain the situation.
>
>
|