List Manager Support

List Manager support
No se permite escribir sin estar logado. Por favor, login

Pre populating LM Search Box 23.01.2013 16:03

Great component! Love how flexible it is :)

Question about the Search within the header row. Is there an easy way to 'pre-populate' it with a search term?

I.E. take your example here:

How could we change it so the page comes up with 'wall' in the search box and then the results below. I know we could build a list view for each, but we have several dozen and also wanted to allow user to search for other results too.

See here:

Edited by moon_858 - 23.01.2013 16:03

Re: Pre populating LM Search Box 23.01.2013 18:22

in older versions we used to have a parameter which worked that way, setting a default search text for the field. When views were added, that parameter was deprecated. In order to get a default text filter being applied without creating views, you will have to introduce a code tweak. You can try this:


and about line 640 you will find // first submit . Comment the next submit line and add the lines below (replace [ and ] for lt and gt symbols, we paste it this way to avoid the forum strip the code).

// first submit

$('[?php echo $seed;?]filtertext').setProperty('value','ace');
filtraDatos[?php echo $seed;?]();

Hope this helps, regards
Moonsoft Team

Re: Pre populating LM Search Box 23.01.2013 18:47

Hey there, thanks for the quick reply :) Will play with it and report back. Thanks You!
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Lo que nuestros clientes opinan de nosotros