Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorpeanut
    • CommentTimeOct 16th 2005
     
    Hi All

    I am trying to build my site by using only divs (as opposed to frames). The site has a header div (top), a navigation div (left side) and a content div (main area). I managed to get the 'index.php' file to display within the content div. But as soon as I click on the "collections" a whole new page gets loaded with none of the divs. Any ideas how I can keep the plogger completely within the content div?

    Much appreciated!
    •  
      CommentAuthorBen
    • CommentTimeOct 16th 2005
     
    You should be building your page on the index.php page itself and putting the divs around the gallery.php file include statement since really the gallery is in the gallery.php and the index.php is just a place holder. plus a link would be nice to your problem.
    • CommentAuthorpeanut
    • CommentTimeOct 17th 2005
     
    I tried what you said Ben, but still no luck. Here is the link to what I am trying ....
    http://www.familyshare.com.au/test/photos.php
    You will see that when it loads its in the correct div. But as soon as you click on the collection the layout is gone.

    The code I'm using for the layout is .....

    <html>

    <head>
    <link href="css/default.css" rel="stylesheet" type="text/css">
    </head>

    <body>
    <div id="index_wrapper">

    <div id="index_header">header</div>
    <div id="index_content"><?php include 'http://www.familyshare.com.au/test/photos/index.php'; ?></div>
    <div id="index_nav"><table width="120" border="0">
    <tr>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>MENU</td>
    </tr>
    <tr>
    <td>Photo Albums </td>
    </tr>
    <tr>
    <td>Events</td>
    </tr>
    <tr>
    <td>Guestbook</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    </tr>
    </table>
    </div>

    <div id="index_calendar">Calendar</div>
    <div id="index_admin"><table width="140" border="0">
    <tr>
    <td>ADMIN</td>
    </tr>
    <tr>
    <td>Add photos </td>
    </tr>
    <tr>
    <td>Add events </td>
    </tr>
    <tr>
    <td>Change theme </td>
    </tr>
    <tr>
    <td>Help</td>
    </tr>
    </table>
    </div>
    <div id="index_footer">
    <div align="center">www.familyshare.com.au</div>
    </div>

    </div>
    </body>
    </html>

    Once again ... your help is much appreciated.
  1.  
    peanut -- that not index.php, that's photos.php, and so when it calls index.php your edits aren't there.

    as Ben said, put your design into index.php
    •  
      CommentAuthorBen
    • CommentTimeOct 17th 2005
     
    yeah don't include the:

    <div id="index_content"><?php include 'http://www.familyshare.com.au/test/photos/index.php'; ?></div>

    you should be editing the actual http://www.familyshare.com.au/test/photos/index.php file to fit your site like othermichael says. That should work out much better then what you are trying to do atm.
    • CommentAuthorpeanut
    • CommentTimeOct 17th 2005 edited
     
    THANK YOU! THANK YOU! THANK YOU! I followed what you said and it works!. Your help is much appreciated. Here is the link:
    http://www.familyshare.com.au/test/photos/index.php
  2.  
    Well, there's some wonkiness with the layout, but you're 3/4 there!