Question about Sorting

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Question about Sorting

Postby saladinstg » Mon Aug 07, 2006 9:26 pm

I can't seem to figure this out or find an option that makes this possible, so I'll ask here.

My roster: http://www.thementorravages.com/roster

My question is, is it possible to have the roster's default sort as guild rank, but keep it as a solid table (like the DEFAULT SORT option) instead of spliting it into different tables like that? And if so, how do I do it?

Any help would be appreciated.

Thanks in advance.
saladinstg
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Fri Aug 04, 2006 6:54 pm

Question about Sorting

Postby zanix » Tue Aug 08, 2006 4:35 am

*sigh*

"Roster Config > Index Page"
http://www.wowroster.net/wiki/index.php ... Index_Page


Edit:
Sorry, didn't read it all the way

Keeping it in one table requires editing code
You need to edit the $FIELD[] arrays

For index.php
Lines 69-79
Code: Select all
if ( $roster_conf['index_title'] == )
{
    
$FIELD[] = array (
        
'guild_title' => array (
            
'lang_field' => 'title',
            
'divider' => true,
            
'order' => array( '`members`.`guild_rank` ASC' ),
            
'order_d' => array( '`members`.`guild_rank` DESC' ),
        ),
    );

Remove the line with
Code: Select all
'divider' => true


And if it has a 'divider_value' line
Remove that as well
Last edited by zanix on Tue Aug 08, 2006 4:39 am, edited 1 time in total.
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Question about Sorting

Postby saladinstg » Tue Aug 08, 2006 5:59 am

Muaha.

Thanks much for the help. Seems to be the way I want it now. :D
saladinstg
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Fri Aug 04, 2006 6:54 pm


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron