34 Posts
perrineco
2 years ago
0
Topic

Hello

I faced an issue with my search form inside a list. I needed to make some hacks in libraries/cck/base/list/list_inc.php to make it work

Actually there was an issue with the line 175 :

$post = ( $method ) ? JRequest::get( 'post' ) : JRequest::get( 'get' );

I replaced it by

$input = JFactory::getApplication()->input; and then before  line 344 (

if ( ( !$field->variation || $field->variation == 'form_filter' || $field->variation == 'form_filter_ajax' || $field->variation == 'list' || $field->variation == 'list_filter' || $field->variation == 'list_filter_ajax' || strpos( $field->variation, 'custom_' ) !== false ) && isset( $post[$name] ) ) {) I wrote

$post[$name]=$input->get($name);

I don't know if it 100% right. Can you tell me?

I don't know how to manage this hack when updating seblod...

Kind regards

perrine

Get a VIP membership