trash more than 100 items - how ?

More
8 years 5 months ago #58162 by geejay
Hello

I am trying to trash a thousand articles and it doesnt work. It seems that when "All" items is selected trash or bulk changes are not working. Anything over 100 doesnt seem to work.

How can set the limit up from 100 articles in the code, e.g. make an option for 500 items ?

Thank you!

Gerry

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #58173 by geejay
To trash more than 100 items patch at line 554
./libraries/cms/pagination/pagination.php
add
$limits[] = JHtml::_('select.option', '300', JText::_('J300'));

more than 300 do not seem to possible without further patches.

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #58176 by micker
OK we will study a solution thank for share

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #58180 by geejay
the main problem is that any trashes or batch changes are ignored when "All" items is selected.

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago - 8 years 5 months ago #58201 by ggppdk
Hello


yes selecting "ALL" may not work if you have a lot of items

- the form submission is limited by PHP variables:

max_input_vars
(and if you have suhosin patch on your server then add these too)
suhosin.post.max_vars
suhosin.request.max_vars



You can use in .htaccess

php_value max_input_vars 10000
(if you have suhosin patch on your server then add these too)
php_value suhosin.post.max_vars 10000
php_value suhosin.request.max_vars 10000

or in php.ini

max_input_vars=10000
(if you have suhosin patch on your server then add these too)
suhosin.post.max_vars=10000
suhosin.request.max_vars=10000


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #58221 by geejay
Thanks! That makes sense.
The variable was set to 2000.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.297 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline