Templates & PHP files

N

nikkimac

I am using Frontpage 2003 and DWT files as templates. The templates are
working great with my html files. However, as my site has got larger I
have added many PHP files to update my databases.

Problem is, whenever I make a change to a template, it only updates the
html files and the php files remain the same, without the template
changes. The only way I can update them to the new template is to open
each php file and save it. This then uses the new template correctly.
But a nightmare whenever I make any changes.

Is there something within the options or elsewhere that i can change to
make sure that php files are also changed when the template they are
attached to is changed or is this a glitch within Frontpage?

Thanks,

Nikki
 
C

Chris Leeds, MVP-FrontPage

Here's a link that explains how to make PHP function on an htm/ html page:
http://contentseed.com/help/files/PHP_as_HTM-HTML.pdf

However, if you're going to use FrontPage "run-time" components such as "hit
counter", "form handler", etc. I recommend that you only do htm OR html and
leave the unmodified extension in reserve for things like FrontPage forms
and custom confirmation pages.

HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top