TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 651
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 153
  • Total: 153

Extended Block....

Started by Xarcell, November 20, 2005, 02:48:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Xarcell

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]

IchBin

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

Xarcell

just add a extend block option, or "feature" block option.

IchBin

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.

Xarcell

it would be theme specific. I don't think you guys understand what I'm talking about.

:)

Nokonium

#5
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.

IchBin

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.

bloc

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.