hi info.
Quote:
Working (in System Blocks area):
UPDATE newblocks SET options='0|5|0|12,10,8|0|0|block', isactive=1, title='More Spotlights', content='', side=8, weight=1, visible=1, c_type='H', template='smartsection_items_spot.html', bcachetime=0, last_modified=1256826349 WHERE bid=120
Not Working (in AltSys Blocks area):
UPDATE newblocks SET options='0|5|0|Array|0|0|block', isactive=1, title='More Spotlights', content='', side=8, weight=1, visible=1, c_type='', template='smartsection_items_spot.html', bcachetime=0, last_modified=1256826310 WHERE bid=120
It looks a new feature above X2.
(To pass arrays as the parameter)
I don't know any modules using the feature, try it.
line 452 in TRUST/libs/altsys/class/MyBlocksAdmin.class.php
if( is_array( $options ) && count( $options ) > 0 ) {
foreach( array_keys( $options ) as $key ) {
if( is_array( $options[ $key ] ) ) {
$options[ $key ] = implode( ',' , $options[ $key ] ) ;
}
}
$block->setVar( 'options' , implode( '|' , $options ) ) ;
}
If it works fine, I'll update it.