Forum Moderators: coopster

Message Too Old, No Replies

How do you render php in html pages for dreamweaver?

         

smithaa02

4:40 pm on Jun 24, 2005 (gmt 0)

10+ Year Member



When I have a php header and footer included in my php document, the html in the header and footer displays in display view of dreamweaver (which along with the rest of my content) forms a complete page. When I try to do the same trick with .htm(l) documents, I just get a php symbol representing the code block, and dreamweaver doesn't actually substitute the header and footer html contents. (I'm doing this because my html files are interpretted as php files for search engine reasons)

Does anybody know how to tweak dreamweaver, so either it interprets .htm / .html files the same as php files, or there is a way to tell dreamweaver to expand php blocks in display view.

hakre

6:46 pm on Jun 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i can't tell you because i don't use dreamweaver any longer (version 4 was quite disappointing and now all is bloated) but anyway i would assume this can be an option of dreamweaver, so i would checkout the preferences of dreamweaver for that.

coopster

3:32 pm on Jun 25, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, smithaa02.

I don't know how to do that in DW either. If one of our current PHP members uses DW hopefully they will come along and reply. Have you also searched Macromedia's site for direction?