It's cost me a lot of time really, but I think i did it, after many
try, i think the only way we have proper columns (sidebars) is with
fixed width, so i have to know in the moment of views if its sidebar
right, sidebar left, both or none. This complex the view, but work out
the box without editing css or commenting lines. The only have to do
is to modified left_sidebar_enabled and/or right_sidebar_enabled vars.
Now you can change footer, header, statusbar in views. Perhaps its not
going to satistifize all, but its a model of what can we do in layout-
view.

Both sidebars
http://web2pytesting.appspot.com/both/default/index

Right Sidebar only
http://web2pytesting.appspot.com/right/default/index

Left Sidebar only
http://web2pytesting.appspot.com/left/default/index

None sidebars
http://web2pytesting.appspot.com/

Code and W2p
http://web2pytesting.appspot.com/static/welcome.zip
http://web2pytesting.appspot.com/static/welcome.w2p

On Sep 28, 9:46 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> for example I am using a wiki app right now every page can have a
> different title, subtitle and header background.
> also some pages may have some custom <style> in the head that come
> from the auth_user table.
>
> On Sep 28, 6:49 am, "Martin.Mulone" <mulone.mar...@gmail.com> wrote:
>
>
>
> > yes didn't come to my mind the blocks. Massimo I like and i could do
> > that, but you think i have to move footer, header all to each view,
> > because headers and footer generally is the same for all the pages. Or
> > for now only the sidebars?.
>
> > On Sep 27, 9:56 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > Since we now have blocks how about using {{block left_sidebar}}...
> > > {{block right)sidebar}} {{block header}} {{block footer}} {{block
> > > under_page}} (position: absolute; top:0) {{block over_page}}
> > > (position: absolute; bottom:0) so pages can turn on and off what they
> > > need?
>
> > > Ideally the more  people can do just with css, the better.
>
> > > On Sep 27, 3:08 pm, "Martin.Mulone" <mulone.mar...@gmail.com> wrote:
>
> > > > Because we don't need it. I dont delete ez-css from base.css so you
> > > > can use it if you want.
>
> > > > This is the old code utilizing ez-css:
>
> > > > <div class="ez-wr">
> > > >           <div class="ez-fl ez-negmx">
> > > >             <div class="ez-box" id="left_sidebar">{{#------ unused
> > > > space}}</div>
> > > >           </div>
> > > >           <div class="ez-fl ez-negmr">
> > > >             <div class="ez-box" id="content">{{include}}</div>
> > > >           </div>
> > > >           <div class="ez-last ez-oh">
> > > >             <div class="ez-box" id="right_sidebar">{{#------ unused
> > > > space}}</div>
> > > >           </div>
> > > > </div>
>
> > > > This is what i do in less code, its more readable: not clases just
> > > > left_sidebar, right, and content.
>
> > > > <!--<div id="left_sidebar">here content of sidebar left</div>-->
> > > > <div id="content">{{include}}</div>
> > > > <!--<div id="right_sidebar">here content of sidebar right</div> -->
> > > > <div style="clear: both;"></div><!-- Clear the divs -->
>
> > > > Yes its commented, but if you plan to used for example in book said
> > > > that wiki.sidebar you have to edit layout is the same, you have to
> > > > edit layout and one line commented in base.css, so its not problem to
> > > > uncomment and put meta.sidebar.
>
> > > > I believe cleaner code is better. Perhaps i don't see it right and i
> > > > am wrong.
>
> > > > On Sep 27, 4:40 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > > I really like the look. You are still not using ez.css andy reason for
> > > > > not to?
> > > > > what is DC.?
>
> > > > >         <meta name="DC.title" content="" /><!-- Project Name -->
> > > > >         <meta name="DC.subject" content="" /><!-- What you're about. 
> > > > > -->
> > > > >         <meta name="DC.creator" content="" /> <!-- Who made this 
> > > > > site. -->
>
> > > > > Massimo
>
> > > > > On Sep 27, 2:36 pm, "Martin.Mulone" <mulone.mar...@gmail.com> wrote:
>
> > > > > > fixed.
>
> > > > > > you can test in css_test at the bottom i put multiple. You have to
> > > > > > reload the page to see the changes because of caching.
>
> > > > > >http://web2pytesting.appspot.com/welcome/default/test_css
>
> > > > > > On Sep 25, 1:41 am, Luis Díaz <diazluis2...@gmail.com> wrote:
>
> > > > > > > Greetings,
> > > > > > > there is an option select multiple problems.
>
> > > > > > > should have at least 5 lines minimum
> > > > > > > to select various options to see
>
> > > > > > > --
> > > > > > > Díaz Luis
> > > > > > > TSU Analisis de Sistemas
> > > > > > > Universidad de Carabobo

Reply via email to