PDA

View Full Version : Change layout of home...


rodriguez
12-14-2004, 02:17 AM
I want the "memberblock" to show spanned on three columns (left, leftspacer and center). So, I want memberblock on top of the usual leftblock, left spacer and centerblock, but keep rightblock (and right spacer) going all the way to the top.

check my two attached images (made in paint).. "before" and "after" to see what I mean.

to make this simple, the current output goes like this in adv_portal template:

<table>
<tr>
<td>$home[leftblocks]</td>
<td>spacer</td>
<td>$home[centerblocks]</td>
<td>spacer</td>
<td>$home[rightblocks]</td>
</tr>
</table>


The new one I'd like it to look like this:

<table>
<tr>
<td colspan="3">adv_portal_welcomeblock</td>
<td rowspan="2">spacer</td>
<td rowspan="2">$home[rightblocks]</td>
</tr>
<tr>
<td>$home[leftblocks]</td>
<td>spacer</td>
<td>$home[centerblocks]</td>
</tr>
</table>


so, is there a way to "pull out" the adv_portal_welcomeblock from $home[rightblocks] and put it in adv_portal? I think by doing so I would be able to do it (modifying adv_portal)

Another way to do it would be to shift the welcomeblock in a new, created "column" that we could call whatever we'd like. So instead of having only the choice of left, center, right to position the modules, we could create new "spaces" with custom names and then place then where we want in the templates.

That would rock and allow an infinite possibilities of layout.


<table>
<tr>
<td colspan="3">$home[xyzblocks]</td>
<td rowspan="2">spacer</td>
<td rowspan="2">$home[rightblocks]</td>
</tr>
<tr>
<td>$home[leftblocks]</td>
<td>spacer</td>
<td>$home[centerblocks]</td>
</tr>
</table>


If it's already possible (I just started playing with vbadvanced), please guide me to some reading in order to create new "sections" other than left, center, right.

Thanks a lot for your help.

rodriguez
12-14-2004, 04:59 PM
seems nobody can help, so I decided to hack myself

I made a 4th place called custom and now I can put whatever module I want in it.

I can also place that module where I want on the page

It's not done yet, but I'm getting to it

Etienne

Our Sponsors
 

rodriguez
12-14-2004, 05:34 PM
it's done, and it works perfectly, only thing is that ifI add a new module, I nee dto put it right, left, center and then move it to custom. I don't have time to play around adding.

Anyways if someone want's the hack it's very simple to do.

Etienne

Mythotical
12-29-2004, 01:05 AM
I want the hack please oh please. hehe