61
Anonymous
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/6/1 19:27

  • Anonymous

  • Posts: 0

  • Since:


Sorry another CSS fix

.modernbricksmenu2 a{
float: left;
display: block;
font: bold 11px Arial;
color: white;
text-decoration: none;
margin: 0 1px 0 0; /*Margin between each menu item*/
padding: 1px 10px 0px 10px;
background-color: black; /*Brown color theme*/
border-bottom: 1px solid white;
}

62
Anonymous
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/6/1 19:29

  • Anonymous

  • Posts: 0

  • Since:


I found bug regarding to block editing, tabbed blocks can't edit thier options from XOOPS block administration.

For example try to set the length of recent news to 100 from blocks administration, it will not change to 100 untill you set it from mytabs administration.

63
trabis
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/6/1 19:37

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

Mowaffak wrote:
I found bug regarding to block editing, tabbed blocks can't edit thier options from XOOPS block administration.

For example try to set the length of recent news to 100 from blocks administration, it will not change to 100 untill you set it from mytabs administration.


It is not a bug Mowaffak, sorry to disapoint you eheh!

In fact, my tabs clone the blocks so, changing original blocks will have any effect on my tabs blocks. My tabs blocks default settings are the ones provided by xoops_version of corresponding modules.

64
Anonymous
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/6/1 21:49

  • Anonymous

  • Posts: 0

  • Since:


No problem, I will try to catch another bug hehehe

65
Anonymous
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/6/2 12:57

  • Anonymous

  • Posts: 0

  • Since:


I got one

Array type options such as multiple selection not working in mytabs block settings.

Durgis and Marcan fix this error by this code but I don't know the right place inside mytabs .. should be in /admin/block.php or somewhere.

if ( isset($options) && (count($options) > 0) ) {
for ( 
$i 0$i count($options); $i++ ) {
if (
is_array($options[$i])) {
$options[$i] = implode(','$options[$i]);
}
}
$options implode('|'$options);
$myblock->setVar('options'$options);
}

66
trabis
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/6/2 13:06

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Nice bug!!!

Let me see, go to mytabs/admin/block.php and replace at line 29

if (isset($_POST['options'])){
            
$block->setVar('options'implode('|'$_POST['options']));
        }


with:
if ( isset($_POST['options']) && (count($_POST['options']) > 0) ) {
            
$options $_POST['options'];
            for ( 
$i 0$i count($options); $i++ ) {
                if (
is_array($options[$i])) {
                    
$options[$i] = implode(','$options[$i]);
                }
            }
            
$block->setVar('options'implode('|'$options));
        }


Thanks!

67
Anonymous
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/6/2 13:12

  • Anonymous

  • Posts: 0

  • Since:


Working .. thanks trabis

68
trabis
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/6/3 23:03

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


New version 2.0 alpha is out for testing!

http://code.google.com/p/xuups/downloads/list

Added custom blocks support and block positions inside tabs(left, center and right)

If anyone could help desinig css we would apreciate! Thanks.

Ps: XOOPS 2.2.x cannot be suported, to many diferences is block system, sorry.

69
Anonymous
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/6/4 3:59

  • Anonymous

  • Posts: 0

  • Since:


I made defualt css for mytabs, it is tested on ver 1.0 because ver 2.0 have same old bug in RC3 .. block content not showing.

Resized Image

I added new css classes and modify block layout, so all css files need to modify too.

70
cerbero
Re: My tabs 1.0 alpha is released for feature requests
  • 2008/6/4 10:26

  • cerbero

  • Not too shy to talk

  • Posts: 191

  • Since: 2003/9/11


testing version 2.0 alpha in XOOPS 2.0.16 give me the error twice:
WarningDivision by zero in file /modules/mytabs/blocks/mytabs_block.php line 88

and doesn't show anything in block
...

Login

Who's Online

203 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

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

Latest GitHub Commits