Wednesday, November 4, 2009

Virtual Path

Okay. Finally found the problem with the virtual path. The file name didn't match - it had nothing to do with the path! Oy!

Still having trouble getting rid of the spaces and image on pages other than the home page. Part of that has to do with the forced spaces that I have in my header (which used to be in the index.php file) that give the space required for the extra-large picture. Now that the extra spaces are on every single page, I have to think about what to do with all that space. For now, I'm leaving the title and image on every page, but that won't do for the long term.

I tried modifying conn_inc.php to check to see if THIS PAGE started with 'index', in which case, I'd use the standard header_inc.php. Otherwise, I created a file header2_inc.php, but it didn't ever find a match, so I NEVER got the image. That won't do. Just got a hint as to why that is, so I'm going to see if I can get the different header version to work.

I also tried to set a variable $cssClassName and do a switch statement at the start of the header to determine whether THIS PAGE is 'index.php'. If it is, then the class name gets set to maffy, otherwise, it gets set to otherpages. That really blew things up.

Well, off to home to work on the various header choices.

No comments:

Post a Comment