Hello Experts! Here is my problem:
I created a header.php file that I'm going to "php require" in many pages of my website. I am expecting to often edit this header in the future to replace some pictures, add navigation button etc...) and I don't want to spend a lot of time to edit every single page and transfer the whole site at every modification!!
Until this point, everything is working great when I preview and on my hosting server...
N.B.: I'm using DreamWeaver CS3.
The problem I have is that when I want to use the Design Mode in DW to create a new pages that is using the "require", instead of displaying the header.php and thena blank page that I can edit, it displays only the header.php and doesn't let me work on the rest of the page.
I tried to pud the <?php require fonction on the top of my HTML code, between the Head and Body section, at the beginning of the Body and that doesn't make any difference!
The "bypass" i'm doing right now is to put my require command in "comments /* & */ to prevent DW from reading the require function until my webpage is finished and then I remove the "comment".
Is there any way that I could avoid doing this bypass and still being able to design my page in Design Mode? I would like to be able to preview my header in Design Mode so I can visually align the page elements with the header elements...
Maxime