TinyPortal

Development => Support => Topic started by: Touti on August 21, 2009, 12:09:00 AM

Title: Side by side center blocks with articles below.
Post by: Touti on August 21, 2009, 12:09:00 AM
Hi Forum !

Using SMF 1.1.10, TP 0.9.8 and Rhino 114 Theme.

I've been trying for a while to do this but can't figure out how, is it possible ?

Thanks !
Title: Re: Side by side center blocks with articles below.
Post by: IchBin on August 21, 2009, 12:15:30 AM
Not possible with TP 0.9.8. You could do something like that with TP1.x though.
Title: Re: Side by side center blocks with articles below.
Post by: Touti on August 21, 2009, 12:40:31 AM
THanks IchBin, I'll take a look at 1.x then.
Title: Re: Side by side center blocks with articles below.
Post by: ed_m2 on August 21, 2009, 10:29:24 AM
take a look here http://www.ultrarunner.co.uk/

i've acheived i think what you want.. using a php article with no title or frame, based on the source normally generated by a block:


echo'
<table width="100%" cellspacing="0" cellpadding="0" border="0" style="table-layout: fixed;">
<tbody>
<tr>
<td valign="top">
<div class="tborder" style="margin-bottom: 2px;">
<div class="titlebg" style="padding: 3px 6px;">

<b>TITLE</b>

</div>
<table width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="windowbg2" valign="top" style="padding: 4px;">
<div style="overflow: hidden;">

CONTENT 1

</div>
</td>
</tr>
</tbody>
</table>
</td>
<td width="10"> </td>
<td valign="top">
<div class="tborder" style="margin-bottom: 2px;">
<div class="titlebg" style="padding: 3px 6px;">

<b>TITLE</b>

</div>
<table width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="windowbg2" valign="top" style="padding: 4px;">
<div style="overflow: hidden;">

CONTENT

</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>';


(i've hacked a load of scripts out of the middle there so may have a few spare tags laying about, i've done a quick check.... but may still be wrong !)
Title: Re: Side by side center blocks with articles below.
Post by: napsta on August 21, 2009, 07:37:04 PM
Quote from: IchBinâ„¢ on August 21, 2009, 12:15:30 AM
Not possible with TP 0.9.8. You could do something like that with TP1.x though.

how can i do that with TP1.x? i searched on this forums, couldnt find anything useful. and also can i put tables inside the centre block
Title: Re: Side by side center blocks with articles below.
Post by: ZarPrime on August 21, 2009, 11:14:58 PM
napsta,

Admin --> TinyPortal --> Panels and Blocks --> Panel Settings

Check the individual settings for the panel in question wrt "Display the blocks ??".

If this doesn't answer your question, please start your own topic in the Support board.

ZarPrime
Title: Re: Side by side center blocks with articles below.
Post by: napsta on August 22, 2009, 01:59:02 PM
actually that helped me realise hwo to do it, thanks ZarPrime
Title: Re: Side by side center blocks with articles below.
Post by: ZarPrime on August 22, 2009, 02:13:49 PM
napsta,

Sure, NP.  :up: I believe that this topic can be mark solved so I will do that now.

ZarPrime