Filtering list problem with content plugin

dimoss

Well-Known Member
Hi

Using the info from the wiki article at: http://fabrikar.com/forums/index.php?wiki/content-plugin/#accessing-url-parameters I created an article adding the following:

Code:
{fabrik view=list id=17 fab_entries_na___assoc=[param1]}

where param1 taking values from 'fab_entries_na___assoc' element

However although I can see the full list with all the records, the URL filtering it doesn't work or I do something wrong

For example:
http://demo.alfaweb.gr/index.php?option=com_content&view=article&id=15&Itemid=155&param1=GRE
http://demo.alfaweb.gr/index.php?option=com_content&view=article&id=15&Itemid=155&param1=GER

return all records while it shouldn't

I have also tried to put single quotes with no success.
 
Finally it was my mistake as the element name was from another list by accident :-(
Thanks Troester!
 
@troester I fixed the problem in URL and now the list is working fine with the param1 as filtering as u can see at:

http://demo.alfaweb.gr/index.php?option=com_content&view=article&id=15&Itemid=155&param1=GRE
http://demo.alfaweb.gr/index.php?option=com_content&view=article&id=15&Itemid=155&param1=GER

However I discovered that param1 value is not passing when I want to print or to make pdf and the link is:

http://demo.alfaweb.gr/index.php?op...l=component&print=1&layout=default&Itemid=155

which returns nothing to print obviously because the &param1 value is missing.

Any idea how to fix this?

Thanks!
 
Yeah, we build the PDF link programatically, and don't add in random query string values from the loading page. Which is to be expected ... links generated on a page don't usually include anything from the query string of the page they are being built on.

We work round this in, for example, CSV export links, by having the "Additional Query String" setting in the CSV settings, which lets you tell Fabrik to include some additional stuff on the query string for the CSV export link.

I'd have to do the same for PDF, and add an "Additional Query String" option for PDF links.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Staff online

Members online

Back
Top