Osclass admin listing page – Change number of Listings
Locate File:
oc-admin/themes/modern/items/index.php
Locate the lines:
<select name="iDisplayLength" class="select-box-extra select-box-medium float-left" onchange="this.form.submit();" > <option value="10"><?php printf(__('%d Listings'), 10); ?></option> <option value="25" <?php if( Params::getParam('iDisplayLength') == 25 ) echo 'selected'; ?> ><?php printf(__('%d Listings'), 25); ?></option> <option value="50" <?php if( Params::getParam('iDisplayLength') == 50 ) echo 'selected'; ?> ><?php printf(__('%d Listings'), 50); ?></option> <option value="100" <?php if( Params::getParam('iDisplayLength') == 100 ) echo 'selected'; ?> ><?php printf(__('%d Listings'), 100); ?></option> </select>
Make it to:
<select name="iDisplayLength" class="select-box-extra select-box-medium float-left" onchange="this.form.submit();" > <option value="10"><?php printf(__('%d Listings'), 10); ?></option> <option value="25" <?php if( Params::getParam('iDisplayLength') == 25 ) echo 'selected'; ?> ><?php printf(__('%d Listings'), 25);?></option> <option value="50" <?php if( Params::getParam('iDisplayLength') == 50 ) echo 'selected'; ?> ><?php printf(__('%d Listings'), 50);?></option> <option value="100" <?php if( Params::getParam('iDisplayLength') == 100 ) echo 'selected'; ?> ><?php printf(__('%d Listings'), 100);?></option> <option value="500" <?php if( Params::getParam('iDisplayLength') == 500 ) echo 'selected'; ?> ><?php printf(__('%d Listings'), 500);?></option> <option value="1000" <?php if( Params::getParam('iDisplayLength') == 1000 ) echo 'selected'; ?> ><?php printf(__('%d Listings'), 1000); ?></option> <option value="5000" <?php if( Params::getParam('iDisplayLength') == 5000 ) echo 'selected'; ?> ><?php printf(__('%d Listings'), 5000); ?></option> <option value="10000" <?php if( Params::getParam('iDisplayLength') == 10000 ) echo 'selected'; ?> ><?php printf(__('%d Listings'), 10000); ?></option> </select>
You will find your options now.
Leave a Reply
You must be logged in to post a comment.