1
Hi,
Dantom made a good hack recently regarding the profile activity tabbed look. So I've gone futher and implemented it on the profile categories.
Please see the example here.
To make it look like this, follow the steps described
hereexcept for the 4th step. When it comes to templates find
<{foreach item=category from=$categories}>
<{if isset($category.fields)}>
<div class="profile-list-category" id="profile-category-<{$category.cat_id}>">
<table class="outer" cellpadding="4" cellspacing="1">
<tr>
<th colspan="2" align="center"><{$category.cat_title}>th>
tr>
<{foreach item=field from=$category.fields}>
<tr>
<td class="head"><{$field.title}>td>
<td class="even"><{$field.value}>td>
tr>
<{/foreach}>
table>
div>
<{/if}>
<{/foreach}>
and replace it with
<div class="tabber">
<{foreach item=category from=$categories}>
<{if isset($category.fields)}>
<div class="tabbertab" id="profile-category-<{$category.cat_id}>">
<h2><{$category.cat_title}>h2>
<table class="outer" cellpadding="4" cellspacing="1">
<{foreach item=field from=$category.fields}>
<tr>
<td class="head"><{$field.title}>td>
<td class="even"><{$field.value}>td>
tr>
<{/foreach}>
table>
div>
<{/if}>
<{/foreach}>
div>
and this is gonna be it.
It works for my testing website which is powered by XOOPS 2.3.3, but I still can't get it working on my XOOPS 2.2. Ghia tried to help me
here but I can't get it working still. Anybody can help?
Mind anchors