From: Jonathan F. <jon...@fa...> - 2003-12-04 02:22:39
|
Sorry about the confusion from my original post. I don't have a CSS/Layout issue as much as a question about the workings of the layout module and configuring the transfers.tpl file. Normally a theme's theme.tpl file looks like this: =========================== <table> <tr> <td> {LEFT_COL_TOP} {LEFT_COL_MID} {LEFT_COL_BOTTOM} </td> <td> {TOP} {BODY} {BOTTOM} <td> </td> {RIGHT_COL_TOP} {RIGHT_COL_MID} {RIGHT_COL_BOTTOM} </td> </tr> </table> ========================== and a corresponding transfers.tpl file that looks like this: ========================== top:2:1 body:2:2 bottom:2:3 left_col_top:1:1 left_col_mid:1:2 left_col_bottom:1:3 right_col_top:3:1 right_col_mid:3:2 right_col_bottom:3:3 ========================== Trying to get away from the inherent left/middle/right structure of the layout module I came across this note in the old ./mod/layout/docs/theme_creation.txt file "Also, if nothing else, make SURE you have a BODY theme variable. phpWebSite defaults blocks to that variable if it gets confused." I created a theme.tpl file that only contained the {BODY} theme variable assuming that all content would simply default to that theme variable. I plan on controlling the layout of all pages using CSS. My question is, if my theme.tpl file only has the {BODY} tag, what should the transfers.tpl file look like? I tried: body:2:2 body:1:1 and body But when using this new theme setup, I notice that some "elements" appear twice. There are two mini calendar boxes and two main menu boxes in the output. This is before any use of CSS, just the raw output from theme.tpl. Does anyone know why this is happening or how to fix it? Does anyone know what the transfers.tpl file should look like if the only theme variable in use is the {BODY}? Jonathan ----- Original Message ----- From: "aDarkling" <ju...@re...> Cc: "phpWebSite Devs" <php...@li...> Sent: Tuesday, December 02, 2003 10:44 AM Subject: Re: [Phpwebsite-developers] Need help overriding the layout module > It's probably going to be pretty hard to get help on a CSS/Layout > interactivity issue without providing a demo site so we can see what > you're talking about. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |