editing sub tabs in blocks!!!

Hi I am here with a question..

can any one please tell me how can i edit the "sub tabs" under every block... for example the Featured members block has tabs namely "latest, top, online".. where can i tweek these and make a change????

thanks in advance :)

Quote · 12 Feb 2010

BUMP ....

Been pulling my hair on these myself. Can't find 'em ... Frown

Quote · 4 Apr 2010

You can find them in templates/base/scripts/BxBaseIndexPageView.php

In getMembers() function around line no. 323

// top menu and sorting
$aModes = array('last', 'top', 'online');

Looking for Help? http://www.boonex.com/kevinmitnick
Quote · 4 Apr 2010

O have i question, hope related to this topic:  for the block Public Photos on the homepage, how i can set it (only that box) to show by default the TOP option?

I try to change here :

$aModes = array('last', 'top', 'rand', 'online');

$aDBTopMenu = array();

$sMode = (in_array($_GET[$sBlockName . 'Mode'], $aModes)) ? $_GET[$sBlockName . 'Mode'] : $sMode = 'top';

But in this way i change the order for the Featured Members and Members blocks... Not the Public Photos block.

I see in the admin.>builder>homepage the relative block is an php, and for what i understand that called the public photos, but i don't know how to change it...

Thank for any help...

...
Quote · 4 Apr 2010

My bad, I shouldn't have assumed that those are laid out just fine for everyone .... Embarassed

I'm looking for the file(s) where I can edit the color appearance of those text links, as well as the image that contains the word "latest" by default.

Quote · 4 Apr 2010

O have i question, hope related to this topic:  for the block Public Photos on the homepage, how i can set it (only that box) to show by default the TOP option?

I try to change here :

$aModes = array('last', 'top', 'rand', 'online');

$aDBTopMenu = array();

$sMode = (in_array($_GET[$sBlockName . 'Mode'], $aModes)) ? $_GET[$sBlockName . 'Mode'] : $sMode = 'top';

But in this way i change the order for the Featured Members and Members blocks... Not the Public Photos block.

I see in the admin.>builder>homepage the relative block is an php, and for what i understand that called the public photos, but i don't know how to change it...

Thank for any help...

you cant :) however you can set to show TOP to Photos Videos + Sound block
/templates/base/scripts/BxBaseSearchResult.php
around line 224 find this code


function clearFilters ($aPassParams = array(), $aPassJoins = array()) {
//clear sorting
$this->aCurrent['sorting'] = 'last';

Quote · 4 Apr 2010

O have i question, hope related to this topic:  for the block Public Photos on the homepage, how i can set it (only that box) to show by default the TOP option?

I try to change here :

$aModes = array('last', 'top', 'rand', 'online');

$aDBTopMenu = array();

$sMode = (in_array($_GET[$sBlockName . 'Mode'], $aModes)) ? $_GET[$sBlockName . 'Mode'] : $sMode = 'top';

But in this way i change the order for the Featured Members and Members blocks... Not the Public Photos block.

I see in the admin.>builder>homepage the relative block is an php, and for what i understand that called the public photos, but i don't know how to change it...

Thank for any help...

you cant :) however you can set to show TOP to Photos Videos + Sound block

:( ... so i lost hours to look in a lot of files for nothing?   I think is strange, why boonex did not give this options when they make it for others block?

I hope in the next release...

Thanks for the reply...

...
Quote · 4 Apr 2010

read again :)

yes you can  but it will also change the sorting order for photos-videos-sound to top

Quote · 4 Apr 2010

read again :)

yes you can  but it will also change the sorting order for photos-videos-sound to top

When i read your post was not the part of code... or i don't see it... :)

That's work !!

Thank you so much !

...
Quote · 4 Apr 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.