11
ops :)
for
xoops_version.phpreplace $modversion['config'][] = array(
'name' => 'format_order_by',
'title' => '_MI_PUBLISHER_ORDERBY',
'description' => '_MI_PUBLISHER_ORDERBYDSC',
'formtype' => 'select',
'valuetype' => 'text',
'options' => array(
_MI_PUBLISHER_ORDERBY_TITLE => 'title',
_MI_PUBLISHER_ORDERBY_DATE => 'date',
_MI_PUBLISHER_ORDERBY_WEIGHT => 'weight'),
'default' => 'date',
'category' => 'format'
);
with $modversion['config'][] = array(
'name' => 'format_order_by',
'title' => '_MI_PUBLISHER_ORDERBY',
'description' => '_MI_PUBLISHER_ORDERBYDSC',
'formtype' => 'select',
'valuetype' => 'text',
'options' => array(
_MI_PUBLISHER_ORDERBY_TITLE => 'title',
_MI_PUBLISHER_ORDERBY_DATE => 'date',
_MI_PUBLISHER_ORDERBY_RATING => 'rating',
_MI_PUBLISHER_ORDERBY_VOTES => 'votes',
_MI_PUBLISHER_ORDERBY_COMMENTS => 'comments',
_MI_PUBLISHER_ORDERBY_WEIGHT => 'weight'),
'default' => 'date',
'category' => 'format'
);
for older ver of publisher
include/functions.php
this:
function publisherGetOrderBy($sort)
must be:
function publisher_GetOrderBy($sort)