Firefox PHP

Two Column Design

Posted by bandlow 
Two Column Design
September 18, 2013 05:20PM
Hello I need a little bit help with my new Layout.
Here my structure.

Header 100%
Div Wrapper
Div Left 70%
Div Right 30%
/Div Wrapper
Div Footer 100%



I want to add a second column div container. The output from statistic or online user modules should be run into the footer div (full width). But there is only a hook before footer, the output places between div left und div right.
Re: Two Column Design
September 19, 2013 10:34PM
Hello, I'm not sure what you are asking, sorry. Can you do...

Header 100%
Div Wrapper
Div Left 40%
Div Middle 30%
Div Right 30%
/Div Wrapper
Div Footer 100%

If you look in the templates you will see things like {NAME->info} so you could set $PHORUM['DATA']['NAME']['info2'] = $your_output; in your PHP file, and then use {NAME->info2} in the same template you found {NAME->info} assuming your PHP code is in the right spot for use in the template. Just be sure info2 isn't already used to avoid overwriting some variable.

Not sure if that is what you are asking.
Re: Two Column Design
September 25, 2013 06:21AM
Thank you,
i write a new module to wrap the new column.
Sorry, only registered users may post in this forum.

Click here to login