97 Posts
Anjo
9 years ago
3
Topic
Hi,
I would like to add more options to pagination select field in backend under configuration. at present it offers 1,2,3,4,5,6,7,8,9,10,12,15,20,25,30,50,100,All and I would like to add 200,300,400

I can't find the file that sets this up. I would appreciate someone pointing me in the right direction.
Thanks
Anjo
Get a Book for SEBLOD
693 Posts
rpoy
9 years ago
0
Level 1
Hi Anjo,

Maybe this will help...


Randy


97 Posts
Anjo
9 years ago
1
Level 1
Hi Randy,
If I understand the code on the link correctly it is only for joomla pagination 5,10,15,etc which doesn't affect seblod confi pagination which starts with 1,2,3,4,5,6,etc and I think it is a cck file setting up these option values. I've spent hours trying to find it so I can study the code but no luck as I am not really sure what to look for . Any help would be greatly appreciated.

Thanks
Anjo
693 Posts
rpoy
9 years ago
0
Level 2
Hi Anjo,

It appears that these options are stored in the database in the cck_core_fields table.  Search for Pagination in the title or name and you will find it.  Then the values are stored in the options field.
If you make any changes, you will have to update the \administrator\language\en-GB\en-GB.com_cck.ini file.
search for COM_CCK_100 and you should be able to add the fields.

Under the Global Configuration>SEBLOD the pagination dropdown is updated.

Test it on a testing site first - to make sure that it works...

thanks,

Randy

Get a VIP membership