TinyPortal

Development => Feedback => Topic started by: Xarcell on November 20, 2005, 02:48:26 AM

Title: Extended Block....
Post by: Xarcell on November 20, 2005, 02:48:26 AM
Another TP idea

Add an extend option to articles in the center. Or add "extend" option to the top blocks in the center area. What I mean by extend is, allow the block to extend over past the right side blocks. Then, starting with the non-extended blocks, the right side block show up.

Or.... Just add a "extend" or "feature" block that extends over left, right, or both block.

Example in attachment.


[attachment deleted by admin]
Title: Re: Extended Block....
Post by: IchBin on November 20, 2005, 06:12:43 AM
That would seem to be a more theme specific option if you ask me. Coding that into TinyPortal would seem to be a bit much to me. Just my $.02
Title: Re: Extended Block....
Post by: Xarcell on November 20, 2005, 07:36:59 PM
just add a extend block option, or "feature" block option.
Title: Re: Extended Block....
Post by: IchBin on November 20, 2005, 09:25:23 PM
Yes but that would require quite a bit of javascripting to move the tables/divs etc. Thats why I think it should be theme specific.
Title: Re: Extended Block....
Post by: Xarcell on November 21, 2005, 11:27:58 AM
it would be theme specific. I don't think you guys understand what I'm talking about.

:)
Title: Re: Extended Block....
Post by: Nokonium on November 21, 2005, 01:28:46 PM
From my hazy understanding of the TP insertions in indextemplate I think that all you would need to do would be to move the right sidebar into the same section as the front block and adjust the colspan. If you create space to the side of the center block it should expand to fill it.

Not sure what you would do with the upshrink for it though, it would probably have to be permanent.

Don't forget that there is a footer area and that is full width as well, you haven't got one on your diagram.
Title: Re: Extended Block....
Post by: IchBin on November 21, 2005, 05:14:13 PM
Quote from: Xarcell on November 20, 2005, 07:36:59 PM
it would be theme specific. I don't think you guys understand what I'm talking about.
The reason I don't quite understand what your saying is because this is the first words in your first post... Another TP idea
When you start talking about extending a block, that to me means a block from TP. Hence, the reason I am saying this should be in theme suggestions and not the general suggestions. That is just my opinion though. I'll let Bloc way in on this before I do anything though. To me, this is not nearly as easy as it may seem to be.
Title: Re: Extended Block....
Post by: bloc on November 21, 2005, 07:08:05 PM
The code allows for several bars really..the call is simply sidebar('left'); which can be any name. But it assumes a variable with all the blocks "belonging" to that bar-name( "left" ) is filled up. if not, it won't render anything.

I had a system earlier that consisted of a html language combined with call to any "bar"..so <table><tr><td>{left}</td>.. etc. could be made. Its still on my harddisk ;), but I concluded it became to complex for what I set out to do. I may still use later on though.

But back to the issue...you are both right essentially. The theme can show the bars by any means, it can even filter out the first block and extend it over 2 columns, then the rest be divided into those 2 columns in the following row. to really give it power though, the block should have some kind of "custom" value, which for the right theme signals : "use 2 columns here". It would be quite possible to do this, especially for "frontblocks" that are inside TPortal.template anyway, and doesn't need a theme to be altered. left/right is kind of "locked" because they assume the forum part to come between them - simply because thats how TP is constructed now. But there too, the theme could chnage "left" to actually right and "right" to actually bottom for example..by just shuffling the call to the bars around.