Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pages are only 3 rows in Admin


surjer

Recommended Posts

Not sure why this is but I can only see about 3 rows at a time. SO if I have 30 products it creates 10 pages of 3.

 

I am going through the tax locations or countries and there is just TONS of pages. How do I make it display more rows per page in the admin area???

Link to comment
Share on other sites

Not sure why this is but I can only see about 3 rows at a time. SO if I have 30 products it creates 10 pages of 3.

 

I am going through the tax locations or countries and there is just TONS of pages. How do I make it display more rows per page in the admin area???

 

I think i need to define this variable somewhere.. - MAX_DISPLAY_SEARCH_RESULTS

Link to comment
Share on other sites

You're right.

 

One flaw ... osc uses the MAX_DISPLAY_SEARCH_RESULTS for both the catalog and the admin sides.

 

If you want separate control for admin run this sql:

 

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Max. Display Results per Page in Admin', 'MAX_DISPLAY_SEARCH_RESULTS_ADMIN', '12', 'Amount of items to list per page in Admin pages', '3', '', now());

 

Than in any admin files that you want to use the control per page amount:

 

Change all references from:

MAX_DISPLAY_SEARCH_RESULTS

 

To:

MAX_DISPLAY_SEARCH_RESULTS_ADMIN

 

You can set the max in admin->configuration->maximum values (change 12 to whatever you want)

 

----------------------------------------------------------

 

For admin/categories.php you can use this mod to if you like:

 

Mod: Admin Products Paging

 

Link:

http://www.oscommerce.com/community/contri...ch,Admin+Paging

 

 

Hope that helps you.

Link to comment
Share on other sites

You're right.

 

One flaw ... osc uses the MAX_DISPLAY_SEARCH_RESULTS for both the catalog and the admin sides.

 

If you want separate control for admin run this sql:

 

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Max. Display Results per Page in Admin', 'MAX_DISPLAY_SEARCH_RESULTS_ADMIN', '12', 'Amount of items to list per page in Admin pages', '3', '', now());

 

Than in any admin files that you want to use the control per page amount:

 

Change all references from:

MAX_DISPLAY_SEARCH_RESULTS

 

To:

MAX_DISPLAY_SEARCH_RESULTS_ADMIN

 

You can set the max in admin->configuration->maximum values (change 12 to whatever you want)

 

----------------------------------------------------------

 

For admin/categories.php you can use this mod to if you like:

 

Mod: Admin Products Paging

 

Link:

http://www.oscommerce.com/community/contri...ch,Admin+Paging

Hope that helps you.

 

Thanks a ton man - I just read your other post here..

 

http://www.oscommerce.com/forums/index.php?sho...;p=967669

 

Thats awesome! You really know ur stuff !!!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...