fotoprijs
Forum Replies Created
-
Hi Tobias and thank you for the quick response,
This is the test page:
http://www.fotoprijs.com/aluminium_belgie/?table_filter=70×70This is the code I use:
<h2>Kies formaat voor foto op Aluminium : </h2> [table id=AL01 /] <h2>Aluminium formaat [urlparam param="table_filter" default="Formaat" /] Vergelijken</h2> [table_filter id=AL02 /] [table filter="30x30" id=AL02 /] [table id=AL02 /]Both extensions are active
Table AL01 is shown,
table AL02 only shows when I use the standard [table id=AL02 /]It used to work perfectly before the update.
Kind Regards,
Sven
Hi Tobias,
My solution for future use :
I forgot 1 thing : [table_filter id=TEST ], I overlooked this part.
I added a line in you code (the && operator in URL is not possible),
1/ Allow character_ in the filter term
2/ Replace character_ with characters &&
and it works perfectly.
$filter_term = preg_replace( '#[^_a-z0-9 ]#i', '', $filter_term );
$filter_term = str_replace('_', '&&', $filter_term);
Kind Regards
Just rated your plugin
I’ll make a donation if I use it on my site 😉thank for the wonderful support so far
Hi Tobias,
I tried many different things, but it doesn’t seem to pick it up.
http://www.fotoprijs.com/test/?table_filter=20×30I kept it as simple as possible with a test page and a test table [table id=TEST], but it doesn’t seem to filter on the parameter
Kind Regards,
PS. If I wanted to use a second filter as well, what would be the best way ?
I’m thinking of making a copy of the plugin and alter it for a different filter e.g. Type_filterWow Tobias,
This is exactly what I was looking for !
(I must have overlooked it)Thanks a lot !