1
Zap_English
Publisher Category Count

How can I increase the category's displayed on the user side. The max is 50 and I have 81

XOOPS Version XOOPS 2.5.8.1
PHP Version 5.6.30
mySQL Version 5.5.5-10.1.21-MariaDB

with xBootstrap

2
ilsanto
Re: Publisher Category Count
  • 2017/2/5 15:24

  • ilsanto

  • Just popping in

  • Posts: 6

  • Since: 2002/3/2 1


modules ---> publisher ---> xoops_version.php
Around row 727 ---> 747

$modversion['config'][] = array(
    
'name'        => 'idxcat_perpage'
    
'title'       => '_MI_PUBLISHER_PERPAGE'
    
'description' => '_MI_PUBLISHER_PERPAGEDSC',
    
'formtype'    => 'select',
    
'valuetype'   => 'int',
    
'default'     => 15,
    
'options'     => array('5' => 5'10' => 10'15' => 15'20' => 20'25' => 25'30' => 30'50' => 50),
    
'category'    => 'indexcat'
);

$modversion['config'][] = array(
    
'name'        => 'idxcat_index_perpage'
    
'title'       => '_MI_PUBLISHER_PERPAGEINDEX'
    
'description' => '_MI_PUBLISHER_PERPAGEINDEXDSC',
    
'formtype'    => 'select',
    
'valuetype'   => 'int',
    
'default'     => 15,
    
'options'     => array('5' => 5'10' => 10'15' => 15'20' => 20'25' => 25'30' => 30'50' => 50),
    
'category'    => 'indexcat'
);


Add, in the row option, at the end, '100' => 100; save and set 100
in (Publisher ---> Preferences)
Maximum Categories per page (User side)?

'options'     => array('5' => 5'10' => 10'15' => 15'20' => 20'25' => 25'30' => 30'50' => 50'100' => 100),

3
Zap_English
Re: Publisher Category Count

Works great, thanks

doesn't look too nice with the xBootstrap theme but it's necessary

4
aerograf
Re: Publisher Category Count
  • 2017/2/8 12:01

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


The module as it was in the lexikon not work correctly redirect

Login

Who's Online

153 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 153


more...

Donat-O-Meter

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

Latest GitHub Commits