does anyone know how to remove this, or set it to just one option, for a particular block
in this case, i want the profile photos block on the homepage to just be set to latest
without the visitors having the option of changing it to top or random.
is this possible?
|
Yes, that is possible. More places has to be edited. Do it with a dolphin coder support. ---- |
if you are running 6.1.1 or 6.1.2 then this is done from the admin panel. under settings and basic settings, you will see near the bottom of that page, index page settings. show members on index page, the dropdown allows for these settings:
random members:
online members:
latest members:
top members:
now exactly whether this works or not, is the better question, but the setting is there for this option.
later, DosDawg
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
thats just for members block though
not the others =p
i dont know if that works yet either, i mean i only have 2 members so far haha
so no matter what it shows them
|
in that case, you can create some mock up members to see if you are going to get the results you are looking for. then once you have several members who have signed up, you can drop those mock up members.
later, DosDawg
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
For index page this is
\templates\base\scripts\BxBaseIndex.php
..
look here to
return array( $ret, $aDBTopMenu, $aDBBottomMenu );
this is return with main content and navigation - next-prev
you can just comment it and type above or upper (as you want)
return $ret;
without array
|
The model code is shown above. That will help. ---- |
DosDawg, I notice that even in the latest 6.1.6 that this selector doesn't seem to work. Am I misunerstanding the "if enabled in the template" part? I switch to "random users" but the front page still loads with "Latest" selected.
|
If you want to remove this from all page blocks edit this file:
inc/classes/bxDolPageView.php
Find this function:
function getBlockCaptionItemCode( $iBlockID, $aLinks ){ ....}
Replace entire function with this:
function getBlockCaptionItemCode(){
$sCode = '<div class="dbTopMenu"></div>';
return $sCode;
}
This is a pretty rough hack, but it works.
|
Regards........ M.Chauhan U.K. |