Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
4 - 0 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Profile categories hack
by deka87 on 2009/10/18 11:58:22

been a while since i last looked into it. so i want to refresh the topic.

so the question is where should i start from to tab the edit profile page by categories? thanks
Re: Profile categories hack
by deka87 on 2009/7/12 19:05:56

i also thought about appplying this on the profile edit page cos it looks kinda bulky, but it doesn't use a template and i'm not sure what to do with the include/form.php. it'd be awesome if somebody made something out of it
Re: Profile categories hack
by sailjapan on 2009/7/12 15:26:16

very nice.
Re: Profile categories hack
by sarahmx on 2009/7/11 12:09:56

nice.....


should be implement in core IMHO

Profile categories hack
by deka87 on 2009/7/11 10:01:40

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

le="color: #000000"><?php <{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

le="color: #000000"><?php <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?

Who's Online

186 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 186


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits